Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Excel Tutorial
  • Excel Formulas
  • Excel Shortcut Keys
  • Data Analysis in Excel
  • Formatting in Excel
  • Excel Workbooks
  • Statistical Functions
  • Data Visualization in Excel
  • Pivot Tables in Excel
  • MS Excel Quiz
  • Excel Interview Questions
  • Advance Excel
Open In App
Next Article:
How to Use the SUBTRACT Function in Excel
Next article icon

How to Use the SUBTRACT Function in Excel

Last Updated : 24 Jan, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

Subtraction in Microsoft Excel - Quick Steps

  • Select the cell where you want the result.
  • Type = (equal sign)> then select the first cell to subtract from.
  • Type - (minus sign) > Select the cell you want to subtract.
  • Press Enter.

Subtraction in Excel is a basic yet powerful skill that can make your work much easier. Whether you're doing simple math, working with large data sets, or comparing dates, times, and percentages, knowing how to subtract can save you a lot of time. While Excel doesn’t have a specific "subtract" button, its formulas let you easily subtract numbers, cells, columns, and even text. This guide will show you step-by-step how to subtract in Excel, from simple calculations to advanced tasks like subtracting matrices and text.

How to Subtract in Excel

Table of Content

  • Excel Subtraction Formula
  • How to Subtract in Excel
  • Subtract Cells
  • Subtract Multiple Cells
  • Subtract two Columns
  • Subtract A Value From An Entire Column
  • Subtract Percentages in Excel
  • Subtract Two Dates
  • Subtract Times
  • Subtract Matrices
  • Subtract a Text String

Excel Subtraction Formula

Subtracting two numbers is a common operation. Excel does not have a "subtract" button or function. You can use the Minus sign (-) instead. We'll show you how to use Excel to extract numbers, cells, percentages, dates, and times using simple and easy formulas.

How to Subtract in Excel

Excel has no SUBTRACT function for subtraction. Subtracting two integers requires the minus sign (-). Follow the below steps to know how to subtract in Excel using two values

=number1-number2

To enter the formula in your worksheet, do the following:

Step 1: Type (=) sign in cell

Type the equal sign (=) in the cell.

image
Type (=) Equal Sign

Step 2: Type formula like Value1-Value2

Type the first number, then the minus sign, and after that second number.

image
Enter the Values

Step 3: Press the enter button

Press the Enter key to apply the formula.

image
Press the enter button

How to Subtract Cells in Excel

Learn to subtract values in different cells with a few simple steps

Step 1: Type the equals sign (=)

Start your formula in the cell where you want to output the difference by typing the equals sign (=).

Step 2: Click on the cell containing a number

Select the cell containing the minuend by clicking on it.

image-
Click on the Cell

Step 3: Type a minus sign (-).

Insert the negative sign (-) after the quantity you want to subtract.

image
Type the minus sign(-)

Step 4: Choose the cell with the number to subtract

Click on the cell containing the number to be subtracted to include it in the calculation.

image-
Choose the Cell to Subtract

Step 5: Press the Enter to Apply

Press the Enter key to complete your formula

image
Press the Enter to Apply

How to Subtract Multiple Cells in Excel

You may use three methods to subtract multiple cells from the same cell.

Method 1: Minus sign

To subtract the values in cells A2 through A5 from the value in A1, follow these steps:

=A1-A2-A3-A4-A5

image
Using the Minus Sign

Preview Result

You have successfully subtracted multiple cells from one cell in Excel using the minus function.

image-
Preview the Result

Method 2: Using the SUM Function

Use the result function to add the subtrahends (A2:A5), then deduct the result from the minuend (A1) to make your calculation more compact.

=A3-SUM(A2:A5)

image
Using the SUM Function

Preview Result

You have successfully subtracted multiple cells from one cell in Excel using the SUM function.

image-
Preview Result

How to Subtract two Columns in Excel

Follow these simple steps to subtract one column from another row-by-row:

Step 1: Enter the Subtraction Formula

  • In the first cell of the results column, type the subtraction formula for the topmost cell and press enter.

=A7-B6

image
Enter the Subtraction Formula

