I realize this has been a reoccurring theme in the forums, but I have been unable to find the solution. I am using a model which relies on the output of one geoprocessing event before providing to the raster calculator. It is necessary to use in line variables as the model uses an iterator and produces outputs multiple times. Anyway it seems that the output 'End_Pts_%n%' is not allowed in the expression 'SetNull(~IsNull("%End_Pts_%n%%"), "%Least Cost Path%")' and produces an error. Is there a suitable syntax which will allow an inline variable in the raster calc expression?