Adding Values with Formulas Attached

sully2

Board Regular
Joined
Jan 27, 2013
Messages
78
Hi and thank you in advance, I have a small table where in cell "G3" I have values eg; 45. In "H3" I have a formula -

=IF(G3=45,"50",IF(G3=60,"70",IF(G3=90,"100",IF(G3=120,"130",IF(G3="","")))))

so this formula is in "H3-H10", in "H11" I want to add all the values from "H3-H10", however after I have put in the formula in H11 -

=Sum(H3:H10) the cell remains blank, is it possible to achieve what I am trying to do (add from H3 to H10 to get a total amount in H11)? Or is it impossible to add cell values when there is a formula within that cell that produces a value?
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
=IF(G3=45,"50",IF(G3=60,"70",IF(G3=90,"100",IF(G3=120,"130",IF(G3="","")))))

The sum isnt working because you've converted 50,70,100,130 to text by using " ", simply remove the "" and it'll convert the result to numbers instead of saving the result as text.

Hope this helps.

Regards,

Mohit
 
Upvote 0
SUM ignores text, as mentioned by Mohit.

FYI.
Excel Basic – Sum vs. “+” | wmfexcel


Hi and thank you in advance, I have a small table where in cell "G3" I have values eg; 45. In "H3" I have a formula -

=IF(G3=45,"50",IF(G3=60,"70",IF(G3=90,"100",IF(G3=120,"130",IF(G3="","")))))

so this formula is in "H3-H10", in "H11" I want to add all the values from "H3-H10", however after I have put in the formula in H11 -

=Sum(H3:H10) the cell remains blank, is it possible to achieve what I am trying to do (add from H3 to H10 to get a total amount in H11)? Or is it impossible to add cell values when there is a formula within that cell that produces a value?
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,432
Members
448,961
Latest member
nzskater

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top