Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 10
Default error message "#VALUE!" due to blank cells

Hi All,

I am trying to have a spreadsheet where i check the delivery time on orders (attached a picture).
Essentially, it calculates the difference between the "Promised Date (A1)" and the "Atual Date (A2)" i.e. A1-A2
The problem is where is have blank cells with no information yet. then i get the nice error message "#VALUE!"

Can anyone help in having these cells show nothing instead of the error message?

Thank you!
Attached Images
 
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by Dorian74 View Post
Hi All,

I am trying to have a spreadsheet where i check the delivery time on orders (attached a picture).
Essentially, it calculates the difference between the "Promised Date (A1)" and the "Atual Date (A2)" i.e. A1-A2
The problem is where is have blank cells with no information yet. then i get the nice error message "#VALUE!"

Can anyone help in having these cells show nothing instead of the error message?

Thank you!
I think you may have got the cells in your formula above wrong. A1 looks like a header cell rather than one that contains a date.

It's simple enough to make the error message not show using:

=IF(promised_date="","",promised_date-actual_date)

and just swap promised_date and actual_date with the correct cell refs and copy down.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 621
Default error message "#VALUE!" due to blank cells

Are the cells really empty?

Maybe they have spaces in them?

When you hover over the error-checking arrows do you get a message?

What happens when you clear those cells?


Gord

On Wed, 4 Apr 2012 15:17:35 +0000, Dorian74
wrote:


Hi All,

I am trying to have a spreadsheet where i check the delivery time on
orders (attached a picture).
Essentially, it calculates the difference between the "Promised Date
(A1)" and the "Atual Date (A2)" i.e. A1-A2
The problem is where is have blank cells with no information yet. then i
get the nice error message "#VALUE!"

Can anyone help in having these cells show nothing instead of the error
message?

Thank you!


+-------------------------------------------------------------------+
|Filename: PO Date.JPG |
|Download: http://www.excelbanter.com/attachment.php?attachmentid=318|
+-------------------------------------------------------------------+

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 259
Default error message "#VALUE!" due to blank cells

Hi

Try this

=IF(A1="","",B1-A1)

change ranges to suit

HTH
Mick.
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 829
Default error message "#VALUE!" due to blank cells

"Dorian74" wrote:
I am trying to have a spreadsheet where i check
the delivery time on orders (attached a picture).


For future reference, images that only duplicate what you describe in
English is usually useless.

What we need to know a formulas, cell values, etc.

But in this case, the problem is "obvious" -- or so it would seem.


"Dorian74" wrote:
Essentially, it calculates the difference between
the "Promised Date (A1)" and the "Atual Date (A2)"
i.e. A1-A2
The problem is where is have blank cells with no
information yet. then i get the nice error message
"#VALUE!"
Can anyone help in having these cells show nothing
instead of the error message?


That cells that __appear__ blank probably are not "empty" (no constant and
no formula).

Instead, probably (hopefully) their value is the null string ("").
Alternatively, their value might strings of spaces or non-breaking spaces
(HTML &nbsp).

In either case, the following should avoid the #VALUE error:

=IF(COUNT(A1,A2)<2,"",A1-A2)

formatted as General or Number to avoid a "negative date" error in the case
when "Actual" is later than "Promised".

Thus, the cell will __appear__ blank unless A1 and A2 have numeric values,
in this case Excel dates. In that case, the value is the null string ("").



  #6   Report Post  
Junior Member
 
Posts: 10
Thumbs up

Quote:
Originally Posted by Spencer101 View Post
I think you may have got the cells in your formula above wrong. A1 looks like a header cell rather than one that contains a date.

It's simple enough to make the error message not show using:

=IF(promised_date="","",promised_date-actual_date)

and just swap promised_date and actual_date with the correct cell refs and copy down.
Thank you for the answer. that did the trick.
Reply
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
what does error message "too many adjustable cells" mean in solver dee Excel Discussion (Misc queries) 1 August 27th 09 03:43 AM
Error message "cannot shift nonblank cells off the worksheet" CDelphi Excel Discussion (Misc queries) 2 June 15th 09 06:24 AM
Display message if "find" command comes up blank ?? [email protected] Excel Programming 5 September 27th 07 08:10 PM
Error Message "Runtime error '13' Type mismatch" Chris Excel Programming 4 November 15th 06 05:21 PM
Adding more than 3 cells (2003)produces "0" but no error message garden girl Excel Worksheet Functions 4 August 30th 06 02:11 PM


All times are GMT +1. The time now is 08:30 PM.

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

About Us

"It's about Microsoft Excel"