TGViewer
MS Excel for Data Analysis MS Excel for Data Analysis @excel_analyst ยท 73.1K subscribers
Post #2335 2.32K
๐Ÿ“Š Excel Formulas โ€” Part 8

This part focuses on Advanced Calculation Functions โ€” useful for working with filtered data, multiple calculations, and large datasets.

1๏ธโƒฃ SUBTOTAL

Performs calculations while respecting filtered or hidden rows depending on the function number.

=SUBTOTAL(9,B2:B100)

Here, 9 means SUM.

Common function numbers:

1 โ†’ AVERAGE

2 โ†’ COUNT

3 โ†’ COUNTA

9 โ†’ SUM

4 โ†’ MAX

5 โ†’ MIN

๐Ÿ’ก Very useful when working with filtered tables.

2๏ธโƒฃ AGGREGATE

Performs calculations while allowing you to ignore errors, hidden rows, or nested subtotals.

=AGGREGATE(9,5,B2:B100)

Here:

9 โ†’ SUM

5 โ†’ Ignore hidden rows

It supports functions such as:

โ€ข AVERAGE

โ€ข COUNT

โ€ข MAX

โ€ข MIN

โ€ข SUM

โ€ข LARGE

โ€ข SMALL

3๏ธโƒฃ SUMPRODUCT

Multiplies corresponding values and then adds the results.

=SUMPRODUCT(B2:B10,C2:C10)

Example:

Product Price Quantity

Laptop 50000 2

Mouse 800 5

Keyboard 1500 3

=SUMPRODUCT(B2:B4,C2:C4)

This calculates:

50000ร—2 + 800ร—5 + 1500ร—3

Result โ†’ 107,500

๐Ÿ’ก Extremely useful for weighted calculations and business analysis.

4๏ธโƒฃ LARGE

Returns the nth largest value.

=LARGE(B2:B10,1)

โ†’ Largest value

=LARGE(B2:B10,2)

โ†’ 2nd largest value

5๏ธโƒฃ SMALL

Returns the nth smallest value.

=SMALL(B2:B10,1)

โ†’ Smallest value

=SMALL(B2:B10,2)

โ†’ 2nd smallest value

6๏ธโƒฃ RANK.EQ

Returns the rank of a number within a dataset.

=RANK.EQ(B2,$B$2:$B$10,0)

0 โ†’ Highest value gets rank 1

1 โ†’ Lowest value gets rank 1

Example:

Sales = 95000

Rank โ†’ 2

7๏ธโƒฃ SUMPRODUCT + Conditions

SUMPRODUCT can also perform conditional calculations.

=SUMPRODUCT((A2:A10="East")*(B2:B10))

This calculates the total of values in column B where the region is East.

๐Ÿ’ก Useful when you need flexible calculations without creating helper columns.

๐Ÿง  Quick Reference

SUBTOTAL โ†’ Calculations that work well with filtered data

AGGREGATE โ†’ Advanced calculations with options to ignore certain values

SUMPRODUCT โ†’ Multiply and sum corresponding values

LARGE โ†’ nth largest value

SMALL โ†’ nth smallest value

RANK.EQ โ†’ Rank values

SUMPRODUCT + Conditions โ†’ Flexible conditional calculations

๐Ÿ’ก Practice

Using a sales dataset, try to calculate:

1.

Total visible sales โ†’ SUBTOTAL

2.

Average visible sales โ†’ SUBTOTAL

3.

Sum while ignoring hidden rows โ†’ AGGREGATE

4.

Total revenue from Price ร— Quantity โ†’ SUMPRODUCT

5.

3rd highest sale โ†’ LARGE

6.

2nd lowest sale โ†’ SMALL

7.

Rank each salesperson โ†’ RANK.EQ

8.

Total East-region sales โ†’ SUMPRODUCT

๐Ÿ”ฅ Double Tap โค๏ธ For More
  • โค 11
More from @excel_analyst
  1. Sep 29, 2026๐Ÿ“Š Excel Shortcuts โ€” Part 3 This part focuses on Formatting Shortcuts โ€” quickly format celโ€ฆ
  2. Sep 29, 2026๐—™๐—ฅ๐—˜๐—˜ ๐—ฅ๐—ฒ๐˜€๐—ผ๐˜‚๐—ฟ๐—ฐ๐—ฒ๐˜€ ๐—ง๐—ผ ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป ๐—”๐—œ ๐—ถ๐—ป ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ๐Ÿš€ โ€‹ Explore 6 free resourceโ€ฆ
  3. Sep 28, 2026๐Ÿ“Š Excel Shortcuts โ€” Part 2 This part focuses on Navigation & Selection shortcuts โ€” especiโ€ฆ
  4. Sep 28, 2026๐ŸŽ“ ๐—›๐—”๐—ฅ๐—ฉ๐—”๐—ฅ๐—— ๐—จ๐—ก๐—œ๐—ฉ๐—˜๐—ฅ๐—ฆ๐—œ๐—ง๐—ฌ ๐—™๐—ฅ๐—˜๐—˜ ๐—ข๐—ก๐—Ÿ๐—œ๐—ก๐—˜ ๐—–๐—ข๐—จ๐—ฅ๐—ฆ๐—˜๐—ฆ ๐Ÿ˜ Dreaming ofโ€ฆ
  5. Sep 27, 2026๐Ÿ“Š Excel Shortcuts โ€” Part 1 Master these basic shortcuts first. They will save time everyโ€ฆ
  6. Sep 27, 2026๐—Ÿ๐—ฒ๐˜ƒ๐—ฒ๐—น ๐—จ๐—ฝ ๐—ฌ๐—ผ๐˜‚๐—ฟ ๐—ฆ๐—ธ๐—ถ๐—น๐—น๐˜€ ๐˜„๐—ถ๐˜๐—ต ๐—ง๐—ต๐—ฒ๐˜€๐—ฒ ๐—š๐—ฎ๐—บ๐—ฒ-๐—–๐—ต๐—ฎ๐—ป๐—ด๐—ถ๐—ป๐—ด ๐—–๐—ผ๐˜‚โ€ฆ
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook โ†’Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 โ†’