Here’s a problem for you.
You want to find out the time in another time zone. Let’s say New York. Your local time in sunny London, UK right now is 4:00 AM (the sun is just coming up). You know your local time is GMT+ 0, and you know that the time in New York is GMT-5. This is starting to sound like one of those maths questions you used to get in school. You know the ones that go something like: “Michael is two years older than three times Deborah's age. If Deborah is ‘x’ years old, how would you calculate Michael’s age?” Don’t worry I wouldn’t do that to you. My question is much simpler…well maybe: What formula would you use in Excel to calculate the local time in New York if it’s 4:00 AM in London, UK? Lets show you how to do it: The calculation you want to do is: =4:00AM – (0hrs + 5hrs) And the answer is 1:00 PM. So easy to work out on paper but not that straight forward when using excel. Calculating Time in Excel Known Problems
Row 4 shows components of my calculation, and row 5 shows the behind the scenes view (from the formula bar) of what I actually typed in the cells above. Remember British summer time not allowing for that will give you the wrong result.
Alternative Method incorporate a VLOOKUP table that lists all of the Time Zones. insert drop down lists to select the time zone from my table with a named range of time_zone. (see data validation) And then I used a VLOOKUP formula in column E like this one in cell E13: =TIME((HOUR(B13))+VLOOKUP(D13,zone,2,FALSE),MINUTE(B13),) Of remember if you only have one time zone that you’re constantly converting to then you can add a time zone to your Outlook calendar and see your local time and other time zone side by side. | |||||||
Mike Barrett (MCT) Senior Training Advisor
|
Thursday, 16 October 2014
Excel TIME Function Explained
Labels:
Excel Functions
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment