how do i modify the time given?

bigdan

Well-known Member
Joined
Oct 5, 2009
Messages
792
I have a number of events in which the time and date is given. For example "[UTCTime "22:04:02"]". I'm in a different timezone so I'm going to make a new column saying "Canada Time" and I'd like to add 4 hours to that. In that column I wrote =A1+4 but that didn't work. Then I tried changing the above to "22:04:02" (ie took out the text) and then in a diff cell tried adding 4 to that, which also didn't work. Please help!
 

Some videos you may like

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

AhoyNC

Well-known Member
Joined
Oct 10, 2011
Messages
4,719
Office Version
  1. 365
Platform
  1. Windows
Maybe something like this:
Note: In Excel 1 hour is equal to 1/24 of a day. So 4 hours = 4/24 or 0.166667.

Book1
AB
1[UTCTime "22:04:02"]2:04:02
Sheet1
Cell Formulas
RangeFormula
B1B1=MID(A1,11,8)+(4/24)
 

bigdan

Well-known Member
Joined
Oct 5, 2009
Messages
792
Thanks! I'm afraid that didn't work, or at least isn't the final result I'm looking for. In the example I tested [UTCTime "22:04:02"] ended up as 1.086134259
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
52,755
Office Version
  1. 365
Platform
  1. Windows
You need to format the cell as time.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,224
Messages
5,594,914
Members
413,952
Latest member
JGer

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
Top