1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Why is my hrs. Worked showing negative number?

Our take

If you're seeing negative numbers for hours worked in your overtime tracking spreadsheet, you're not alone. This issue often arises when Excel misinterprets time spans that cross over midnight. In your case, using the formula =(A2-A1)*24 is correct, but it doesn’t account for the date change. To resolve this, ensure that your end time reflects the correct date. Specifically, you'll need to adjust the formula to correctly interpret the transition from 3:00 AM to the following day.

I making a spreadsheet to help track overtime

I have one column labeled DATE formatted as a date mm/dd/yyyy Then I have a TIME START and a TIME END COLLUMN

I am using formula =(A2-A1)*24

For example

Date 2/10/2026

Start time : 10:00 PM TIME END : 3:00AM HRS WORKED: -19

How do I make it so excel knows the 3AM is from 2/11/2026

submitted by /u/stabycat
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Related Articles

Tagged with

#real-time data collaboration#Excel alternatives for data analysis#Excel compatibility#rows.com#natural language processing for spreadsheets#AI formula generation techniques#modern spreadsheet innovations#machine learning in spreadsheet applications#generative AI for data analysis#enterprise-level spreadsheet solutions#digital transformation in spreadsheet software#collaborative spreadsheet tools#AI-driven spreadsheet solutions#cloud-based spreadsheet applications#automation in spreadsheet workflows#no-code spreadsheet solutions#hrs worked#Excel#spreadsheet#DATE