Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Remove Duplicates Example in Excel
  • Understanding Anova in Excel
  • How To Filter Data in Excel
  • Example of COUNTIFS with variable table column in Excel
  • How To Sort One Column or Multiple Columns in Excel

References

  • How to use Excel VLOOKUP Function
  • Merge tables with VLOOKUP in Excel
  • To count total rows in a range in Excel
  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation
  • INDEX function: Description, Usage, Syntax, Examples and Explanation

Data Validations

  • Excel Data validation no punctuation
  • Excel Data validation date in specific year
  • Prevent invalid data entering in specific cells
  • Data validation must not exist in list
  • Excel Data validation with conditional list

Sum formulas only in Excel

by

This tutorial shows how to Sum formulas only in Excel using the example below;

Formula

=SUMPRODUCT(range*ISFORMULA(range))

Explanation

To sum results from formulas only, you can use the SUMPRODUCT and ISFORMULA functions. In the example shown, the formula in F6 is:

=SUMPRODUCT(sales*ISFORMULA(sales))

where “sales” is the named range C5:C13, values in C5:C9 are hardcoded, and values in C10:C13 are generated with formulas.

How this formula works

This formula uses boolean logic to “filter” the numbers in column C before summing with the SUMPRODUCT function. When the formula is evaluated, values in the named range “sales” are expanded into an array:

{925;1038;1105;1210;1250;1313;1379;1448;1520}

To filter out any values that aren’t created by a formula, the ISFORMULA function is to create an array of TRUE FALSE values like this:

=ISFORMULA(sales)
={FALSE;FALSE;FALSE;FALSE;FALSE;TRUE;TRUE;TRUE;TRUE}

When these two arrays are multiplied by each other, the math operation coerces the TRUE and FALSE values to 1’s and 0’s:

=SUMPRODUCT({925;1038;1105;1210;1250;1313;1379;1448;1520}*{0;0;0;0;0;1;1;1;1})
=SUMPRODUCT({0;0;0;0;0;1313;1379;1448;1520})

The zeros cancel out non-formula results, and SUMPRODUCT sums and returns a final result.

Not formulas

To sum values not generated by a formula, you can add the NOT function like this:

=SUMPRODUCT(sales*NOT(ISFORMULA(sales)))

Here, the NOT function reverses the TRUE FALSE results returned by ISFORMULA function, which filters out any values generated with a formula.

Post navigation

Previous Post:

How to use Excel CHOOSE Function

Next Post:

Customize Ribbon In Excel

Leave a Reply Cancel reply

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

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • TRUE function: Description, Usage, Syntax, Examples and Explanation
  • XOR function: Description, Usage, Syntax, Examples and Explanation
  • Not Equal To ‘<>‘ operator in Excel
  • IFNA function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Get first Monday before any date in Excel
  • Calculate date overlap in days in Excel
  • Calculate time difference in hours as decimal value in Excel
  • How to get workdays between dates in Excel
  • YEAR function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Running count group by n size in Excel
  • How to randomly assign people to groups in Excel
  • Group times into 3 hour buckets in Excel
  • Group numbers at uneven intervals in Excel
  • Calculate conditional mode with criteria in Excel

General

  • Freeze and Unfreeze Panes in Excel
  • Lock Cells in a Worksheet Excel
  • How to calculate percent of students absent in Excel
  • How to password protect excel sheet?
  • Find, Select, Replace and Go To Special in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning