Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default Return an empty cell instead of "VALUE"

I am trying to figure out how to return an empty cell with the
following formula:

=IF(A9870,ABS(A987-B987)*10000,"")

It turns out that if A987<0, I get "VALUE" as an answer instead of
leaving the cell blank, because understandably 0-0=0. How could I
touch up the formula to leave the cell empty?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Return an empty cell instead of "VALUE"

It's not that A987 is less than 0. That won't cause any trouble with your
formula.

Look at A987 and B987 and make sure that they are both numbers.

Select each cell and format each as General (or anything but Text).
Then select each cell and hit F2 followed by enter to make sure that excel sees
those cells as numbers.



rhhince wrote:

I am trying to figure out how to return an empty cell with the
following formula:

=IF(A9870,ABS(A987-B987)*10000,"")

It turns out that if A987<0, I get "VALUE" as an answer instead of
leaving the cell blank, because understandably 0-0=0. How could I
touch up the formula to leave the cell empty?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Return an empty cell instead of "VALUE"

=IF(ISERROR(ABS(A1-B1)*10000),"",ABS(A1-B1)*10000)


"rhhince" wrote:

I am trying to figure out how to return an empty cell with the
following formula:

=IF(A9870,ABS(A987-B987)*10000,"")

It turns out that if A987<0, I get "VALUE" as an answer instead of
leaving the cell blank, because understandably 0-0=0. How could I
touch up the formula to leave the cell empty?


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
Can IF function return an empty cell? (not "") mtnw Excel Worksheet Functions 1 January 10th 07 11:01 PM
Disabling "wrap text" neuters alt-return line feeds within cell [email protected] Excel Discussion (Misc queries) 2 August 21st 06 04:49 PM
Excel: can "go to adjacent empty cell" double-click be disabled? dgg2006 Excel Discussion (Misc queries) 1 April 8th 06 04:51 AM
Complex if test program possible? If "value" "value", paste "value" in another cell? jseabold Excel Discussion (Misc queries) 1 January 30th 06 10:01 PM
a formula that leaves cell "empty"? sarahmross Excel Worksheet Functions 6 November 11th 05 06:17 AM


All times are GMT +1. The time now is 12:19 AM.

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"