#VALUE! in cell

D

datub

My formula is =SUM(B8:C8)*G8 where either B8 or C8 will always =0. How do I
not get this value" #VALUE!" when the cells are not in use?
 
P

Pete_UK

Perhaps you have a formula in B8 or C8 that returns "0" rather than 0.
Note the first of these is a text value and this will give you the
#VALUE error if you try to use it with arithmetic. Or, it could be
that a formula in G8 is returning a number enclosed within quotes, and
again this is a text value and will give that error.

Only you know what formulae you have, as you have not shared those
with us.

Note that you don't really need the SUM in this case - you could write
your formula as:

=(B8+C8)*G8

Hope this helps.

Pete
 
T

Tom Hutchins

Empty cells won't cause a #VALUE error with this formula. You should only get
a #VALUE error if any of the cells (B8, C8, or G8) has a formula that
evaluates to #VALUE, or if G8 contains text (a non-numerical value).

Hope this helps,

Hutch
 
J

Jacob Skaria

Should not return error unless there are text values in those cells. Try

=IF(ISERROR((B8+C8)*G8),"",(B8+C8)*G8)
 
M

Ms-Exl-Learner

You will get the "#VALUE!" Error when G8 cell is having any Text String. The
=SUM(B8:C8) will not get the "#VALUE!" error.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top