Hi All:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
<o></o>
I have a code that names some cells and then places an IF statement in another cell to add up the 3 named cells This works fine when I have all 3 cells on the spreadsheet but there are not always IDENTIFIED or UNAPPLIED. If one of these are missing I get #NAME? in the cell containing the formula. Here is what I have:<o></o>
<o></o>
<o></o>
<o></o>
Hopefully I have explained well enough that someone understands...
Bye 4 Now,
Mark
<o></o>
I have a code that names some cells and then places an IF statement in another cell to add up the 3 named cells This works fine when I have all 3 cells on the spreadsheet but there are not always IDENTIFIED or UNAPPLIED. If one of these are missing I get #NAME? in the cell containing the formula. Here is what I have:<o></o>
<o></o>
Code:
<o:p></o:p>
Code:
[COLOR=black][FONT=Verdana]ActiveCell.Offset(3, 7).FormulaR1C1 = "=IF(Applied+Unapplied+Unidentified-Totals<>0,""Not Balanced"",""Balanced"")"<o:p></o:p>[/FONT][/COLOR]
<o></o>
Hopefully I have explained well enough that someone understands...
Bye 4 Now,
Mark
Last edited: