Ravindra BagaleCourses & study guides मराठी Track your progress

6. Tables, Sorting and Filtering

Excel

6.7 SUBTOTAL and AGGREGATE

Choose the records before choosing the total

A fictional store coordinator filters a grocery delivery list to Pune. They can point to four order IDs and add the amounts by hand to get ₹544. The figure at the top of the workbook still says ₹2,870. A student might decide that Excel failed to notice the filter. The same workbook may be showing exactly the right number in both places. The important question is whether the number should describe every order in the source or the records available in the current view.

A spreadsheet reference such as C2:C11 tells a formula which cells it can read. A summary operation then tells it what to calculate. SUM adds the numeric contents of the referenced cells even when some source rows are hidden. SUBTOTAL lets you choose a summary operation, and it respects the source filter. You also choose whether rows hidden by hand contribute. AGGREGATE gives an operation and a separate option for values to skip, including formula errors. It can do work such as finding the second-largest valid amount.

The examples continue the invented grocery order list inspired by familiar experiences on Blinkit and Amazon Now. The figures, unnamed coordinator and reporting procedures belong to the fictional workbook. You will also use a separate settlement exercise with intentionally missing input to see where error handling helps and which questions remain unanswered.

Identify why an order is out of view

When you apply an Area filter to a sheet, Excel checks a field in each record and can hide the rows that fail. Manual hiding happens when somebody chooses to conceal particular rows through the sheet controls. These two kinds of invisibility create different possible reporting needs. For example, a Pune route filter defines the set you agreed to report. Somebody might hide a row by hand while inspecting adjacent entries, and your route report may still be intended to include it. If you want the figure to follow what remains physically visible, you need the other operation code.

Visibility is a property of the worksheet view. Amounts stay stored in the source.
OrderAmountCurrent row state
A100Visible
B200Filtered out
C300Manually hidden
D400Visible
  • All referenced amounts. SUM adds 100 + 200 + 300 + 400 to give ₹1,000. The value of each amount is still present.
  • Follow the filter. SUBTOTAL using 9 excludes B because its row failed the filter. It includes C, which still belongs to the filter result. The calculation is 100 + 300 + 400, or ₹800.
  • Follow the currently visible rows. SUBTOTAL using 109 excludes both B and C. The calculation is 100 + 400, or ₹500.
  • Policy check. Re-show C while the filter stays applied and the two SUBTOTAL results are both ₹800. Checking a setup with both kinds of hidden rows helps distinguish operation codes that otherwise give equal answers.
SUM gives 1000 for all four amounts. With a 200 row filtered out and a 300 row manually hidden, SUBTOTAL 9 gives 800 and SUBTOTAL 109 gives 500.
Each amount uses the same source cells. Only the policy for including rows changes.

Follow a vertical range with one record per row

Both functions are designed for a vertical list. Data such as Amount or Min belongs in a column with one value per order. If you add measurements across B2:G2, hiding one of those columns is a different action. For example, SUBTOTAL(109,B2:G2) does not drop a value just because you hid column D. To omit a metric in a horizontal calculation, change the formula or define explicitly which fields you want. The visibility controls in these examples describe hidden rows.

Translate the request into a SUBTOTAL operation

Pick the operation and the manual-hide policy together

The first argument in SUBTOTAL is a number used as an operation code. When the first number is 9, the calculation sums the chosen cells. The corresponding 109 code still sums, but also excludes manually hidden rows. Both codes exclude rows outside the filter result and ignore nested SUBTOTAL formulas within the referenced cells. A nested subtotal is an existing subtotal formula inside the range used by another subtotal. Omitting it helps when a list contains individual rows and a summary of those same rows.

Choose one pair based on the calculation, then decide whether to omit manually hidden rows.
OperationInclude manually hiddenExclude manually hiddenUse with
Average1101Numeric durations
Count numbers2102Numeric measurements
Count nonempty3103Text IDs
Maximum4104Largest amount
Minimum5105Smallest amount
Sum9109Total of numeric amounts

Read the operation with its input field. SUBTOTAL(103,tblOrders[Order ID]) counts nonempty visible IDs. SUBTOTAL(102,tblOrders[Mins]) counts visible cells whose values are numbers. If one of four orders still lacks a time reading, the first measure can be four and the second three. For an average time, the numeric observations supply the denominator. Including a zero measurement is reasonable when zero is a valid observation. Replacing missing times with zero changes the meaning and can make the average look faster.

Keep raw records and group summaries identifiable

