Sum function returning 0

EBoudreau

Board Regular
Joined
Aug 21, 2015
Messages
153
I have a spread sheet where I'm trying to get a calculation of a sum of two cells where their data is referenced from two other sheets. And I'm getting 0 as a result.

What I'm trying to do is:
in cell R10, I want R10 to =SUM(O10:O11). It should =80 but it's not. Formatting is the same on all the cells.

Those two cells are referencing two other sheets. Not sure if that matters.
Cell O10 ='Week (1)'!I22
Cell O11 ='Week (2)'!I22

I may need a little guidance as to why that is not calculating properly.

Cell Formulas
RangeFormula
O10O10='Week (1)'!I22
P10P10='Week (1)'!I23
Q18:S18,Q16:S16,Q14:S14,Q12:S12,Q10:S10Q10=SUM(N10:N11)
O11O11='Week (2)'!I22
P11P11='Week (2)'!I23
O12O12='Week (3)'!I22
P12P12='Week (3)'!I23
O13O13='Week (4)'!$I$22
P13P13='Week (4)'!I23
O14O14='Week (5)'!$I$22
P14P14='Week (5)'!I23
O15O15='Week (6)'!$I$22
P15P15='Week (6)'!I23
O16O16='Week (7)'!$I$22
P16P16='Week (7)'!I23
O17O17='Week (8)'!$I$22
P17P17='Week (8)'!I23
O18O18='Week (9)'!$I$22
P18P18='Week (9)'!I23
O19O19='Week (10)'!$I$22
P19P19='Week (10)'!I23
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Are you sure the values in the cells are values and not text? If you do a ISNUMBER the cells does it return true (it is a number) or False (it is not a number)?

If it is text doing a math function will turn it into a value so you can +0 to it and get a number.
 
Upvote 0
Are you sure the values in the cells are values and not text? If you do a ISNUMBER the cells does it return true (it is a number) or False (it is not a number)?

If it is text doing a math function will turn it into a value so you can +0 to it and get a number.
Would I verify that by formatting the cells and Number 0.00 for example? How would I do a ISNUMBER?

UPDATE: I did just do the ISNUMBER and the two cells I'm trying to sum together are false. How do I convert them to a number?

UPDATE: I got it figured. Turning Cell O10 ='Week (1)'!I22+0 made it a number.
THank you very much for the insight.
 
Last edited:
Upvote 0
To check both of the you use these 2 formulas.
Excel Formula:
=ISNUMBER(O10) 
=ISNUMBER(O11)
 
Upvote 0
Solution
To check both of the you use these 2 formulas.
Excel Formula:
=ISNUMBER(O10)
=ISNUMBER(O11)
Thank you very much for the assistance. That cleared it all up for me. I went through the rest of my spreadsheet and found all sorts of cells further down that same column and the OT column as well that were FALSE. Makes sense why my spreadsheet wasn't working very well at all!
 
Upvote 0
You shouldn't need to use extra cells to add 0 in order to convert them to proper numbers.

Type 0 into any empty cell, then copy that cell and pastespecial > add to the cells that need to be converted.
 
Upvote 0
When building your sheet you should, at first, NEVER manually align column contents. A numbers are right-aligned, and text left-aligned, you can spot the problem immediately.
 
Upvote 0

Forum statistics

Threads
1,214,922
Messages
6,122,281
Members
449,075
Latest member
staticfluids

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