Apply an hour and minute offset

Turn 11/4/2026 2:30:15 PM with -00 and 30 minutes into 11/4/2026 2:00:15 PM.

What you'll make

In Excel: 11/4/2026 2:30:15 PM, -00 and 30 becomes 11/4/2026 2:00:15 PM.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1A8The date and time in UTC.11/4/2026 2:30:15 PM
2IF(LEFT(B8,1)="-",-1,1)Gives -1 when the hour starts with a minus.-1
3(ABS(VALUE(B8))*60+C8)The whole offset in minutes, without its sign.30
4/1440Turns the minutes into days and adds them.11/4/2026 2:00:15 PM

Excel stores a day as 1, and a day has 1440 minutes. The minus on the hour covers the minutes too, so -00 and 30 is minus 30 minutes.

=A8+IF(LEFT(B8,1)="-",-1,1)*(ABS(VALUE(B8))*60+C8)/1440

How to use it

Yellow bar at the top? Click Enable Editing.

  1. See it work. The Example tab shows 20 made-up examples with the formula already in.
  2. Use your own dates and times. Paste UTC dates with times, offset hours like -05 and the minutes into the green columns of the Template tab. The local times fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Keep the hour as text, so -00 keeps its minus. Use the offset that was in force at that moment.

Microsoft's help: VALUE function