Imagine two sales groups with amounts 100 and 200 in the first and 300 and 400 in the second. Each group is followed by a SUBTOTAL(9,...) row giving 300 and 700. If you SUM every amount cell including both group summaries, you get ₹2,000. That is double the detail amount. A SUBTOTAL(9,...) spanning this same range ignores the two nested SUBTOTAL results and gives ₹1,000. This is useful when a workbook already contains group rows created by Excel’s Subtotal command. The command itself, which creates group rows and an outline, is covered in the next lesson. This lesson focuses on calculating with the function.

The skip behavior is about formulas recognized as nested subtotals. If you type 300 and 700 as plain numeric group totals in the same amount column, ordinary detail and summary values look alike to another SUBTOTAL. This can reintroduce double counting. Keep group labels explicit, verify which formulas supply the summaries and prefer an independent aggregate over only the detail range when the source design permits it.

Lab 1. Build the dispatch totals with separate meanings

Create a practice workbook with sheets called Orders and Check. Type this five-column subset of the Chapter 3 source in Orders A1:E11, then convert it to an Excel Table with headers. Name it tblOrders where the client supports naming it. If you already have a Table with that name and the same data in a separate practice workbook, you can use a saved copy. Use numeric Amount and Mins cells. Read the four summary figures from Check after each change to see whether the intended population changed.

Orders A1:E11. Keep the heading Mins consistent with the formulas.
Order IDCityAmountMinsStatus
BLK-1001Pune649Delivered
BLK-1002Nashik27012Delivered
AMN-1003Pune11014Delivered
BLK-1004Nagpur24011Cancelled
AMN-1005Kolhapur23216Delivered
BLK-1006Pune1508Delivered
BLK-1007Solapur129918Delivered
AMN-1008Sambhaji Nagar19510Returned
BLK-1009Pune22013Cancelled
BLK-1010Nashik9017Delivered

Give every metric its own cell and name

In Check, put the four formulas in four separate cells. The first remains a master amount. The others follow the view. The separate sheet makes the checks accessible when Orders hides rows. If your Table name differs, substitute the correct name. You can also supply vertical ranges such as Orders!C2:C11 for Amount and Orders!A2:A11 for Order ID. Fixed ranges should be extended deliberately if you later append data.

  • All source amounts: =SUM(tblOrders[Amount])
  • Visible amount: =SUBTOTAL(109,tblOrders[Amount])
  • Visible IDs: =SUBTOTAL(103,tblOrders[Order ID])
  • Average visible timing: =SUBTOTAL(101,tblOrders[Mins])
  1. Set the baseline. With all rows displayed, the first two totals are both 2,870, the ID count is 10 and the average is 12.8 minutes. Compute the duration sum 128 and divide by ten to confirm which numbers are feeding the time calculation.
  2. Filter City to Pune. Look for BLK-1001, AMN-1003, BLK-1006 and BLK-1009. The grand amount stays 2,870. Visible amount becomes 544 and visible IDs becomes 4. Durations 9, 14, 8 and 13 add to 44, yielding an average of 11 minutes. Nothing in the City rule tests delivery status.
  3. Test the manual-hide difference. While the Pune filter is active, add a check with =SUBTOTAL(9,tblOrders[Amount]). Hide the whole worksheet row containing BLK-1006 using the sheet’s Hide Rows control. Verify the remaining Pune IDs. The amount that tracks the filter is still 544. Visible amount is 394 and visible ID count is 3. Visible timings are 9, 14 and 13, with mean 12. If the result appears stale, confirm workbook calculation is running and follow your Excel client’s recalculation control before reading the checks.
  4. Restore the manual change. Unhide the BLK-1006 row and recheck that the Pune view shows exactly its original four IDs. Filter Status to Delivered without changing City. BLK-1009 drops out. Visible amount is 324 and the average timing is 31 divided by 3, about 10.33 minutes. Both responses come from the same set of three order IDs.
  5. Reset the source view. Clear both filters and check that all ten rows are visible. Read all four starting numbers again. Manual hides are separate from column conditions, so confirm no manual hide remains if the totals do not recover.

Follow the scope of three summaries

  1. Full source

    All ten amounts total ₹2,870. There is no hidden order, so the visible sum agrees.

  2. Filter City to Pune

    Four orders worth ₹544 pass. Both subtotal sum codes give ₹544. The ordinary SUM keeps reading all ten amounts.

  3. Manually hide the Pune order with ₹150

    Three Pune orders remain visible, worth ₹394. SUBTOTAL with 9 includes the hidden ₹150. SUBTOTAL with 109 excludes it.

  4. Restore ₹150 and filter to Delivered

    The cancelled ₹220 row is excluded by the filter. Both subtotal sum codes give ₹324. There are three visible IDs.

Add a heading that reflects the choice of view

In a different Check cell, try this display formula in the Pune-only view.

="Showing "&SUBTOTAL(103,tblOrders[Order ID])&" orders worth ₹"&TEXT(SUBTOTAL(109,tblOrders[Amount]),"#,##0")

It should read “Showing 4 orders worth ₹544” for the original Pune view. TEXT turns the numeric total into formatted text for this sentence. Retain the numeric total in its own Check cell for other calculations, charts or tests. If your local currency or grouping separators appear in a different style, check the numeric value first. The word “Showing” matters. Once you clear the filters, a pasted copy of the text from the old report would still say four. The formula in the original workbook will recompute as the view changes.

Read the two choices in AGGREGATE separately

A pending calculation can return an error value such as #N/A when a required input is unavailable. That value is different from a blank and different from a recorded zero. Many arithmetic summaries propagate the error. For a provisional figure, you might deliberately sum the available numbers and report how many records were excluded. AGGREGATE can make that choice explicit. Its formula identifies the summary operation first, then the exclusion policy, followed by the referenced cells.

In =AGGREGATE(9,6,C2:C6), 9 asks for a sum and 6 asks to skip error values. The range supplies the amounts. This option does not ask Excel to disregard manually hidden rows or nested summary formulas. The two numbers specify independent choices. While 109 is the SUBTOTAL code for a visible-row sum, it is outside AGGREGATE’s function-number list. For AGGREGATE use the sum code 9 with the separate option required by the task.

Common exclusion choices for a direct vertical reference.
OptionOmit manually hidden rowsOmit error valuesOmit nested SUBTOTAL and AGGREGATE
0NoNoYes
1YesNoYes
2NoYesYes
3YesYesYes
4NoNoNo
5YesNoNo
6NoYesNo
7YesYesNo

Know what was excluded before reporting the result

Suppose a made-up marketplace reconciliation shows four valid amounts and one missing. The notebook now reports ₹1,000 from the four amounts. A reader might reasonably assume all five were settled. Give it a label such as “Confirmed amount from 4 of 5 records” and separately list the fifth ID. A provisional decision might use the confirmed amount, while a final reconciliation needs the missing record resolved. Replacing an unavailable amount with zero would erase the distinction. Keeping the error and its record gives the team a way to reopen the question.

Pass the rank when the operation asks for one

For LARGE, use function number 14 and an additional rank argument. In =AGGREGATE(14,6,C2:C6,2), the last 2 selects the second-largest numeric amount remaining after skipping errors. If the remaining amounts are 100, 200, 300 and 400, that result is 300. With rank 1 the largest is 400. With SMALL, code 15 and rank 1 gives 100. If you omit the required rank, Excel returns a value error for this usage. Choose a valid rank within the data you actually included. A result of ₹300 identifies an amount, so read the appropriate ID separately if the request asks for a particular order, especially when two rows have the same amount.

Lab 2. Reconcile valid amounts and inspect a rank

Set up a separate worksheet named Settlement. This independent test uses five imaginary order settlements in a marketplace context inspired by Amazon Now. No figures reflect a real business. In A1:C6 enter the headers and data below. In C6 type =NA() to generate a deliberate error value. Typing an ordinary message saying “missing” would test a different type of input, so use the formula for this experiment.

Settlement A1:C6 with numeric amounts and one formula error.
Receipt IDReview groupAmount
ST-01Selected100
ST-02Other200
ST-03Selected300
ST-04Selected400
ST-05Selected=NA()

Establish the confirmed amount and flag the unfinished one

  1. On Check enter =SUM(Settlement!C2:C6). The result is #N/A because the input contains that error. With a different input error, the propagated error can differ. This formula reveals that you lack a required amount for an unconditional reconciliation.
  2. Try =AGGREGATE(9,6,Settlement!C2:C6). It returns 1,000 for the four valid numbers. Separately count valid numeric amounts with =COUNT(Settlement!C2:C6) and nonempty receipt IDs with =COUNTA(Settlement!A2:A6). Expect four and five. Go back to Settlement and find ST-05 to explain the difference. The numbers alone do not tell you whether a missing value is a formula error, a blank or misplaced text.
  3. Try =AGGREGATE(14,6,Settlement!C2:C6,2). It returns 300. The rank is measured from the largest valid amount, skipping the error. Change the rank temporarily to 1 and expect 400, then restore 2. Keep the output labeled so it does not look like another sum.
  4. With no filter applied, manually hide the row of ST-03. Try =AGGREGATE(9,7,Settlement!C2:C6). The result is 700 from 100 + 200 + 400, with both the manual hide and error skipped. Compare it with the option 6 sum, which in this setup still includes the manually hidden 300 and gives 1,000. Unhide ST-03 before continuing.

Reproduce the filter and manual-hide example without the error row

Select A1:C5 as the ordinary filter range so it contains only ST-01 through ST-04. Alternatively put those four rows on a separate scratch tab if Excel on your device tries to infer the fifth row. Use the Review group condition Selected to exclude ST-02, then manually hide ST-03. Check SUM, SUBTOTAL(9,...), SUBTOTAL(109,...) and AGGREGATE(9,5,...) with the same direct reference to only those four amounts. Expect 1,000, 800, 500 and 500 respectively. At this point the reference excludes the error cell entirely. By comparing it with the earlier error exercise, you have changed only the scope and visibility policy.

After reading the totals, clear the group filter and double-check what is visible. Also explicitly unhide any manually hidden record and confirm the source IDs against the original list. Keep ST-05 intact for the next time you run the error test. The same correct error-aware formulas are still on Check, and you can report their actual tested populations next to each one.

Build a coverage check next to an error-aware total

Suppose the shift lead now wants a provisional total for whichever Review group is visible in the Settlement exercise. They also need to see whether each visible order has provided a usable amount. To answer both questions, put three separate results on Check: the number of visible receipt IDs, the number of visible numeric amounts and the sum of valid visible amounts. The counts give the sum a context. They are especially important when an error-aware formula quietly skips one of its source values.

  1. Start from the whole five-row range. Clear the previous filter and manual hides. This time apply the new filter to Settlement A1:C6 so it includes ST-05 as well. The deliberate error is valid teaching input because the amount is still unresolved. The receipt remains in the source and must be included in the count of orders you plan to reconcile.
  2. Count the reported records. Use =SUBTOTAL(103,Settlement!A2:A6) to count every nonempty visible receipt ID. Use =SUBTOTAL(102,Settlement!C2:C6) for visible numeric amounts. COUNT on a referenced range reads numeric cells. The error in ST-05’s amount cell does not supply a numeric observation. With no filter these checks read 5 and 4.
  3. Sum valid amounts under the same row policy. Use =AGGREGATE(9,7,Settlement!C2:C6) for a direct-reference sum that skips hidden rows and errors. With all source rows visible it reads 1,000. Keep the label “Visible valid amounts.” In a source containing nested summary formulas, review the alternative option that also excludes those summary rows and verify with a controlled exercise.
  4. Filter Review group to Selected. Expect four visible IDs: ST-01, ST-03, ST-04 and ST-05. Three have valid numeric amounts. The provisional total is 800. ST-02 is excluded by the view. ST-05 is visible and counted in the record population, and its amount is excluded from the valid sum. Those exclusions have different causes and different follow-up actions.
  5. Manually hide ST-03 within Selected. Expect three visible IDs, two observed amounts and a sum of 500. Compared with the previous result, the hide removed an ID and an observed amount together. The difference between visible IDs and visible numeric amounts remains one. Inspect the two remaining numeric values, 100 and 400, before relying on the total.

Decide what an empty denominator means

A coverage percentage is the share of expected measurements that are available. In the Selected view it is three measured amounts out of four visible receipts, or 75%. In the manually hidden view it is two out of three, about 66.7%. A lower coverage percentage can appear even though you hid a valid row and changed nothing about the error. If there are no visible IDs, a ratio of measurements to IDs is undefined. Use a label such as “No visible receipts” for that case and keep the three numerical controls available.

Correct the input in a practice copy to see the metric recover. Unhide ST-03, keep Selected, and replace the ST-05 error with the confirmed amount 0. There are now four numeric observations across four IDs. The sum remains ₹800, while coverage moves to 100%. Replacing the error with a verified zero was a new source fact. That is different from setting every missing value to zero in a summary formula. Finally restore the =NA() case and clear the filter so you can reuse the original error exercise. Mark the check sheet with the data version you last used.

Check numeric type separately from numeric meaning

Repeat the zero test with an apostrophe before 0 so Excel stores the value as text. In the Selected view the displayed value may still look like a zero. Check the formula bar or ISNUMBER. The numeric count returns to three, because the reference now contains text in that position. The confirmed amount remains ₹800. A proper numeric 0 and text "0" produce the same total here for different reasons, and a count can distinguish them. As a further check, make sure the Amount column contains the correct unit. Dates stored as numbers can pass a numeric-type test while making no business sense as rupee amounts. The count is a starting control, and the field still needs the right economic meaning and data type.

Keep validation changes away from the original report

Use a short scratch copy for the deliberate zero and hide tests. If a working report already feeds a chart, changing an amount or leaving the sheet filtered can affect the next person who opens it. A separate exercise makes the results repeatable. Write down the named case before saving: full source, Selected only, Selected with manual hide, or Selected after a confirmed zero. A useful handoff lists the record that produced the difference as well as the number that changed.

Keep the row context when it matters

A direct reference such as Settlement!C2:C5 points to four locations in the sheet. The worksheet can tell Excel which rows those cells occupy. A calculated array such as Settlement!C2:C5*(Settlement!C2:C5>0) produces four numbers. It multiplies each amount by the result of a positivity check. For four positive inputs, all the output numbers happen to be identical to the original numbers, but this expression still supplies calculated values. Microsoft documents an important consequence of that distinction: when the array argument includes a calculation, the options to skip hidden rows, nested subtotals and nested aggregates do not work in the same way.

Compare the largest result after a controlled manual hide

Clear all filter conditions on Settlement first and restore ST-03. Compare two LARGE calls restricted to the first four numeric amounts in C2:C5. Use a separate scratch check. In the first call, pass Settlement!C2:C5 directly as the third argument to AGGREGATE. In the second, pass the positivity expression. Use operation 14, option 3 and rank 1 in each. With all four records visible, both formulas find 400. Then manually hide only ST-04, which holds the 400. The direct-reference formula should now find 300. The calculated argument can still return 400 under the documented caveat. Compare the exact formulas below:

=AGGREGATE(14,3,Settlement!C2:C5,1)
=AGGREGATE(14,3,Settlement!C2:C5*(Settlement!C2:C5>0),1)
With the 400-rupee row manually hidden, LARGE rank 1 and option 3 returns 300 from a direct range. A calculated array can still return 400.
Check the actual third argument before trusting a rank described as visible-only.

If the rule requires transformations and a visibility check, calculate the approved values in a helper column on the same source rows. Reference that column directly in the summary, and verify with a known row deliberately hidden. A helper gives you a way to inspect intermediate values, including rows that failed a business criterion. Design its outputs around the chosen operation. Replacing every rejected amount with zero may seem harmless for a sum, but it changes the answer for a minimum, average or count. Take time to decide which values represent missing rather than a measured zero.

Use a nested calculation to test what gets skipped

In a different scratch sheet, enter 100 and 200 in B2:B3, a formula =SUBTOTAL(9,B2:B3) in B4, 300 and 400 in B5:B6, and a formula =SUBTOTAL(9,B5:B6) in B7. Put summary labels in A4 and A7. In other cells compare =SUM(B2:B7), =SUBTOTAL(9,B2:B7), =AGGREGATE(9,0,B2:B7) and =AGGREGATE(9,4,B2:B7). Leave every row visible. The first and last read all six numeric values and give 2,000. The two middle formulas each skip the nested subtotal formulas and give 1,000. Values that happened to look equal in a raw list now diverge, which verifies the policy rather than only the calculation.

For a second check replace the B7 formula with the literal 700 in this scratch list. The subtotal-aware formulas now include that numeric value along with the four details. They return 1,700 after omitting only the recognized nested formula in B4. That test shows why pasted summary numbers need clear boundaries. Restore the B7 formula or delete the scratch sheet after recording your observations.

Troubleshoot summaries by tracing records

Match the formula to the reason a row was removed

  • SUM stays at the full amount. Check the reference, then keep that result if it represents the master control. Add a separate SUBTOTAL for the view. Give both labels so people know whether a mismatch is expected.
  • Two SUBTOTAL codes return different values. Compare the manual hide state under the same filter. Their difference is the sum of manually hidden amounts still in the filter result if no other inputs differ. In the Pune lab that amount is ₹150.
  • A missing amount looks like a zero. Inspect the cell and its formula. A real zero remains an observation. A blank or error means the calculation has incomplete input. Retain the missing ID and report completeness separately.
  • Result is unexpectedly zero. Check the visible IDs and a numeric count. No surviving records and surviving rows that add to zero can produce the same amount. An average without numeric observations can return a divide-by-zero error. Show a meaningful message for that case while keeping the input quality visible.
  • Rank seems inconsistent. Verify the operation number, the requested rank and the input type. A low count of available numbers can leave insufficient data for the requested rank. A calculated array can lose the relevant visibility behavior.
  • Summary includes a row twice. Review the referenced range for group total formulas or pasted summaries. Reconcile it to a sample of independent detail values. Use the AGGREGATE option that skips nested summaries when the data structure calls for it.

When a summary comes from a filter that a colleague can change, describe a small reproduction before publishing it. Start with the source count, write the active criteria in words, list one excluded and one included ID and give the result value with its unit. These checks help separate a real data change from a changed view. For a confirmed daily report, record which missing rows are still pending and who will confirm them. The workbook can total known amounts while the external process still has open items.

Quiz. Choose a summary and explain the population

Which result includes a filtered-out ₹200 and manually hidden ₹300?

SUM over all four clean settlement amounts includes them both and gives ₹1,000. Their worksheet rows stay in the reference. The filter and manual hide change the view without moving those amounts.

What changes when SUBTOTAL uses 109 instead of 9?

Each code sums and excludes filtered-out rows. The 109 code also excludes manual hides. In the four-amount test, dropping the manually hidden ₹300 reduces ₹800 to ₹500.

Which operation counts visible text order IDs?

Use SUBTOTAL with 103 on the ID column to count nonempty visible cells. Code 102 counts numeric cells. Neither automatically checks that every order has exactly one ID.

What does the last 2 do in AGGREGATE with function number 14?

Function 14 is LARGE. The last argument is a requested position in descending numeric order. After skipping the error, the second-largest of 100, 200, 300 and 400 is 300.

Why show data completeness next to the option 6 sum of ₹1,000?

The sum has skipped the error row, so only four amounts contributed. Showing four valid amounts out of five receipts keeps the result provisional and signals that ST-05 still needs attention.

When might a manually hidden ₹400 still win a LARGE calculation?

It may win when the AGGREGATE array argument contains a calculation. That form supplies computed values and does not retain the hidden-row exclusion behavior of a direct reference. In the test, the direct call with option 3 finds ₹300.

Interview practice. Explain and verify the summary

How would you build a report with source amount, visible amount and visible count?

Use SUM over the complete source column and SUBTOTAL with 109 on the same amount column. Use SUBTOTAL with 103 on the visible ID column. Put them on an independent sheet with descriptive labels. Establish the unfiltered controls and then check city and status combinations by ID and amount.

Why can SUBTOTAL(9,...) and SUBTOTAL(109,...) agree in one test and differ in another?

Both omit records outside the active filter, so using a filter alone may not distinguish them. Introduce a manual hide inside the currently allowed rows. The 9 operation still includes it, while 109 excludes it. Verify the difference against the specific hidden amount.

How do you explain a group total that doubled after switching to SUM?

Simplify to two groups whose details sum to ₹1,000 and whose nested group subtotals add another ₹1,000. SUM adds everything in its range, including the repeated amounts in the group rows. A subtotal-aware formula or a reference that includes only detail records avoids the duplicate calculation.

How would you report unknown amounts during a daily reconciliation?

Use an error-aware calculation if the business accepts a provisional result, and label the valid numeric population. For the five-receipt test, say ₹1,000 confirmed from four measured amounts and identify ST-05 as pending. A missing amount should be fixed before reporting a complete settlement figure.

What test would catch a calculated-array visibility mistake?

Start with four positive amounts and verify the largest is ₹400. Manually hide the ₹400 row while keeping the four cells in both formulas. Compare a direct reference against a calculated array under the same rank and option. Verify the direct visible result is ₹300. Review the argument type if the computed form keeps ₹400.

Revision cards

  • Source amount. SUM reads the referenced numbers even when rows are concealed.
  • Both subtotal families. Filtered-out records are ignored. The 100 series also skips manual hides.
  • Count a field deliberately. 102 counts numeric observations. 103 counts nonempty visible ID values.
  • Separate AGGREGATE choices. Operation 9 adds, option 6 skips errors. Pick the option based on the input population.
  • Rank. Operation 14 finds a largest-ranked amount. Supply the rank in the final argument.
  • Direct reference. Test against a manually hidden row before depending on array-mode exclusions.

Microsoft references

Continue practising: explore the existing Excel Task Hub for additional exercises.