how do i modify the time given?

bigdan

Well-known Member
Joined
Oct 5, 2009
Messages
840
Office Version
  1. 2013
Platform
  1. Windows
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!
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
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)
 
Upvote 0
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
 
Upvote 0
You need to format the cell as time.
 
Upvote 0

Forum statistics

Threads
1,214,960
Messages
6,122,479
Members
449,088
Latest member
Melvetica

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