Custom Formatted Cells Not Adding Correctly

Disarmonious

Board Regular
Joined
Oct 31, 2016
Messages
139
I have a row of cells (separated by one blank cell each) that are custom formatted to '00\:00'. Cell I279 is the "sum" cell that sums/adds these cells. This cell's format is '[m]:ss' and its formula is =SUM(TEXT(I273+I275+I277,"00\:00")/60). Maybe someone can explain why the "sum" cell flakes out, and returns an error "#VALUE!" after I've entered "16513" (165:13) in cell I273, "15323" (153:23) in cell I275, and then "20750" (207:50) in cell I277!???

This seems to be something to do with the actual sequence of numbers entered? This doesn't have a problem if I type the numbers "10000" for 100:00 into this cell, but when I type what I need, it's not working! Please help me better understand what's going on here, thank you.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
The problem is how you are using SUM in conjunction with TEXT.
The TEXT function does exactly what it sounds like - converts values to text. You cannot sum up text values, only numeric ones.

If you are manually adding the values in your formula like I273+I275+I277, then the SUM function serves no purpose, so get rid of it.
You would use SUM to sum a range of cells, like: =SUM(I1:I100)
If you are physically adding them with a "+", you do not need the SUM function. You only need one or other, not both.

And you do not want to apply the TEXT function until after you have completed your mathematical functions, since you cannot do math functions on text.
So I think you want something like:
Code:
[COLOR=#333333]=TEXT((I273+I275+I277)/60,"00\:00")[/COLOR]
 
Last edited:
Upvote 0
You are welcome.
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,895
Members
449,097
Latest member
dbomb1414

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