I have the following code
However this generates : =MAX(IF((@C3:C30=$AJ$4), F$3:F30))
It doesn't work unless I manually remove the symbol. Is there a way to stop it?
VBA Code:
.Range("aN4").formula = "=MAX(IF((C3:C" & rownumber & "=$Aj$4), F$3:F" & rownumber & "))"
However this generates : =MAX(IF((@C3:C30=$AJ$4), F$3:F30))
It doesn't work unless I manually remove the symbol. Is there a way to stop it?