How to subtract in Google Sheets

Type a formula with a minus sign, for example =A1-B1, and press Enter. You can also use =MINUS(A1, B1). Subtract dates to get day counts, or subtract times for durations (format the result as a number or duration). For a whole column, put the formula in the first data row and fill down, or wrap it in ARRAYFORMULA.

Steps

  1. 1

    Click the cell for the result.

  2. 2

    Enter =A1-B1 (swap cells for your numbers).

  3. 3

    Or enter =MINUS(A1, B1).

  4. 4

    Fill down for more rows, or use ARRAYFORMULA for the column.

Related tutorials

These videos might help you go deeper on this topic.

Watch more tutorials
Bjarne Asks: Can I show the total number of rows minus the header row?

Bjarne Asks: Can I show the total number of rows minus the header row?

find out how to show the total number of data rows available in a sheet.

Better Sheets on YouTube

Watch matching videos from youtube.com/bettersheets.

Search channel

Terms and formulas behind this

Want the full definition or how a formula works? Start here.

Related questions

Need more than a quick answer?

600+ walkthrough videos, unlimited generators, and every template. From $9/month. Practical lessons. Zero fluff.

Need one fix

Watch a free tutorial for the step-by-step version of any answer.

Learning Sheets for real

Unlock the full library, generators, and templates with membership.