If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Error Handling

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-25-04, 10:41
tjarvas tjarvas is offline
Registered User
 
Join Date: Mar 2004
Posts: 361
Error Handling

I have written this function =SUMIF(Man!AB1:AB99,"2000911 C2 Cab",Man!$S$1:$S$100)/C64 which works when there is data involved on the other worksheets. How can I return the value of 0 if there is not data that matches my criteria?

Thanks a bunch
Reply With Quote
  #2 (permalink)  
Old 03-30-04, 10:46
Mowgli212001 Mowgli212001 is offline
Registered User
 
Join Date: Feb 2004
Location: Swindon, UK
Posts: 86
try this

=IF(SUMIF(Man!AB1:AB99,"2000911 C2 Cab",Man!$S$1:$S$100)/C64="",0,SUMIF(Man!AB1:AB99,"2000911 C2 Cab",Man!$S$1:$S$100)/C64)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On