Multi timezone calculator

Prometheus2015

New Member
Joined
Jun 13, 2015
Messages
6
Hello,
This is my first forum post on the Internet. I guess I should start with defining the manual process that I think Excel can automate.

There are offices in multiple cities, all working 9am to 6pm in their respective time zones. There are processes that are run at the Head Office that works on India standard time. Selected offices across the world will run that process at the same time, if they are working. For example: A process is started at 11:00 hours IST and runs till 16:00 hours IST. The Selected cities that will participate are say, London and Tokyo. In London, the start time would therefore be 05:30 GMT and end time would be 09:30 GMT. Similarly, the start time for Tokyo would be 14:30 Japan time and end would be 19:30 Japan time. Now, let's see how many working hours for London and Tokyo respective is that:
For London, it would be 30 minutes (since office start time is 9 am).
For Tokyo, it would be 3 hours 30 minutes (since office stop time is 6 pm).
For Delhi (India), it would be the full 4 hours since both process start time and process end time are within working hours.

Such processes would occur every few days through the month. At the end of the month, I need to calculate the total time per city.

I have manually created an Excel sheet that can give you a visual of the data available and the output required. I've shared the file on http://jmp.sh/EDOZ2ES.

Would greatly appreciate your help in automating this calculation using formulae/VBA/macros in Excel.

Thanks and regards,
Sagar
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Hi Michael,
Thanks for the response. I went through the world clock you shared, but it doesn't meet my requirement in entirety. I understand downloading a workbook might not be wise. I've therefore taken a screenshot of the workbook and put it here:

hPYxgMtzfDXdzzi8WBEU


Hope this image, and the text in my original post, describes the problem better.

Would greatly appreciate your help.

Thanks and regards,
Sagar.
 
Last edited:
Upvote 0
I'd suggest then, using the HTML Maker in my tag to post a SMALL sample of what is required back here !
 
Upvote 0

Excel 2012
ABCDEFGHIJKLMNOPQ
1
2City NameTime DifferenceWorking HoursProcessStart Time MLTEnd Time MLTCities IncludedProcessCityAffected HoursCitywise Total Affected Hours
3City 1MLT - 409:00 to 18:00Process 101-01-2015 11:2001-01-2015 15:38City 1, City 3, City 9Process 1City 102:38City 106:55
4City 2MLT - 3.3009:00 to 18:00Process 210-02-2015 21:0011-02-2015 05:15City 1, City 10City 303:08City 200:00
5City 3MLT - 3.3009:00 to 18:00Process 307-03-2015 14:4007-03-2015 17:57City 1, City 5, City 9City 904:10City 303:08
6City 4MLT - 3.3009:00 to 18:00Process 2City 101:00City 400:00
7City 5MLT- 2.3009:00 to 18:00City 1000:15City 503:17
8City 6MLT09:00 to 18:00Process 3City 103:17City 600:00
9City 7MLT09:00 to 18:00City 503:17City 700:00
10City 8MLT + 2.3009:00 to 18:00City 900:50City 800:00
11City 9MLT + 2.3009:00 to 18:00City 905:00
12City 10MLT + 409:00 to 18:00City 1000:00
13
14MLT = My Local Time
15One Time Master Data
16Daily Data Entry
17Monthly Output
18
Sheet1
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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