Usually, if a recipe calls for coconut we simply go to the pantry and pull out a bag of shredded coconut. Pretty easy, huh? But if you've got fresh coconut on hand, and you know how to open a coconut you can always substitute with freshly shredded or grated coconut.