Thank you. However, this solution gives me the ANSWER for the second IF
statement, I want to insert the actual formula...do you know anyway to do
that?
If you mean that you want the cell to contain either the formula
=IF(A5=1,10,"") or =if(P27>5,"",0) then no, I know of no way of doing that.
If you mean that you want the cell to show the contained formula as text
then try