Happy weekend everyone!
I am trying to make a formula that does this;
Sum up A1 and A2 AND A3
If: A1 OR A2 OR A3 is "", olny sum the ones that are a number value.
Anyone?
in formula; =If(a1 or a2 or a3="";ONLY SUM UP THE ONES THAT ARE NOT "".
Happy weekend everyone!
I am trying to make a formula that does this;
Sum up A1 and A2 AND A3
If: A1 OR A2 OR A3 is "", olny sum the ones that are a number value.
Anyone?
in formula; =If(a1 or a2 or a3="";ONLY SUM UP THE ONES THAT ARE NOT "".
Last edited by abrunstad; 02-28-2009 at 11:41 AM. Reason: More descriptive topic
=SUM(A1:A3) will sum the values in the cells if the cells are blank then zero
oldchippy
-------------
Blessed are those who can give without remembering and take without forgetting
If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.
Click here >>> Top Excel links for beginners to Experts
Forum Rules >>>Please don't forget to read these
Yes, i know, but you see I have the A1, A2, A3 returning a value "" so that they are hidden and not showing the 0, but appear as blank.
What are the formula's in A1, A2, A3
Please see the cell B35 for an illustration of the problem.
this is in sheet "produksjonsplan".
Andreas.
Here's one way
=IF(B34="",B33,B33+B34)
Last edited by oldchippy; 02-28-2009 at 12:06 PM.
=SUM(B33:B34) and =SUM(D33:D34) works just fine i cant see any problem!
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
I found out that the problem occur if I set the cell to =A1+A2+A3.
And then, it works fine when i set =Sum(A1:A3)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks