Adding custon time data

ma365

New Member
Joined
May 23, 2011
Messages
1
Hi,

I have a column with time data in it. The format is HH:MM:SS.00

I'd like to sum value of all the data in the column.

If I manually add data in the column Excel provides the correct result.

e.g =(A1+A2+A3) This works.

If I use the built in SUM function it does not work.

e.g =SUM(A1:A3) This always gives 00:00:00.0 regardless of the values in the rows.

There are thousands of rows in the column making it inpractical to manually type =(a1+a2+a3.......+a21003)

Does anyone know if this is a limation of the SUM function for custom formatting or am I doing something wrong?

Also can anyone advise how I could automate the addition of adding the columns if I have to, save me typing out =(a1+a2+a3.......+a21003) etc..

Thanks in advance
ma365.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Hi,

I have a column with time data in it. The format is HH:MM:SS.00

I'd like to sum value of all the data in the column.

If I manually add data in the column Excel provides the correct result.

e.g =(A1+A2+A3) This works.

If I use the built in SUM function it does not work.

e.g =SUM(A1:A3) This always gives 00:00:00.0 regardless of the values in the rows.

There are thousands of rows in the column making it inpractical to manually type =(a1+a2+a3.......+a21003)

Does anyone know if this is a limation of the SUM function for custom formatting or am I doing something wrong?

Also can anyone advise how I could automate the addition of adding the columns if I have to, save me typing out =(a1+a2+a3.......+a21003) etc..

Thanks in advance
ma365.
It sounds like your time entries might be TEXT entries.

When you use the explicit math operation of addition:

=A1+A2

This coerces the text entry into a true numeric time value. The SUM function does not perform this conversion.

So, you need to try to convert these text values to true numeric time values.

Try this...
  • Select an empty cell
  • Copy that empty cell: Right Click>Copy
  • Select the range of cells that contain the time entries
  • Right Click>Paste Special>Add>OK
You might have to reformat the cells as Time
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,286
Members
452,902
Latest member
Knuddeluff

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