Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default What is causing a #Value!

I have several cells that appear to be empty. If I run the below formula on
them, some will return blank (which is what I want them to do, but others
return #Value!
It appears to be the O column, as if I take the vale from an empty "O" that
is OK, and then paste it in to a broken "O", then it returns a blank.

How can I correct this?
Do I need to correct the data? If so, how? or do I rewrite the formula to
"trap" the error? I have another formual that works against this cell, and
if the error is here, I then get a error in the other formula.

=IF(ISBLANK(O4),"",O4+TIME(G4,0,0))


Thanks
Phil


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default What is causing a #Value!

Hi Phil,

I'm guessing you have one or more spaces in the cell. Trying to add a
number to a text string will give you the #VALUE! error.

One way to get around this is to make sure O4 is a number:

=IF(NOT(ISNUMBER(O4)),"",O4+TIME(G4,0,0))

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]


Phillips wrote:
I have several cells that appear to be empty. If I run the below
formula on them, some will return blank (which is what I want them to
do, but others return #Value!
It appears to be the O column, as if I take the vale from an empty
"O" that is OK, and then paste it in to a broken "O", then it returns
a blank.

How can I correct this?
Do I need to correct the data? If so, how? or do I rewrite the
formula to "trap" the error? I have another formual that works
against this cell, and if the error is here, I then get a error in
the other formula.

=IF(ISBLANK(O4),"",O4+TIME(G4,0,0))


Thanks
Phil


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's causing error message? Jim Tibbetts Excel Worksheet Functions 4 November 12th 08 06:13 PM
imported data causing row deletion Cyberbiker Excel Discussion (Misc queries) 2 October 10th 07 03:46 PM
Rand () causing Problems. JCary Excel Discussion (Misc queries) 1 March 6th 06 10:38 PM
Add-in causing 'GHOST' cells to be selected jason Excel Programming 1 September 15th 03 11:50 PM
Excel causing Berny Excel Programming 1 August 14th 03 01:09 PM


All times are GMT +1. The time now is 03:48 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"