LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default #VALUE error with empty cells

To start with, you don't need SUM(); SUM(F2-R2) gives exactly the same as
F2-R2.

If you are getting a #VALUE error the cells are presumably not empty, but
contain strings (perhaps just spaces?).
You might want to try
=IF(COUNT(F2,R2)=2,F2-R2,"")
--
David Biddulph

"adriver" wrote in message
...
I am building a log that calculates the amount of time between a doc is
received, and when it is finished with review. When the "date in" and
"date
out" cells are populated, the calculation works fine, but when both cells
are
empty, a #VALUE error is returned, and the boss hates it. Based on a
prior
thread here I've tried
=IF(OR(F2="",R2=""),"",SUM(F2-R2)) but it's not working out.

Please help!



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
#Empty error Alan P Excel Discussion (Misc queries) 2 October 5th 06 02:37 PM
remove error value when formula exists for empty cells Cyrus Excel Worksheet Functions 2 February 17th 06 04:19 PM
Excel - Autom. Filter "Empty / Non Empty cells" should come first Rom Excel Discussion (Misc queries) 0 August 10th 05 04:32 PM
When I SUM cells & 1 is empty I need the result to be empty not 0 Maribel Excel Discussion (Misc queries) 1 August 2nd 05 12:49 AM
How can I convert empty strings to empty cells? Shane Excel Discussion (Misc queries) 2 July 19th 05 12:10 PM


All times are GMT +1. The time now is 09:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"