Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Brad Stevenson
 
Posts: n/a
Default IF function to blank without getting #value in sum function

I am trying to format an IF function to relay information from one cell to
the other. If I use the value of 0 (zero) in the "true if false" portion of
my function, then my SUM function for the row works fine... but I want the
cell to be blank if there is no info to relay. However, when I use the ""
for blank, then I get the #value figure in my SUM function.

The SUM function is from a worksheet which was formatted by someone else,
and I cannot change it. Is there a way to change the IF function to perform
a cell blank if false, but not to put the #value in my SUM function?

Thks.


  #2   Report Post  
Max
 
Posts: n/a
Default

Possibly, with your IFs set to return zeros instead of ""s, a simple way to
get a clean look would be just to suppress extraneous zeros from showing on
the sheet, via:
Click Tools Options View tab Uncheck "Zero values" OK
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Brad Stevenson" wrote in message
...
I am trying to format an IF function to relay information from one cell to
the other. If I use the value of 0 (zero) in the "true if false" portion

of
my function, then my SUM function for the row works fine... but I want the
cell to be blank if there is no info to relay. However, when I use the ""
for blank, then I get the #value figure in my SUM function.

The SUM function is from a worksheet which was formatted by someone else,
and I cannot change it. Is there a way to change the IF function to

perform
a cell blank if false, but not to put the #value in my SUM function?

Thks.




  #3   Report Post  
Brad Stevenson
 
Posts: n/a
Default

OK I feel dumb now.

Thanks Max!

Brad


"Max" wrote in message
...
Possibly, with your IFs set to return zeros instead of ""s, a simple way
to
get a clean look would be just to suppress extraneous zeros from showing
on
the sheet, via:
Click Tools Options View tab Uncheck "Zero values" OK
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Brad Stevenson" wrote in message
...
I am trying to format an IF function to relay information from one cell
to
the other. If I use the value of 0 (zero) in the "true if false" portion

of
my function, then my SUM function for the row works fine... but I want
the
cell to be blank if there is no info to relay. However, when I use the
""
for blank, then I get the #value figure in my SUM function.

The SUM function is from a worksheet which was formatted by someone else,
and I cannot change it. Is there a way to change the IF function to

perform
a cell blank if false, but not to put the #value in my SUM function?

Thks.






  #4   Report Post  
Max
 
Posts: n/a
Default

You're welcome, Brad !

OK I feel dumb now


LOL! I felt the same way, too, until I learnt about this and the other
10,000 or so things from the kind folks here in the excel newsgroups <g

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Brad Stevenson" wrote in message
...
OK I feel dumb now.

Thanks Max!

Brad



  #5   Report Post  
Biff
 
Posts: n/a
Default

Hi!

The SUM() function will ignore text so if you are using a formula that
returns formula blanks ("") it should work.

Is your sum function actually just something like this:

=A1+A2+A3+A4 ???

A formula like that above will return an error if there are text entries in
the range(which is what formula blanks are - TEXT)

If, as you say, you can't change it then a possible work around is to have
your other formula return zero and use conditional formatting to hide the
zero. Just set the font color to be the same as the fill color if the cell
value equals zero.

Biff

"Brad Stevenson" wrote in message
...
I am trying to format an IF function to relay information from one cell to
the other. If I use the value of 0 (zero) in the "true if false" portion
of my function, then my SUM function for the row works fine... but I want
the cell to be blank if there is no info to relay. However, when I use the
"" for blank, then I get the #value figure in my SUM function.

The SUM function is from a worksheet which was formatted by someone else,
and I cannot change it. Is there a way to change the IF function to
perform a cell blank if false, but not to put the #value in my SUM
function?

Thks.





  #6   Report Post  
Defoes Right Boot
 
Posts: n/a
Default

Another possibility is to use the ISERROR function and nest your original IF
function within another like this :

=IF(ISERROR(original IF function),"",original IF function)

This basically says "If the original IF function returns an error, return a
blank cell, otherwise return the value from the original IF function."

HTH

Phil

"Brad Stevenson" wrote:

I am trying to format an IF function to relay information from one cell to
the other. If I use the value of 0 (zero) in the "true if false" portion of
my function, then my SUM function for the row works fine... but I want the
cell to be blank if there is no info to relay. However, when I use the ""
for blank, then I get the #value figure in my SUM function.

The SUM function is from a worksheet which was formatted by someone else,
and I cannot change it. Is there a way to change the IF function to perform
a cell blank if false, but not to put the #value in my SUM function?

Thks.



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
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
What function can make cells shift up when they are blank? Julie Excel Worksheet Functions 0 March 26th 05 07:31 PM
If Function: Blank cell and 0 (zero) seem to have same "value" John F Excel Worksheet Functions 1 January 6th 05 04:46 PM


All times are GMT +1. The time now is 04:31 PM.

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"