Hi Ben,
Try:
Selection.Formula = "=IF(G4=""C"",L4-F4,0)"
That should do the trick!
Good luck!
Leonidas
--
leonidas
------------------------------------------------------------------------
leonidas's Profile:
http://www.excelforum.com/member.php...o&userid=35375
View this thread:
http://www.excelforum.com/showthread...hreadid=574256