Time data not read as time format

mayday1

Board Regular
Joined
Oct 5, 2007
Messages
241
I inherited an Excel 2007 file that has a column of times in hh:mm:ss format. At least that's the way it appears. If I click on one of the cells and look at format it shows its in 37:30:55 format. But, I can't add up the times. A =SUM of all the cells in the column shows to be 0:00:00. What makes it weirder is that if I click on a cell and then click on the value of the cell in the formula bar then hit enter, the cell is now treated as a time and I can sum up the times. I don't want to do that for 20,000 rows. How can I get all othe cells to add up and what might be causing this?
Thank you
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Try this: select the times, Data > Text to Columns, tick Delimited and click Finish.
 
Upvote 0
Does this work?

=SUM(A1:A10+0)

This needs to be confirmed with control+shift+enter. If so then they are not formatted as a number and you may need to just select the column and either use data-->text to columns to convert them to numbers or there may be a little exclamation point drop down that comes up allowing you to change them.

Hope that helps.
 
Upvote 0
Try this: select the times, Data > Text to Columns, tick Delimited and click Finish.


This worked. Thank you very much.
Do you know why I had to do this?
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,758
Members
452,940
Latest member
rootytrip

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