View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teethless mama Teethless mama is offline
external usenet poster
 
Posts: 3,718
Default Nesting IF to correct #VALUE! Error Message

=IF(G4="RNC","RNC",IF(G4F4,F4-G4,"0"))


"JennE" wrote:

My current formula is:

=IF(G4F4,F4-G4,"0")

and it calculates correctly or displays a "0" if G4 is less than F4.

But I need help finding out what to add to this formula so that it displays
"RNC" if G4 equals RNC.

Please help, didn't sleep last night trying to think of the answer!