+ Reply to Thread
Results 1 to 4 of 4

GMT to LOCAL issue

Hybrid View

  1. #1
    Registered User
    Join Date
    10-07-2011
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    7

    GMT to LOCAL issue

    I'm trying to convert Excel times that are in GMT time to Local. This is the formula I am using: =E1 - (8 / 24)

    I am in the PST so I am subtracting 8 hours from GMT. The issue that I am running into is if the time is earlier than 8:00AM such as 7:59AM and before then it gives me a string of ###### in the cell.

    How can I get it so that if the time says 7:00AM it subtracts 8 hours and will give me 11:00 PM and so forth?

    David
    Last edited by russianspd; 02-09-2012 at 07:57 PM.

  2. #2
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: GMT to LOCAL issue

    =IF(E1<8/24,1+E1,E1)-8/24
    should do it
    Good luck.

  3. #3
    Registered User
    Join Date
    10-07-2011
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: GMT to LOCAL issue

    Thanks the times convert perfectly.

  4. #4
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: GMT to LOCAL issue

    Hi

    Try something like
    =IF(TIME(8,0,0) > A1,A1+1-TIME(8,0,0),A1-TIME(8,0,0))
    For a good reference on this goto this

    rylo

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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