Time Zone equation

skylinekiller

New Member
Joined
May 3, 2004
Messages
48
I have a flight record that i need to have time zone converted locally from UTC

In F4 I have the UTC date/arrival time
I would like G4 to have local (which is plus 9 hours from UTC) time of date/arrival time

So should look like this

F4=14-Nov-2020/1700
G4=15-Nov-2020/0200 (automatically populated from formula once F4 has data inputted)

When you add 9 hours it takes you to the next day at 0200
The date format is flexible.

Thank you
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
If the day part of your original arrival time is always 2 digits (eg 01-Nov-2020/1700) then try
Excel Formula:
=IF(F4="","",LEFT(F4,11)+REPLACE(RIGHT(F4,4),3,0,":")+9/24)

If the day is only single digit at the start of the month then try
Excel Formula:
=IF(F4="","",LEFT(F4,LEN(F4)-5)+REPLACE(RIGHT(F4,4),3,0,":")+9/24)

In either case format the result column with the custom format of dd-mmm-yyyy/hhmm
 
Upvote 0
You're welcome. Post back with details if any problems arise.
 
Upvote 0
Here is another formula that works on my US locale system (not sure it it works in non-US locales)...
Excel Formula:
=IFERROR(9/24+REPLACE(SUBSTITUTE(F4,"/"," "),LEN(F4)-1,0,":"),"")
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,581
Members
449,089
Latest member
Motoracer88

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