View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Chris Hankin[_4_] Chris Hankin[_4_] is offline
external usenet poster
 
Posts: 56
Default Excel 2003 Suppressing Errors

Hello,

The following function works fine, however, if there are no dates
populated into my spreadsheet, the resultant cells in column H show the:
#VALUE! error.

=+IF(AND($B$1-G3<-24,$B$1-G3-31),"D",IF($B$1-G3<0,"C",IF($B$1-G3=0,"E"
," ")))

Could someone please advise on how I can suppress this error using an
Excel function such as ISERROR or ISBLANK?

Any help would be greatly appreciated.

Kind regards,

Chris.

*** Sent via Developersdex http://www.developersdex.com ***