Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
World desk3 min

SUM Isn’t Just for Beginners: Choose the Right Excel Formula for the Job

Excel’s SUM function is not just for beginners. Choose SUMIF, SUMIFS, SUBTOTAL or AGGREGATE when conditions, filters, hidden rows or errors change what your total should include.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

SUM is still the right Excel function for a straightforward total. Use SUMIF or SUMIFS when only values meeting conditions should count, SUBTOTAL when a total must respond to filtering, and AGGREGATE when its error- or hidden-row options solve a specific problem. Excel’s AutoSum is a shortcut for inserting SUM, not a different calculation method.

Which Excel summing formula should you use?

What you need Use Why
Total a normal range or several ranges SUM Directly adds the specified values or ranges.
Total values that meet one condition SUMIF Applies a single criterion.
Total values that meet multiple conditions SUMIFS Applies multiple criteria to the values being summed.
Total a filtered list SUBTOTAL Excludes rows filtered out of the list; its function number determines how manually hidden rows are treated.
Sum while ignoring errors or applying hidden-row options AGGREGATE Offers configurable behavior for those cases; it is designed for vertical data.
Insert a basic total quickly AutoSum Inserts a SUM formula for an adjacent row or column that you can inspect or edit.

When is SUM the right choice?

Use SUM when the task is simply to add a range, individual cells, or numbers supplied as arguments. For example, Microsoft documents =SUM(A2:A6) as a range total: Microsoft’s SUM function reference.

As an Amazon Associate I earn from qualifying purchases.

Cell references and directly supplied arguments are not always treated identically: referenced text and logical values can be handled differently from text or logical values passed directly to the function. If a total looks unexpected, check what is actually stored in the cells rather than assuming every numeric-looking entry is being added.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

When should you use SUMIF or SUMIFS?

Use SUMIF for one condition

SUMIF adds values according to one criterion. Its arguments are range, criteria, and, optionally, sum_range. When the optional sum range is omitted, Excel sums the cells in the criteria range that meet the condition; when supplied, it sums corresponding cells in that range. See Microsoft’s SUMIF and SUMIFS documentation.

#1 Best Overall
Sale
Microsoft Excel Laminated Two-Sided Keyboard Shortcut Guide - Windows Edition
  • Over 215 Microsoft Windows Excel Shortcuts
  • Two-Sided Durable Laminiated Sheet
  • Designed for Excel on a Windows Computer

Use SUMIFS for multiple conditions

SUMIFS takes its arguments in a different order: first sum_range, then pairs of criteria_range and criteria. Microsoft documents support for up to 127 criteria-range/criterion pairs. Keep the criteria ranges aligned in shape with the sum range so each row or column is evaluated against its corresponding values.

Do not swap these formulas’ argument patterns when adapting one formula into the other. In particular, SUMIF puts its optional sum range last, while SUMIFS puts its sum range first.

Rank #2
Sale
Microsoft Surface Pro Keyboard with Pen Storage, Compatible with Copilot+ (11th Edition), Surface 9 and 8, Alcantara Material, Black
  • Instant Copilot. Unlock new possibilities with the dedicated Copilot key, which gives you instant access to experiences that can enhance your productivity¹.
  • Enhance your experience With the new microphone mute key and snipping key
  • Full keyboard experience. Features a full mechanical keyset, backlit keys, and a large trackpad for precise navigation and control. Optimal key spacing allows fast, fluid typing.
  • Slim and compact Performs like a traditional, full-size keyboard.
  • Clicks in place instantly Use in combination with the Surface Pro (11th Edition), Pro 9 and Pro 8* kickstand for a perfect laptop experience anywhere.

How do you sum only visible rows in Excel?

For a list that users filter, SUBTOTAL excludes rows removed by the filter. Choose its function number based on whether manually hidden rows should count:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • =SUBTOTAL(9,range) sums the visible filtered results and includes manually hidden rows.
  • =SUBTOTAL(109,range) sums the visible filtered results and excludes manually hidden rows.

Replace range with the cells to total. Excel also ignores nested SUBTOTAL results within the referenced range, which helps prevent double counting when subtotals are present. Details are in Microsoft’s SUBTOTAL reference.

Rank #3
Pixiecube Excel Cheat Sheet Desk Pad | Excel Shortcut Keys Mouse Pad | Extended Large XL Gaming Mousepad | PC Office Spreadsheet Keyboard Mat | Non-Slip Stitched Edge
  • EXCEL SHORTCUTS. ZERO SEARCHING. – Our bestselling reference mat puts an extensive collection of commonly used commands, formulas and helpful tricks directly beneath your fingertips so you can find answers fast, work smarter and stay in the flow.
  • YOUR DESK. SMARTER. – Clearly organized sections for navigation, selection, formatting, data and functions make it easy to find the right Excel command exactly when you need it.
  • LEARN, WORK & RESET – Built-in desk-exercise diagrams give you 10 quick ways to stretch, recharge and return to work feeling sharper.
  • ROOM TO WORK & CREATE – The extended 31.5 x 11.8-inch Pixiecube desk mat fits a laptop or keyboard and mouse, while the soft 2 mm surface adds comfort and protects your desktop.
  • BUILT FOR REAL-WORLD WORKDAYS – A rugged stitched edge helps prevent fraying, and the water-resistant, stain-resistant surface protects against scratches, spills and everyday wear—because smarter desks should work harder.

When does AGGREGATE make sense?

AGGREGATE supports a sum operation and options for ignoring errors or hidden rows. It is useful when one of those controls is actually needed—not as a universal replacement for SUM or SUBTOTAL. Microsoft documents different reference and array forms and notes that the function is designed for vertical ranges rather than horizontal data. Check the form and options you need in Microsoft’s AGGREGATE reference.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What does AutoSum do?

AutoSum is a quick way to insert a basic total for an adjacent row or column. It enters a formula using SUM; you can inspect or edit that formula afterward. Use it to save keystrokes, not because it uses a different summing function. Microsoft explains the workflow in its AutoSum guide.

Best Value
SYNERLOGIC Microsoft Word/Excel (for Windows) Reference Guide Keyboard Shortcut Sticker, Laminated, No-Residue Vinyl (White/Small)
  • 💻 ✔️ EVERY ESSENTIAL SHORTCUT - With the SYNERLOGIC Reference Keyboard Shortcut Sticker, you have the most important shortcuts conveniently placed right in front of you. Easily learn new shortcuts and always be able to quickly lookup commands without the need to “Google” it.
  • 💻✔️ Work FASTER and SMARTER - Quick tips at your fingertips! This tool makes it easy to learn how to use your computer much faster and makes your workflow increase exponentially. It’s perfect for any age or skill level, students or seniors, at home, or in the office.
  • 💻 ✔️ New adhesive – stronger hold. It may leave a light residue when removed, but this wipes off easily with a soft cloth and warm, soapy water. Fewer air bubbles – for the smoothest finish, don’t peel off the entire backing at once. Instead, fold back a small section, line it up, and press gradually as you peel more. The “peel-and-stick-all-at-once” method only works for thin decals, not for stickers like ours.
  • 💻 ✔️ Compatible and fits any brand laptop or desktop running Windows 10 or 11 Operating System.
  • 💻 ✔️ Original Design and Production by Synerlogic Electronics, San Diego, CA, Boca Raton, FL and Bay City, MI, United States 2020. All rights reserved, any commercial reproduction without permission is punishable by all applicable laws.
Rank #4
Sale
Incase Wired Keyboard 600 – Designed by Microsoft – Spill Resistant, Quiet Touch Keys, Plug and Play, 4 Hotkeys, Windows Start Key – Black
  • Efficient Media Controls: The Wired Keyboard 600, designed by Microsoft, features a Media Center with four hot keys for easy control of play/pause, volume up, volume down, and mute functions.
  • Quiet and Responsive Keys: Enjoy a comfortable typing experience with quiet, thin-profile keys that are both responsive and efficient.
  • Convenient Shortcuts: Quickly access common tasks with dedicated shortcut keys, including a calculator hot key and a Windows start screen key.
  • Spill-Resistant Design: Work confidently with a spill-resistant design that protects your keyboard from accidental messes.
  • Plug-and-Play Simplicity: No software needed—just connect the keyboard to your PC and start using it right away, with a full number pad for efficient data entry.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.