Forum Discussion

stazbryan's avatar
stazbryan
Copper Contributor
Jun 30, 2025
Solved

Excel doesn't calculate time (#value error) when past 13:00.

I need help to correct an #value error. My calculations work perfectly fine when I subtract one time cell from another except when the time is past 13:00. I tried changing the cell function to general, number, custom but nothing seems to work unless I manually change the time to 1:00pm.  Thoughts?  TIA

Below is an example:

Cell AB           Cell AD

8:15                 08:29 AM                   0:14

13:06 PM        13:54 PM                    #VALUE!

 

=SUM(AD2-AB2) is the formula I am using

  • I believe excel is not recognizing those cells as time since 13:06 PM is not normal.  it is either 13:06 OR 1:06 PM.  If you remove the PM it should work (it did for me)

2 Replies

  • m_tarler's avatar
    m_tarler
    Bronze Contributor

    I believe excel is not recognizing those cells as time since 13:06 PM is not normal.  it is either 13:06 OR 1:06 PM.  If you remove the PM it should work (it did for me)

Resources