A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

#Value Being Returned for Blank or Non Zero Value



 
 
Thread Tools Display Modes
  #1  
Old November 11th, 2007, 08:05 PM posted to microsoft.public.excel.worksheet.functions
Jack
external usenet poster
 
Posts: 6
Default #Value Being Returned for Blank or Non Zero Value

I am referring to a cell in my spreadsheet that currently has no value
associated to it. I have a formula in the cell that refers back to another
cell. For example in cell F40 there is a calculation of =H40. In cell H40 I
have =G40*F39.

G40 and F39 are both blank. When I enter data into the spreadsheet these
cells will then be populated/calculate from the previously entered data.

Cell F39 is returning #VALUE. Is there a way for me to have this field
return a blank, if the value it's referring to is zero or blank?


  #2  
Old November 11th, 2007, 09:19 PM posted to microsoft.public.excel.worksheet.functions
Pete_UK
external usenet poster
 
Posts: 8,780
Default #Value Being Returned for Blank or Non Zero Value

Change your formula in F39 to this:

=IF(ISERROR(your_formula),0,your_formula)

Hope this helps.

Pete

On Nov 11, 8:05 pm, "Jack" wrote:
I am referring to a cell in my spreadsheet that currently has no value
associated to it. I have a formula in the cell that refers back to another
cell. For example in cell F40 there is a calculation of =H40. In cell H40 I
have =G40*F39.

G40 and F39 are both blank. When I enter data into the spreadsheet these
cells will then be populated/calculate from the previously entered data.

Cell F39 is returning #VALUE. Is there a way for me to have this field
return a blank, if the value it's referring to is zero or blank?



  #3  
Old November 11th, 2007, 09:24 PM posted to microsoft.public.excel.worksheet.functions
RagDyeR
external usenet poster
 
Posts: 3,482
Default #Value Being Returned for Blank or Non Zero Value

What's in G40 and F39?

You say they're *both blank*, but F39 is returning a #Value! error!
How can it be *both ways*?
Do they contain formulas?
A #Value! error can come from a formula performing calcs on a cell
containing text.

--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Jack" wrote in message
...
I am referring to a cell in my spreadsheet that currently has no value
associated to it. I have a formula in the cell that refers back to another
cell. For example in cell F40 there is a calculation of =H40. In cell H40

I
have =G40*F39.

G40 and F39 are both blank. When I enter data into the spreadsheet these
cells will then be populated/calculate from the previously entered data.

Cell F39 is returning #VALUE. Is there a way for me to have this field
return a blank, if the value it's referring to is zero or blank?



  #4  
Old November 11th, 2007, 09:38 PM posted to microsoft.public.excel.worksheet.functions
Gord Dibben
external usenet poster
 
Posts: 20,252
Default #Value Being Returned for Blank or Non Zero Value

My take is the reference to F39 returning #VALUE! is that the F39 is a typo and
should read F40 returns #VALUE!

Possibly a space in blank cells F39 or G40 so the formula in H40 should return
#VALUE! also.


Gord Dibben MS Excel MVP

On Sun, 11 Nov 2007 13:24:41 -0800, "Ragdyer" wrote:

What's in G40 and F39?

You say they're *both blank*, but F39 is returning a #Value! error!
How can it be *both ways*?
Do they contain formulas?
A #Value! error can come from a formula performing calcs on a cell
containing text.


  #5  
Old November 11th, 2007, 10:30 PM posted to microsoft.public.excel.worksheet.functions
RagDyeR
external usenet poster
 
Posts: 3,482
Default #Value Being Returned for Blank or Non Zero Value

Let's see if Jack gets back.g
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Gord Dibben" gorddibbATshawDOTca wrote in message
...
My take is the reference to F39 returning #VALUE! is that the F39 is a

typo and
should read F40 returns #VALUE!

Possibly a space in blank cells F39 or G40 so the formula in H40 should

return
#VALUE! also.


Gord Dibben MS Excel MVP

On Sun, 11 Nov 2007 13:24:41 -0800, "Ragdyer"

wrote:

What's in G40 and F39?

