Calculate time between time zones
This article demonstrates how to build a time zone chart and calculate times different than your time zone.
The worksheet below lets you enter cities and their time difference. Excel calculates the corresponding local times in E5:E8. Press F9 to refresh the time and date in cell E3.
What's on this webpage
1. How to calculate time zone differences
This worksheet lets you enter cities and their time difference. Excel calculates the corresponding local times in E5:E8. Press F9 to refresh the time and date in cell E3.
Formula in cell E3:
Formula in cell E5: =$E$3+C5/24 Copy this cell and paste to E6:E8. There are both absolute and relative cell references in this formula.
Did you know that Excel stores date and time as a number? 16 June 2015 is stored as 42171. 16 June 2015 12:00 is 42171.5. Time is the decimal part of the number (0.5) and the date is 42171.
You can verify that this is true, type a date in a cell. Select the cell and press CTRL + 1. Change the formatting to General.
To add 7 hours to a datetime value you need to divide the hours by 24. 7/24 + 42171 = 42171.02916667. That explains the formula in cell E5: =$E$3+C5/24
Another example, 24 hours (1 day) is equal to 1. 42171 + 24 hours is 42171 + 24/24 = 42172.
2. Find the time difference
How do you know the time difference between where you live and another city/country? You don't, some countries use daylight saving time (summertime) or have changed their time zone. It can be really confusing.
Go to https://www.timeanddate.com/worldclock/ and search for a city, it is the only way.
Type the time difference in column C, Excel calculates the time for you in column E.
3. How to create a time zone chart
This chart shows you the world divided into 24 time zones, in a perfect world this could be useful. Unfortunately, it is pretty much useless.
Don't use this chart to find the time difference between the two cities. It is not accurate, some countries have changed their time zone and use daylight saving time.
I have included this chart in this post only to show you how I built it.
3.1 How I built the chart
3.1.1 Values and formulas
- Go to sheet2
- Type these values in columns B and C, see pic below.
- Type this formula in cell D2: =IF(B2=Sheet1!$D$12, 1, 0)
- Copy cell D2 and paste to D3:D26
3.1.2 Insert a Drop-down List
- Go to sheet1, select cell D12
- Go to tab "Data"
- Press with left mouse button on the "Data Validation" button
- Select List
- Enter these numbers: -12, -11, ... -1, 0, +1, ... , +14
- Press with left mouse button on OK.
3.1.3 Insert a column Chart
- Go to sheet2.
- Select cell range B2:C26.
- Go to tab "Insert" on the ribbon.
- Press with left mouse button on the "Column chart" button.
- Press with right mouse button on on the chart and press with left mouse button on "Select Data...".
- Press with left mouse button on the "Edit" button below Horizontal (Category) Axis Labels.
- Select cell range B2:B26.
- Press with left mouse button on OK.
- Select "Series1".
- Press with left mouse button on the "Edit" button.
- Select cell range C2:C26 as series values.
- Press with left mouse button on OK.
- Select Series2.
- Press with left mouse button on "Remove" button.
- Press with left mouse button on OK.
3.1.4 Adjust and remove vertical axis
- Press with right mouse button on on the vertical axis.
- Press with left mouse button on "Format Axis...".
- Change "Maximum Value" to "Fixed" and type 1.
- Press with left mouse button on "Close" button.
- Select "Vertical Axis" and press Delete.
3.1.5 Remove legend and major horizontal gridlines
- Select "Legend".
- Delete "Legend".
- Select major horizontal gridlines.
- Delete.
3.1.6 Add vertical grid lines
- Select chart.
- Go to tab "Layout" on the ribbon.
- Press with left mouse button on "Gridlines" button.
- Press with left mouse button on "Primary Vertical Gridlines".
- Press with left mouse button on "Major Gridlines".
3.1.7 Add map to chart background
I found a world map at wikimedia commons. Copy picture (Ctrl + C)
- Press with right mouse button on on plot area.
- Press with left mouse button on "Format Plot Area...".
- Press with left mouse button on "Picture or texture fill".
- Press with left mouse button on "Clipboard" button.
- Press with left mouse button on Close button.
3.1.8 Adjust column gap width and transparency
- Press with right mouse button on on the column.
- Press with left mouse button on "Format Data Series...".
- Change gap width to 0%.
- Go to the "Fill" category.
- Press with left mouse button on "Solid fill".
- Change transparency to 50%.
- Press with left mouse button on the Close button.
Date and time category
Question: I am trying to create an excel spreadsheet that has a date range. Example: Cell A1 1/4/2009-1/10/2009 Cell B1 […]
This post demonstrates how to build formulas that counts unique distinct values based on criteria. The image above demonstrates an […]
Table of Contents Excel monthly calendar - VBA Calendar Drop down lists Headers Calculating dates (formula) Conditional formatting Today Dates […]
Excel categories
3 Responses to “Calculate time between time zones”
Leave a Reply
How to comment
How to add a formula to your comment
<code>Insert your formula here.</code>
Convert less than and larger than signs
Use html character entities instead of less than and larger than signs.
< becomes < and > becomes >
How to add VBA code to your comment
[vb 1="vbnet" language=","]
Put your VBA code here.
[/vb]
How to add a picture to your comment:
Upload picture to postimage.org or imgur
Paste image link to your comment.
Contact Oscar
You can contact me through this contact form
[…] Read the full article here: Calculate Time between Time Zones […]
Спортивный аналитический центр Лидер
предлагает ставки на спорт с хорошим коэффициентом проходимости.
Наши аналитики проводят значительный аудит перед тем как выдать прогноз vip .
Мы понимаем, что просто слов не хватает, чтобы быть уверенным в нашем профессионализме. Поэтому мы предлагаем Вам посмотреть реальную статистику наших прогнозов. Команда хорошо анализирует статистику и выдает стабильные спортивные прогнозы на футбол.Но основным нашим направлением в ставках футбол.
Наша студия занимается созданием и продвижением сайтов различной сложности от визиток до крупных интернет-магазинов