Consulting

Results 1 to 5 of 5

Thread: time keeps showing as 1:00 Am when it is 1:00 PM

  1. #1
    VBAX Newbie
    Joined
    Dec 2012
    Posts
    3
    Location

    time keeps showing as 1:00 Am when it is 1:00 PM

    I was trouble shooting my spreadsheet today at work and from 8:30 am through to 12:59 PM everything looked good.

    I was confident it was working but then 1:00 Pm kept reflecting as 1:00 AM

    Then in trying to correct it to PM, the Cell showed 1:00 pm as 13:00 pm (military time)

    Is there an easy way to adjust it so excel recognizes 1:00 as PM

    its weird because 12:00 is recognized as Pm and then at 1:00 it jumps to 1:00 AM I have tried formatting but still no go!

  2. #2
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,060
    Location
    How is the time value calculated? AS a result from an Excel function, personal formula, vba code, or a user imput?
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  3. #3
    VBAX Newbie
    Joined
    Dec 2012
    Posts
    3
    Location
    Quote Originally Posted by Aussiebear
    How is the time value calculated? AS a result from an Excel function, personal formula, vba code, or a user imput?
    The user would input a start time and end time
    Attached Files Attached Files
    Last edited by Swade730; 03-19-2013 at 04:41 PM. Reason: to attache excel spread sheet

  4. #4
    Moderator VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    I don't know what cell you're having the problem in, but I can't duplicate it in XL 2002.

    BTW, that sheet is very familiar, but with some of my formulas are changed and it has no macro to auto insert the start and end times.

    Time Adherence Sheet for Excel

  5. #5
    VBAX Master Aflatoon's Avatar
    Joined
    Sep 2009
    Location
    UK
    Posts
    1,720
    Location
    You have to enter either '1:00 p' or 13:00 or it will be treated as am (12:00 is noon which is pm)
    Be as you wish to seem

Posting Permissions

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