how do I add 2.5 hours to a column of data

  • Thread starter Thread starter Lisa Hetherington
  • Start date Start date
L

Lisa Hetherington

right now I have one column (C) of data with a custom format of

h:mm AM/PM

I would like to create a D column of column C plus 2.5 hours

how do I format this?

....Lisa
 
Lisa,

The formula would be
=C2+TIMEVALUE("2:30:00")

It will probably automatically apply some inappropriate date-time format. Do Format -
Cells - Number tab - Time, and select the time format you want.
 
You need to realise that time is stored by Excel as a fraction of a 24-
hour day, so 12 hours is stored internally as 0.5, 6 hours as 0.25
etc. So, to add 2.5 hours onto a time, you must convert the hours into
the same format by dividing by 24, thus:

=C1+2.5/24

The result will probably take the same format as that in C1 - you
might like to use a custom format of [h]:mm, which will stop the wrap-
around of hours if the total is greater than 24.

Hope this helps.

Pete
 
That works!!

Thanks Earl

....Lisa
Earl Kiosterud said:
Lisa,

The formula would be
=C2+TIMEVALUE("2:30:00")

It will probably automatically apply some inappropriate date-time format.
Do Format - Cells - Number tab - Time, and select the time format you
want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top