How to Subtract Two Dates in Excel

This guide treats “subtract two dates in excel” the way busy spreadsheet users actually want it: answer first, then the reasoning. It is written for Excel but calls out every place Google Sheets differs, and the platform toggle at the top switches all shortcuts between Windows and Mac so nothing here assumes the keyboard you are not on.

Exact answer

In Excel: there is no SUBTRACT function — just use the minus operator, for example =A2-B2.

Annotated stepsExcel
1

Click the cell where you want the difference.

2

Type = then the first cell or number, a minus sign, and the second, e.g. =A2-B2.

3

Press Enter; copy the formula down to subtract row by row.

4

To subtract many cells, use =A2-SUM(B2:B10) instead of a long chain.

=A2-B2
Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

What this does

Excel and Google Sheets have no SUBTRACT function because the minus sign already does the job: any formula that starts with = can subtract one cell or number from another. To subtract several values at once you can chain them (=A2-B2-C2) or subtract a SUM (=A2-SUM(B2:B10)), which is tidier when the list is long. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “subtract two dates in excel”. Start on a copy or a tiny sample, keep the affected cells visible, and compare the result with the tool above before you touch the real workbook. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. The point is a workflow that saves repeating the same clicks every week, but the practical win is that someone else can open the file and understand what happened without asking you.

A worked example

To take expenses of 120 away from revenue of 500, type =500-120 (or =A2-B2 pointing at the two cells) and press Enter — the result is 380. To subtract a whole column of costs from a budget in B1, use =B1-SUM(B2:B20). Negative results display with a minus sign automatically. Subtraction is the quiet backbone of every variance, margin and running-total formula. Knowing there is no function — only the operator — saves you hunting for one and lets you build differences directly. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.

In Google Sheets

If you are in Google Sheets rather than Excel, the good news is that the formula shown here is identical and the workflow barely changes — menus sit across the top instead of in a ribbon, and a few function names differ slightly, but anything you build here moves across with little or no rework. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. Treat “subtract two dates in excel” as a small building block rather than a chore. Once the inputs sit in their own cells and the formula reads from them, the same setup answers a dozen related questions with a tweak, and Excel keeps every dependent figure current as the data changes. The tool above is there so you can rehearse and verify before committing anything to a real workbook; the steps and worked example are there so the logic sticks. Get it right once and it stops costing you time — it starts saving it, every time the question comes back around.

Common mistakes

  • Looking for a SUBTRACT function — there is none; the − operator is the answer.
  • Forgetting the leading =, so the sheet treats the entry as text.
  • Subtracting cells that contain text or are blank, which can return errors or unexpected zeros.
  • Mixing up the order — A2-B2 and B2-A2 differ by a sign.

Frequently asked questions

Is there a SUBTRACT function?

No. Both Excel and Google Sheets subtract with the minus operator. To subtract many numbers, subtract a SUM: =A2-SUM(B2:B10).

How do I subtract a percentage?

Multiply and subtract in one step: =A2*(1-10%) takes 10% off the value in A2.

Why does my subtraction show an error?

Usually one cell contains text or an error value. Wrap the inputs in VALUE() or clean the data so both sides are numbers.