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

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

SUM is still the right Excel function for a straightforward total. Use SUMIF or SUMIFS when you need conditions, SUBTOTAL when totals should respond to filters, and AGGREGATE when you need its specific options for handling errors or hidden rows. 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
Add a normal range or a few ranges SUM It is the direct choice for a basic total, such as =SUM(A2:A6). Microsoft’s SUM documentation covers its syntax and behavior.
Add values that meet one condition SUMIF Use it when one criterion determines which values to add.
Add values that meet multiple conditions SUMIFS Use it to apply multiple criteria to the values being summed.
Sum a filtered list SUBTOTAL(9,range) or SUBTOTAL(109,range) Both omit filtered-out rows; the number determines whether manually hidden rows count.
Sum while applying specific error- or hidden-row handling AGGREGATE Choose it when its options solve a real requirement, particularly for vertical data.
Insert a basic total quickly AutoSum It inserts a SUM formula for an adjacent row or column; you can inspect or edit that formula afterward.

When SUM is the best choice

For an ordinary total, SUM is clear and direct. It accepts ranges, individual cell references, and numbers supplied as arguments. For example, =SUM(A2:A6) adds the referenced cells.

Be aware that Excel can treat text and logical values differently depending on whether they are referenced or supplied directly as function arguments. A numeric-looking entry is not necessarily included in every situation; consult Microsoft’s SUM reference if a total does not match expectations.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

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

When to use SUMIF or SUMIFS

SUMIF: one condition

Use SUMIF when a single criterion determines which values to add. Its arguments are the criteria range and criterion, followed by an optional sum range. If you omit the sum range, Excel sums the criteria range itself. See Microsoft’s SUMIF documentation for the syntax.

#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

SUMIFS: multiple conditions

Use SUMIFS when values must satisfy more than one criterion. Its argument order differs from SUMIF: SUMIFS begins with the sum_range, followed by criteria-range and criterion pairs. Microsoft documents a maximum of 127 such pairs. Keep corresponding ranges aligned in shape so each criterion is evaluated against the intended summed value. The full syntax is in Microsoft’s SUMIFS reference.

Do not swap formulas by changing only the function name: SUMIF’s optional sum range is third, 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.

When to use SUBTOTAL for filtered lists

SUBTOTAL excludes rows removed by a filter. Its function number controls how it treats rows hidden manually: 9 includes them, while 109 excludes them. For example, use =SUBTOTAL(9,B2:B20) to include manually hidden rows, or =SUBTOTAL(109,B2:B20) to leave them out. Nested SUBTOTAL results within the referenced range are ignored, which helps avoid double counting. See Microsoft’s SUBTOTAL documentation.

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

When AGGREGATE is worth using

AGGREGATE supports SUM among its operations and offers options for ignoring error values or hidden rows. Use it when one of those behaviors is needed—not as a blanket replacement for SUM or SUBTOTAL. Microsoft describes AGGREGATE as designed for vertical ranges and distinguishes between its reference and array forms; see the AGGREGATE reference before choosing a form.

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.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

AutoSum is a shortcut, not a different function

AutoSum can quickly total an adjacent row or column by inserting a formula that uses SUM. The resulting formula remains visible and editable, so AutoSum changes how you enter the calculation, not which summing function Excel uses. Microsoft explains the workflow in its AutoSum instructions.

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.