You say they're *both blank*, but F39 is returning a #Value! error!
How can it be *both ways*?
Do they contain formulas?
A #Value! error can come from a formula performing calcs on a cell
containing text.



  #6  
Old November 12th, 2007, 01:55 AM posted to microsoft.public.excel.worksheet.functions
joeu2004
external usenet poster
 
Posts: 1,748
Default #Value Being Returned for Blank or Non Zero Value

On Nov 11, 12:05 pm, "Jack" wrote:
For example in cell F40 there is a calculation of =H40. In cell H40 I
have =G40*F39.

G40 and F39 are both blank. When I enter data into the spreadsheet these
cells will then be populated/calculate from the previously entered data.

Cell F39 is returning #VALUE. Is there a way for me to have this field
return a blank, if the value it's referring to is zero or blank?


First, you say F39 is blank; then you say F39 is #VALUE. Which is it?

Regardless, to answer your last question, perhaps the N() function
satisfies your needs. You might use it one of two ways. For example:

=n(G40)*n(F39)

Or:

=if(n(H39)=0, "", H39)

On problem in Excel is: an empty cell is treated like zero, but the
null string ("", which looks like an empty cell) is not. I wonder if
that is the source of your #VALUE error. If so, the examples above
will mitigate that.


  #7  
Old November 12th, 2007, 06:23 AM posted to microsoft.public.excel.worksheet.functions
Jack
external usenet poster
 
Posts: 6
Default #Value Being Returned for Blank or Non Zero Value


"Pete_UK" wrote in message
ups.com...
Change your formula in F39 to this:

=IF(ISERROR(your_formula),0,your_formula)

Hope this helps.

Pete


Pete, I modified your formula slightly
=IF(ISERROR(F39*G40),"",(F39*G40))
and got the effect that I wanted. Thanks for your help.


  #8  
Old November 12th, 2007, 06:27 AM posted to microsoft.public.excel.worksheet.functions
Jack
external usenet poster
 
Posts: 6
Default #Value Being Returned for Blank or Non Zero Value


"Ragdyer" wrote in message
...
What's in G40 and F39?

You say they're *both blank*, but F39 is returning a #Value! error!
How can it be *both ways*?
Do they contain formulas?
A #Value! error can come from a formula performing calcs on a cell
containing text.

--
Regards,

RD


G40 is my the tax rate of 7.375% and F39 is
=IF(SUM(F18:F38)0,SUM(F18:F38),"")

What I am doing is multiply my tax rate times the subtotal. If the
spreadsheet is blank without any values, then it WAS returning a #value!
error message. I have since cleaned up the formula in cell F40 with this
formula:
=IF(ISERROR(F39*G40),"",(F39*G40))




  #9  
Old November 12th, 2007, 09:06 AM posted to microsoft.public.excel.worksheet.functions
Pete_UK
external usenet poster
 
Posts: 8,780
Default #Value Being Returned for Blank or Non Zero Value

You're welcome.

Pete

On Nov 12, 6:23 am, "Jack" wrote:

Pete, I modified your formula slightly
=IF(ISERROR(F39*G40),"",(F39*G40))
and got the effect that I wanted. Thanks for your help.



  #10  
Old November 12th, 2007, 05:09 PM posted to microsoft.public.excel.worksheet.functions
RagDyeR
external usenet poster
 
Posts: 3,482
Default #Value Being Returned for Blank or Non Zero Value

Appreciate the feed-back.

Most folks leave the responders hanging.g
--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"Jack" wrote in message
...

"Ragdyer" wrote in message
...
What's in G40 and F39?

You say they're *both blank*, but F39 is returning a #Value! error!
How can it be *both ways*?
Do they contain formulas?
A #Value! error can come from a formula performing calcs on a cell
containing text.

--
Regards,

RD


G40 is my the tax rate of 7.375% and F39 is
=IF(SUM(F18:F38)0,SUM(F18:F38),"")

What I am doing is multiply my tax rate times the subtotal. If the
spreadsheet is blank without any values, then it WAS returning a #value!
error message. I have since cleaned up the formula in cell F40 with this
formula:
=IF(ISERROR(F39*G40),"",(F39*G40))





 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:00 PM.


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