Step 2: Press Enter

Press Enter to Preview Result

image-
Press Enter to Preview Result

How To Subtract A Value From An Entire Column

Follow these simple steps to subtract a specific value in a cell from all cells in a column:

Step 1: Select the number to subtract

To subtract a number, you must first choose that number.

Screenshot-(332)
Select the number to subtract

Step 2: Select the cell destination

Select the cell to display the results, such as cell C2.

Screenshot-(333)
Select the cell destination

Step 3: Enter =A3-$B$3 in cell C3.

Type =A3-$B$3 in cell.

This formula subtracts the number in cell B3 from the number in cell A3.

Screenshot-(334)
=A3-$B$3 in cell C3

You have successfully Subtracted a Value from an Entire Column in Excel.

How to Subtract Percentages in Excel

Excel makes it simple to subtract two percentages. Following are detailed steps for using each way to subtract percentages in Excel:

Method 1: Direct Subtraction

Step 1: Enter the Formula

Type the formula like =A% - B%

In the desired cell, type the formula to subtract one percentage from another directly.

Screenshot-(335)
Enter the Formula

Step 2: Press Enter

Press the Enter key to execute the formula and obtain the result. Check the cell to ensure the direct subtraction is reflected in the result.

Screenshot-(336)
Enter the Formula >> Press Enter

Method 2: Subtract the Percentage of different Cells

Step 1: Enter the Percentage value in the cell

Enter the percentage value in separate cells to subtract.

Screenshot-(337)
Enter the Percentage value in the cell

Step 2: Type =A3-B3

Use the minus sign to subtract the percentages in a new cell.

Screenshot-(338)
Type the Formula

Step 3: Confirm subtraction

Check the cell to make sure the subtraction was done correctly.

Screenshot-(339)
Confirm subtraction

Method 3: Subtracting Percentage from a Number

Step 1: Separate the number and percentage to subtract.

Separate the total amount to be subtracted from the total in two separate cells, for example, A2 and B2.

Screenshot-(340)
Separate the number and percentage to subtract

Step 2: Apply Formula =A3 * (1 - B3)

Cut the number by the specified percentage in a new cell using the formula =A3 * (1 - B3) OR you can type the cell number containing values like

= A3*(C3-B3)

Screenshot-(341)
Apply Formula =A3 * (1 - B3)

Step 3: Check the Result

Verify the cell to see if the given percentage has been subtracted from the number.

Screenshot-(342)
Check the Result

Method 4: Using Absolute Reference for Percentage

Step 1: Enter a number (A3) and a percentage (B3).

Put the % in cell B3 and the number into cell A3.

Screenshot-(344)
Enter a number (A3) and a percentage (B3).

Step 2: Enter the formula =A3 * (1 - $B$3)

Enter formula =A3 * (1 - $B$3) in a new cell

This guarantees that the percentage is an absolute reference.

Screenshot-(345)
Enter the formula =A3 * (1 - $B$3)

Step 3: Press enter and check the result

After entering the formula press Enter for result.

Screenshot-(346)
Press enter and check the result

How To Subtract Two Dates in Excel

The easy way to subtract dates in Excel is to enter them in cells and subtract one cell from the other:

Step 1: Enter the two dates in different cells

Enter the dates to subtract in separate cells, for example, A1 and B1.

How to Subtract in Excel
Enter the two dates in different cells

Step 2: Select the cell destination

Choose the cell where you want the result to appear.

How to Subtract in Excel
Select the cell destination

Step 3: Type =B2-A2 in cell and Press Enter.

After selecting the cell type =B1-A1. Change real cell references for B1 and A1. The formula executed by pressing the Enter key. Excel calculates and displays the Difference in the selected cell.

IMG-20240311-WA0002
Type =B2-A2 in cell and Press Enter.

You have successfully learned to subtract Dates in Excel.

How To Subtract Times in Excel

The formula for subtracting time in Excel is simple:

=End_time - Start_time

Step 1: Find the cells with the times to subtract.

Select the cells containing the time value.

How to Subtract in Excel
Select the Cells that contains value

Step 2: Select a cell where you want the result to appear.

