+ Reply to Thread
Results 1 to 12 of 12

Changing Time zones in multiple cells

  1. #1
    Registered User
    Join Date
    09-12-2016
    Location
    United States
    MS-Off Ver
    2010
    Posts
    8

    Changing Time zones in multiple cells

    I have a list of times that look something like this:
    8:30
    7:00
    6:00
    7:00
    7:00
    8:00
    10:30
    10:30

    Only I have many...many.. more in the list.
    These are eastern times and I want to be able to select the entire list and subtract either 1, 2, or 3 hours based on time zone.

    If it helps any, when I click on the cell the details show 8:30:00 AM

    These are actually PM times that I am bringing over and pasting from word. Excel is auto setting the AM.

    So, is there a quick way to convert to PM, then subtract the hours and update the list?

    Thanks

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,740

    Re: Changing Time zones in multiple cells

    can you use other columns ?
    is it always showing 12 hours out ?

    you could just add 12 hours in a new column
    and then add the amounts to change to new time zones in different columns
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    09-12-2016
    Location
    United States
    MS-Off Ver
    2010
    Posts
    8

    Re: Changing Time zones in multiple cells

    Thanks for the fast reply!
    Yes, I can use other columns.
    Yes they are all showing AM and I want to convert to PM.

    I'm not sure how to add the hours/amounts to multiple cells at one time.
    Any helps is appreciated.
    Thanks
    Last edited by cjenkins08; 09-29-2016 at 03:24 PM.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Changing Time zones in multiple cells

    You can enter 0.5 (for 12 hours) to any available cell and copy it, then select your list and do a Paste Special, select Add. This will add 12 hours to convert to PM.

    Then if you want to add 2 hours, enter =2/24 in a cell (2 hours divided by 24hrs/day) and do the same Paste Special, Add. If you want to go back 2 hours, select Subtract....
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  5. #5
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Changing Time zones in multiple cells

    Say your time is on A1. Then write this formula on B1 :
    Please Login or Register  to view this content.
    This will do your job.

  6. #6
    Registered User
    Join Date
    09-12-2016
    Location
    United States
    MS-Off Ver
    2010
    Posts
    8

    Re: Changing Time zones in multiple cells

    The problem I see with "sanram's" suggestion is I need to convert 100's of times all at once.


    "NBVC" suggestion sounds like what I need to do, but it is not working correctly for me.
    Let's ignore the convert from AM to PM for now. It looks like all of the times are 4:00 or after, so I will not need to worry about going back to the AM on a 3 hour change.

    So, I am just testing this out on the first cell A1 with a value of 8:30. I am clicking on B1 and pasting the =2/24, which it converts to 0.083333333, from there I copy the 8:30 and click paste special in the B1 cell choosing "subtract" and I am getting this number in B1 -0.270833333

    What am I doing wrong?

  7. #7
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,740

    Re: Changing Time zones in multiple cells

    The problem I see with "sanram's" suggestion is I need to convert 100's of times all at once.
    you could just set up the 4 columns

    in column b put
    =TIME(HOUR(A1)+12,MINUTE(A1),SECOND(A1))

    copy down

    in column c
    =TIME(HOUR(b1)-1,MINUTE(b1),SECOND(b1))
    copy down

    in column d
    =TIME(HOUR(b1)-2,MINUTE(b1),SECOND(b1))
    copy down

    in column e
    =TIME(HOUR(b1)-3,MINUTE(b1),SECOND(b1))
    copy down
    Last edited by etaf; 09-29-2016 at 03:52 PM.

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Changing Time zones in multiple cells

    Hmmm... I suppose for mine to work properly there would have to be a date component in your list, so that subtracting 2 hours from say, midnight on one date would give 10:00 PM on the previous date....

  9. #9
    Registered User
    Join Date
    09-12-2016
    Location
    United States
    MS-Off Ver
    2010
    Posts
    8

    Re: Changing Time zones in multiple cells

    Quote Originally Posted by NBVC View Post
    Hmmm... I suppose for mine to work properly there would have to be a date component in your list, so that subtracting 2 hours from say, midnight on one date would give 10:00 PM on the previous date....
    This is not a concern......All of the times are from 4:00 to 10:30 and the max I need to go back is 3 hours. So I am not worried about going to the previous day.

  10. #10
    Registered User
    Join Date
    09-12-2016
    Location
    United States
    MS-Off Ver
    2010
    Posts
    8

    Re: Changing Time zones in multiple cells

    Quote Originally Posted by etaf View Post
    you could just set up the 4 columns

    in column b put
    =TIME(HOUR(A1)+12,MINUTE(A1),SECOND(A1))

    copy down

    in column c
    =TIME(HOUR(b1)-1,MINUTE(b1),SECOND(b1))
    copy down

    in column d
    =TIME(HOUR(b1)-2,MINUTE(b1),SECOND(b1))
    copy down

    in column e
    =TIME(HOUR(b1)-3,MINUTE(b1),SECOND(b1))
    copy down

    Thanks! I was able to get this to work!

  11. #11
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Changing Time zones in multiple cells

    Quote Originally Posted by cjenkins08 View Post
    This is not a concern......All of the times are from 4:00 to 10:30 and the max I need to go back is 3 hours. So I am not worried about going to the previous day.
    Then if you have 8:30 AM in A1 and =2/24 in another cell and copy it and do a Paste Special|Subtract you should get a result of 0.270833333 (positive not negative). Then you would need to format the result as Time.

  12. #12
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,740

    Re: Changing Time zones in multiple cells

    you are welcome

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Time Zones!!!
    By paularthur90 in forum Excel General
    Replies: 4
    Last Post: 02-15-2016, 08:22 PM
  2. Replies: 10
    Last Post: 11-08-2014, 04:51 PM
  3. [SOLVED] Changing Time Zones for Date and Time
    By artiststevens in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-03-2014, 02:51 PM
  4. Replies: 1
    Last Post: 03-28-2014, 12:45 PM
  5. Changing time zones
    By qasdzxc in forum Excel General
    Replies: 3
    Last Post: 06-21-2012, 05:46 PM
  6. Time Zones
    By rajpalmanish in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-03-2007, 03:06 AM
  7. Changing time w/zones
    By jjjamiem in forum Excel General
    Replies: 2
    Last Post: 09-16-2006, 02:37 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1