The fastest way to add hours in Excel

To add hours in Excel, put each hour value in its own cell, then use the SUM function to total them. If your hours are in cells A1 through A5, type =SUM(A1:A5) in an empty cell and press Enter. Excel will add them together and show the result.

The tricky part comes next: Excel stores time as a decimal, so 1 hour shows as 0.041667 (one twenty-fourth of a day). When you add hours, Excel gives you the answer in the same format. If you add 8 + 4 + 3 hours, Excel shows 0.625 instead of 15. You need to format the cell so Excel displays it as hours instead.

Right-click the cell with your total, click Format Cells, choose Time from the Category list on the left, then pick a format that shows hours. The format [h]:mm (with square brackets) will show any total, even if it goes over 24 hours. Without the brackets, Excel resets to zero after 24 hours, so 30 hours would show as 6 hours.

Key Takeaways

  • Use =SUM(A1:A5) to add hours in cells A1 through A5, replacing those cell references with your own.
  • Excel stores time as decimals, so you must format the result cell as Time to see hours instead of decimal numbers.
  • Use the [h]:mm format when your total might exceed 24 hours, because the standard time format resets after 24.
  • If your hours are entered as text instead of numbers, Excel will not add them — convert them to numbers first by using the VALUE function or re-entering them.

Setting up your hours so Excel can add them

Excel can only add hours if they are entered as actual time values or numbers, not as text. If you type "8 hours" in a cell, Excel treats it as text and will not include it in a sum. Type only the number: 8, or 8:00, or 8.5 for eight and a half hours.

The clearest format is to type hours as decimals: 8 for eight hours, 4.5 for four and a half hours, 3.25 for three hours and fifteen minutes. This way, when you use SUM, the math is straightforward. If you prefer to type hours and minutes separately (like 8:30), Excel will handle it, but you must format the cell as Time first before entering the data, or Excel will misread it.

Check your data before you sum. Click a cell with an hour value. Look at the formula bar at the top — if it shows a number like 8 or 0.333333, it is a valid time value. If it shows text like "8 hours" or "8h", you will need to fix it before adding.

Using SUM to add multiple hour cells

The SUM function is the standard way to add hours. Click an empty cell where you want the total to appear. Type =SUM( then click the first cell with hours, hold Shift, and click the last cell with hours. Excel will fill in the range for you. Type the closing parenthesis and press Enter.

If your hours are scattered and not in one block, type them individually: =SUM(A1,A3,A7,B2). This adds only those four cells and skips the ones in between. You can mix both methods: =SUM(A1:A5,C2,D1:D10) adds the range A1 through A5, plus cell C2, plus the range D1 through D10.

After you press Enter, the cell will show a decimal number. Do not panic — this is correct math, just the wrong display format. Move to the next section to fix how it looks.

Formatting the result to show hours instead of decimals

Right-click the cell with your sum total. A menu will pop up. Click Format Cells (or Format Cells... depending on your version). A dialog box opens.

On the left side, you will see a list of categories. Click Time. The middle section will show different time formats. Look for one that matches what you need. If your total is 15 hours and you want it to show as "15:00", pick a format like [h]:mm. The square brackets tell Excel to keep counting past 24 hours instead of resetting.

Without the brackets, a format like h:mm will show 39 hours as 15:00 (because 39 minus 24 is 15). With the brackets, [h]:mm shows 39 hours as 39:00, which is what you want. After you pick the format, click OK. Your total will now display as hours and minutes.

Adding hours when they include minutes

If your data includes both hours and minutes — like 8:30, 4:15, 3:45 — enter them in the format hours:minutes. Type 8:30 for eight hours and thirty minutes. Excel will recognize this as a time value if the cell is already formatted as Time, or if you type it correctly.

Use SUM the same way: =SUM(A1:A5). Excel will add all the hours and minutes together. The result will show as a decimal at first. Format it as [h]:mm to see the total as hours and minutes. If your total is 16 hours and 15 minutes, it will display as 16:15.

One common mistake: if you type 8:30 in a cell formatted as General or Text, Excel might think you mean 8:30 AM and store it as a time of day instead of a duration. To avoid this, format the cells as Time before you enter the data, or enter hours and minutes as a decimal: 8.5 for eight and a half hours.

Fixing hours that Excel won't add

If you type a sum formula and it shows 0 or an error, your hours are probably stored as text. This happens when you copy hours from another program, paste them from an email, or type them with text like "8 hours" or "8h".

The quickest fix: delete the text hours and re-enter them as numbers only. Type 8, not "8 hours". If you have many cells to fix, use the VALUE function. In a new column, type =VALUE(A1) to convert the text in A1 to a number. Copy this formula down for all your text hours. Then copy the results, paste them as values into your original column, and delete the helper column.

Another option: use Find and Replace to strip out text. Press Ctrl+H (or Cmd+H on Mac). In the Find field, type " hours" or "h" or whatever text is attached. Leave the Replace field empty. Click Replace All. This removes the text, leaving only the numbers. Then format those cells as Time and they will work with SUM.

Adding hours across multiple sheets

If your hours are on different sheets in the same workbook, SUM can still reach them. Click the cell where you want the total. Type =SUM( then click the sheet tab at the bottom for the first sheet. Click the cell with hours. Hold Shift and click the sheet tab for the last sheet, then click the last cell with hours. Type the closing parenthesis and press Enter.

Excel will write something like =SUM(Sheet1.A1:Sheet3.A5), which adds all the hours in column A, rows 1 through 5, across sheets 1, 2, and 3. This works the same way as adding hours on one sheet — format the result as [h]:mm to display it correctly.

If the sheets are not in order, type the formula manually: =SUM(Sheet1.A1,Sheet3.A5,Sheet2.A10). This adds specific cells from different sheets in any order you choose.

Frequently Asked Questions

Why does my total show as a decimal like 0.625 instead of hours?

Excel stores time as a fraction of a day. 0.625 means 0.625 of a 24-hour day, which equals 15 hours. Right-click the cell, click Format Cells, choose Time, and pick [h]:mm format. The cell will then display 15:00 instead of the decimal.

Can I add hours that are formatted as text?

No, SUM will ignore text. If your hours say "8 hours" or "8h", convert them to numbers first. Delete the text and re-enter as numbers only, or use Find and Replace to remove the text part, leaving just the number.

What if my total goes over 24 hours and shows as a wrong number?

You used a time format without square brackets. Right-click the cell, click Format Cells, choose Time, and select [h]:mm (with the brackets). This tells Excel to keep counting past 24 hours instead of resetting to zero.

How do I add hours and minutes together, like 8:30 plus 4:15?

Enter them as hours:minutes (8:30, 4:15) in cells formatted as Time. Use =SUM(A1:A5) to add them. Format the result as [h]:mm to display the total as hours and minutes.

Can I add hours from different columns in one formula?

Yes. Type =SUM(A1:A5,C1:C5,E1:E5) to add ranges from columns A, C, and E. You can mix individual cells and ranges: =SUM(A1,B2:B10,D5) adds cell A1, the range B2 through B10, and cell D5.