Select the cell destination where you want the result to appear.

Screenshot-(348)
Select the Cell where you want the result to appear

Step 3: Type =A3 -B3 and Press Enter

Type =A3 -B3 into the cell that you chose. Substitute the given cell references for the first and second times into Time1.

Screenshot-(349)
Type =A3 -B3

You have successfully learned to Subtract Time in Excel.

How To Subtract Matrices in Excel

You want to take matched numbers from each table of two sets set up like tables. Here's how to do it in Excel.

Step 1: Select empty cells matching table size

Click on a group of empty cells that match the size of your tables.

How to Subtract in Excel
Empty cells matching table size

Step 2: Type =A3:D5 - F3:I5

In the selected cells, type this formula: =A3:D5 - F3:I5

How to Subtract in Excel
type =A3:D5 - F3:I5

Step 3: Press Ctrl + Shift and then Enter

Press Ctrl + Shift + Enter to complete the procedure. Curly braces around the formula will indicate it's an array formula.

Screenshot-(350)
Press Ctrl + Shift + Enter

You have successfully learned to do Matrix Subtraction in Excel.

How to Subtract a Text String in Excel

Subtracting text from one cell to another is a very common work. This has many potential applications, including data extraction and text comparison calculations.

Follow these steps:

Step 1: Open Microsoft Excel

Open the Microsoft Excel in your computer.

Step 2: Select the cells with text

To subtract text from a cell, first find the cell containing the text. Press Ctrl again; choose another cell with the text you wish to remove.

Screenshot-(356)
Select the cells with text

Step 3: Use =SUBSTITUTE(A2, B2, "").

Copy the textual content from Cell B and place it at the quit of what you want Use the SUBSTITUTE technique.

Screenshot-(355)
=SUBSTITUTE(A2, B2, "").

Step 4: Press Enter, check the result

Press Enter and look at the answer when you finish the SUBSTITUTE Formula.

Screenshot-(354)
Press Enter, check the result

Conclusion

Mastering subtraction in Excel opens up a world of possibilities for data analysis, financial calculations, and project management. Whether you're working with simple numbers, entire columns, dates, or even text, Excel’s versatile formulas make subtraction quick and efficient. By applying the methods shared in this guide, you can handle a variety of data-processing tasks with confidence and ease. As you continue to explore and practice these techniques, you'll discover how Excel can simplify even the most complex workflows, boosting your productivity to new heights.


Next Article
How to Use the SUBTRACT Function in Excel

M

mishraridmrn
Improve
Article Tags :
  • Excel
  • Excel-basics
  • ExcelGuide

Similar Reads

    How to Insert a Function in Excel?
    In MS Excel formula is an expression that help to calculate the value of a cell and in Microsoft Excel has many inbuilt in functions that we can use in our formula. Now if you want to insert a function in Excel or want to see all the functions by category, then in this series of MS Excel tutorial gu
    4 min read
    How to use the Excel AGGREGATE Function (Step-by-Step Guide)
    Excel AGGREGATE Function: Quick StepsEnter the DataEnter the Aggregate FormulaPress EnterHave you ever spent hours cleaning up errors in your Excel data or struggling to calculate values in a filtered list? The AGGREGATE function in Excel is here to rescue you from those headaches. Unlike basic func
    7 min read
    How to Use Solver in Excel?
    A solver is a mathematical tool present in MS-Excel that is used to perform calculations by working under some constraints/conditions and then calculates the solution for the problem. It works on the objective cell by changing the variable cells any by using sum constraints. Solver is present in MS-
    3 min read
    How to Find Range in Microsoft Excel
    Understanding the range of a dataset is key to grasping data spread and is essential for interpreting and making data-driven decisions. Excel offers various methods to calculate ranges, enhancing your data analysis skills. This article explains the concept of range in statistics, explores Excel func
    6 min read
    How to Find the Antilog of Values in Excel?
    Logarithmic functions are mostly used when we deal with exponents. So, while dealing with a logarithmic function many times we need to calculate the antilog value. Antilog is simply the reverse of the logarithm. In Excel, we have a direct formula to calculate the log of any values. The functions ava
    3 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences