9.15 EXPAND: Make an Array a Fixed Size
Reserve a fixed display area for a changing number of records
Rani builds a fictional Blinkit and Amazon Now-inspired dashboard. The city report is designed for five available rows. This week only four cities have delivered orders, so one position is unused. Next week six cities might qualify, and her manager still wants only the five largest. The number of underlying records and the number of positions in the layout are different decisions.
EXPAND enlarges a rectangular array to the row and column counts you specify, when those counts are at least as large as the original dimensions. It keeps the existing values at the upper left, then adds positions at the bottom or on the right. A pad value is what Excel displays in those added positions. A dash can indicate an unused layout slot. It does not describe a city, an amount or a measurement.
Read the target dimensions as totals
Take a two-row, two-column block. Asking for three rows and three columns means a result of size three by three, not that Excel should add three to each dimension. The old block occupies four positions. The new one has nine positions. The difference is five pads, because the third row and third column share one corner. If the destination already has that size, the original values fit with no new positions.
- Array. Provide the block of existing values or an expression that returns it.
- Rows. Provide the final height. Omit this argument if the height should remain the original height while you change width.
- Columns. Provide the final width. Omit it when only height needs to change.
- Pad with. Provide a deliberate value for new cells. The default is
#N/A. You can choose text or a number that fits your use case.
Microsoft documents a value error if either requested dimension is smaller than the corresponding input dimension. The dimensions do not trade places: asking a two-by-two array to become one-by-four still asks for fewer rows. Use a row or column selector before expansion if you intend to reduce a dimension. Sending an invalid smaller target does not silently drop any records or enlarge the requested output by itself.
EXPAND is documented for Excel 2024, Microsoft 365 and Excel for the web. The dashboard lab also uses GROUPBY for the grouping step, which Microsoft identifies as a Microsoft 365 feature. The expansion itself accepts a ready block from another method such as a small summary range or a spill. When sharing a workbook, check each function required for its entire formula.
Set up the original order records
Use a blank Orders tab with this ten-record fixture in A1:I11. The practice platform names FreshGo and MarketRush are fictional. Enter numeric Qty, Amount and Minutes, plus valid dates. Watch City in C, Amount in G and Status in I.
| Order ID | Date | City | Platform | Category | Qty | Amount | Minutes | Status |
|---|---|---|---|---|---|---|---|---|
| BLK-1001 | 2 Nov 2026 | Pune | FreshGo | Dairy | 2 | 64 | 9 | Delivered |
| BLK-1002 | 2 Nov 2026 | Nashik | FreshGo | Fruits | 3 | 270 | 12 | Delivered |
| AMN-1003 | 3 Nov 2026 | Pune | MarketRush | Snacks | 1 | 110 | 14 | Delivered |
| BLK-1004 | 3 Nov 2026 | Nagpur | FreshGo | Fruits | 2 | 240 | 11 | Cancelled |
| AMN-1005 | 4 Nov 2026 | Kolhapur | MarketRush | Dairy | 4 | 232 | 16 | Delivered |
| BLK-1006 | 4 Nov 2026 | Pune | FreshGo | Bakery | 5 | 150 | 8 | Delivered |
| BLK-1007 | 5 Nov 2026 | Solapur | FreshGo | Home | 1 | 1299 | 18 | Delivered |
| AMN-1008 | 6 Nov 2026 | Sambhaji Nagar | MarketRush | Staples | 3 | 195 | 10 | Returned |
| BLK-1009 | 7 Nov 2026 | Pune | FreshGo | Snacks | 2 | 220 | 13 | Cancelled |
| BLK-1010 | 8 Nov 2026 | Nashik | FreshGo | Fruits | 1 | 90 | 17 | Delivered |
Lab 1. Keep a five-by-two dashboard block through three data changes
Use the Orders fixture and keep a separate blank dashboard area. In K1 put City and in L1 put Delivered order amount. Reserve K2:L6 for the fixed-size result. A title in another worksheet cell does not move just because a spill grows. A downstream report that uses the spill as input, however, can change shape. A defined display block gives those formulas a consistent location and size.
Start with the four eligible city totals
In a separate empty location such as N2, try the summary alone. This uses City and Amount from the same ten rows. The header and totals arguments request data-only categories with no grand-total row. The −2 sorts the second result column, the grouped amount, in descending order. The final condition keeps only Delivered source records.
=GROUPBY(C2:C11,G2:G11,SUM,0,0,-2,I2:I11="Delivered")
Read Solapur 1,299, Nashik 360, Pune 324 and Kolhapur 232. Four rows remain. Their amounts sum to ₹2,215. Directly expanding this four-row result to five rows works under the current inputs. For example, replacing the inner formula with =EXPAND(GROUPBY(C2:C11,G2:G11,SUM,0,0,-2,I2:I11="Delivered"),5,2,"-") gives one added row. If the grouped result later has six rows, that exact same request would fail because the target is smaller than the input.
Connect eligibility, ranking, selection and expansion
Put the following in K2. It checks the number of eligible records first, then returns the ranked city report if there is at least one. The group count can be smaller than the record count, so the later row limit uses the grouped result itself. The final function adds padding if the selected result has room left.
=LET(keepRows,I2:I11="Delivered",
IF(SUM(--keepRows)=0,
EXPAND(HSTACK("No delivered cities","-"),5,2,"-"),
LET(cityTotals,GROUPBY(C2:C11,G2:G11,SUM,0,0,-2,keepRows),
displayRows,TAKE(cityTotals,MIN(ROWS(cityTotals),5)),
EXPAND(displayRows,5,2,"-"))))
The no-data branch starts with a one-row, two-field text message. EXPAND adds four placeholder rows. In the other branch GROUPBY gives one row for each city. TAKE keeps at most five, and EXPAND fills exactly five rows by two fields. The two branches meet the same display contract while telling the viewer whether any data were present.
| State | Actual city count | First and last shown | Display meaning |
|---|---|---|---|
| Original | 4 | Solapur 1299 and dash row | Four results, then one pad row |
| Two more cities qualify | 6 | Solapur 1299 and Kolhapur 232 | Five ranked results, one undisplayed city |
| Nothing qualifies | 0 | No delivered cities and dash row | One message, then four pad rows |
- Test the original four-city condition. Read the four numbers in descending order. The fifth row is a pair of dashes. Confirm
=ROWS(K2#)gives five and=COLUMNS(K2#)gives two. - Test actual growth into six groups. In a practice copy set Nagpur's BLK-1004 and Sambhaji Nagar's AMN-1008 to Delivered, leaving Pune BLK-1009 Cancelled. The eligible city counts increase to six and all delivered amounts total ₹2,650.
- Check the selected five. Descending order in that copy is Solapur 1299, Nashik 360, Pune 324, Nagpur 240, Kolhapur 232 and finally Sambhaji Nagar 195. The last city is outside the chosen display. The five displayed amounts add to ₹2,455. The unselected ₹195 still exists in the full eligible population.
- Test five exact groups. Change only Nagpur's record to Delivered in another original copy. Five cities qualify, so there are no pads and no city is omitted. Verify a displayed total of ₹2,455 in this case too. It happens to match the six-city display, so use the underlying count to tell them apart.
- Test zero matches. In a new practice copy change every Delivered status to Cancelled. The result still has five rows and two columns. Its first row says No delivered cities and no measure should appear. Restore the original status codes after the test.
Follow the fixed-size report pipeline
Check for the eligible orders
Only Delivered status enters the report. If none qualify, create the explicit message row.
Group and rank
Build city totals and put the largest first. The original data gives four groups.
Keep at most five rows
Take the available groups up to five. A six-city example loses the smallest from the display.
Fill the exact display size
EXPAND adds reserved positions when needed. The final footprint is five by two.
Lab 2. Expand rows and columns and keep new pads separate from source values
On a new sheet called SizeTest enter Pune and 544 in A2:B2, and Nashik and 360 in A3:B3. These are all-status example amounts from two city groups. Each formula below uses this exact two-by-two source. Enter one at a time in an unused area. You can run this lab without GROUPBY.
| Formula | Shape | Expected new cells |
|---|---|---|
| =EXPAND(A2:B3,3,3) | 3 × 3 | Five #N/A positions |
| =EXPAND(A2:B3,3,3,"-") | 3 × 3 | Five dash positions |
| =EXPAND(A2:B3,,3,0) | 2 × 3 | Two zeros in the third output column |
| =EXPAND(A2:B3,4,,"") | 4 × 2 | Two extra rows of empty text |
| =EXPAND(A2:B3,2,2,"-") | 2 × 2 | No new positions |
| =EXPAND(A2:B3,1,3,"-") | Error | A request to reduce rows is invalid |
- Use the first example in D2 and verify the two original rows begin with Pune 544 and Nashik 360, even while the other slots show the default error value.
- Put the second example in H2 and verify the old two-by-two block is unchanged. The five pads occupy positions in the third column of the first two rows and all three positions in the bottom row.
- Verify a column-only operation retains two rows and puts zeros in the two new cells on the right. Zero appears because the formula requested it as a pad.
- In a practice copy replace the original Pune amount in B2 with
=NA(). The formula with custom dashes should still display that source error in the Pune record. Only its five new positions use dashes. - Restore 544. Check the source's amount sum is 904. The pad positions don't represent new sales. Observe both the source counts and the display size independently.
Choose how the output should represent unused cells
A dash works in a human-readable report. An empty string may look like a blank, but it is a returned value. A numeric zero is suitable only if the receiver treats it as a layout convention or a valid numerical choice. The recipient cannot infer the difference from a zero without another status field or a source count. Choose the value and explain its meaning.
In the original Orders data, the three largest amounts are ₹1,299, ₹270 and ₹240. They add to ₹1,809. If you expand those three values to five rows with a pad of zero, SUM remains ₹1,809 but average becomes ₹361.80. The three actual orders have average ₹603. Those calculations use different denominators. If selecting an average for measured orders, calculate it from the three-value input, leaving the five-row display as presentation.
As a simple spreadsheet check, use COUNT on the five displayed amounts once with text dashes and once with numeric zeros. The same selected three amounts give a numeric count of three in the first layout and five in the second. A formatting change to hide zero still leaves its numeric value in the formula output.
Use custom padding to match source schemas only at known positions
When a second source has columns City and Amount and lacks the expected final field called Remarks, expand that source to add a third field before stacking. On SizeTest let A2:B3 remain the source without remarks. In J2:L3 enter Kolhapur, 232, Confirmed and Solapur, 1299, Confirmed. Try =VSTACK(J2:L3,EXPAND(A2:B3,,3,"No remarks supplied")) in a new area.
You should see four rows and three columns. Kolhapur and Solapur still say Confirmed. Pune and Nashik show No remarks supplied. That rule works because the missing field belongs on the right, and both sources agree about their first two fields. If a source lacked City instead, adding the last column would not align the known field names. Construct the intended field sequence explicitly, as in the VSTACK lesson.
Keep editable comments beside their category keys
It can be tempting to show a remarks column by expanding one label or zero to the same height as the city report. For example, =EXPAND("Remarks",4,1,"") makes a four-cell vertical result. It contains the word Remarks once and three empty-text results. A person cannot type into the other spilled cells because the formula owns them. That layout is only a display element.
For genuine notes, set up a separate small Table with City and Comment fields and keep comments keyed to the city. The source Table might say Pune needs follow-up and Solapur is confirmed. Use an exact lookup based on the result's City column to bring remarks into a read-only report. If the report ranks by amount, the lookup can still retrieve the intended note after Pune changes position. The padding rows should not be sent to the same lookup as if they were real cities.
Test the lookup on an actual city, a city with no comment and a placeholder. Give the latter no data-bearing role. Keep any real notes out of the ranking's changing footprint. When a new source category is inserted, verify the copied comment still belongs to its key, rather than its former worksheet row. This design is safer than leaving writable-looking blank cells inside a changing formula result.
Build a fixed five-result threshold report without GROUPBY
Some learners can use EXPAND and TAKE in Excel 2024 but do not have GROUPBY. The sizing logic can work on a weekly amount list or any other one-field ranked input. In a new practice copy of Orders, use the ten numeric Amount cells in G2:G11. Put Amount strictly above in J1 and try a control value in J2. The task shows at most five order amounts larger than the entered threshold. Every version must occupy five rows, using dashes where there are too few matches.
=LET(cutoffAmount,$J$2,
IF(NOT(ISNUMBER(cutoffAmount)),EXPAND("Enter a numeric threshold",5,1,"-"),
LET(keepRows,G2:G11>cutoffAmount,
IF(SUM(--keepRows)=0,EXPAND("No amounts above the threshold",5,1,"-"),
LET(ranked,SORT(FILTER(G2:G11,keepRows),1,-1),
EXPAND(TAKE(ranked,MIN(ROWS(ranked),5)),5,1,"-"))))))
Unlike the city summary, this result has only one column. It compares each source amount with the same threshold. A number below the cutoff never contributes. A value equal to the cutoff is not eligible because this example asks for a strictly higher amount. If the cutoff is valid, decide what to show when there are no matches before putting numbers through a sorter.
- Enter 200. The five eligible amounts are 1299, 270, 240, 232 and 220. They occupy the whole result and add to ₹2,261.
- Enter 300. Only the ₹1,299 record qualifies. Four dashes follow it. The output height still equals five. A count of the data values is one.
- Enter 50. All ten records now qualify. The display still shows the same five amounts as for 200, because they are the largest. This is another example where the display alone cannot tell whether hidden eligible items remain.
- Enter 1299. The largest observation equals this threshold, so the report says No amounts above the threshold. Four more output positions are padded. No numeric value should be shown.
- Enter a nonnumeric label such as high. The formula should show its distinct input message for that state. Restore 200 once the test is complete.
Put an independent =COUNTIF(G2:G11,">"&J2) control in the check area for valid numeric settings. It returns five at 200 and ten at 50. For a report title, “Largest five of ten eligible orders” gives the reader more information than a generic “Top five.” Where an exact subset matters, include identifiers in the source and return them with the sorted amount. The worksheet's measurement unit still defines when a value is larger than the threshold.
Keep analysis and layout on different ranges
The five-position box is convenient when a report expects to show five places. A chart or average may need only the values. Feed those operations from a clean ranked list or a range that excludes pad and message positions according to a clear rule. A dummy zero should not look like an extra sale. If a teammate needs to reproduce the page's control, label both the number of measured results and the number of slots.
When a block supports an adjacent report, check the exact anchor and its intended dimensions. If one status requires a narrower display, the no-data message can still use whichever number of columns the dashboard contract specifies. A blank-looking slot belongs to the formula and can block another spill. Do not type comments in it. Reserve a separate range for notes and controls.
Practice and answer key
Return to Orders and the original ten amounts. Keep each expanded result in its own region. For formula steps that use only G, use the numeric values in that column without its header. Confirm the purpose of any pad in the question.
Display the largest three amounts in a five-row section
Use =EXPAND(TAKE(SORT(G2:G11,1,-1),3),5,1,""). Expect 1299, 270, 240 and two blank-looking values. The three largest are the only real selected amounts in this report. The final two cells still belong to the formula spill.
Pad the selected amounts with numeric zeros and sum the display
Use =SUM(EXPAND(TAKE(SORT(G2:G11,1,-1),3),5,1,0)). It gives 1809, the same total as summing only the three selected orders. A subsequent average over the five values would use a different denominator, so this is a sum exercise.
Add one dash column beside the first three source cities
Use =EXPAND(C2:C4,,2,"-"). The output has three rows and two columns. Its first column shows Pune, Nashik and Pune in that order. Each row has one dash on the right. The omitted row argument keeps the original height.
Verify the row count when expanding three amounts to six
Use =ROWS(EXPAND(G2:G4,6,1,"")). It returns six. A count of actual input observations is still three because three positions exist only as padding. Separate the shape of the resulting display from the population size.
Inspect the default pad with two extra rows
Use =EXPAND(G2:G4,5). The original amounts 64, 270 and 110 stay in the first rows. The new fourth and fifth cells show #N/A because no pad was supplied. That warning marks positions with no input item.
Ask for a five-row result directly from the ten-amount array
=EXPAND(G2:G11,5) returns a value error. The source has ten rows. To select the first five use TAKE first. For the largest five, sort the input before taking them. EXPAND would be useful at the end of that pipeline if the inputs can sometimes be shorter.
Compare a three-city view and an eight-row layout of all city totals
The all-status source has six city totals in descending amount order. =TAKE(GROUPBY(C2:C11,G2:G11,SUM,0,0,-2),3) gives Solapur 1299, Pune 544 and Nashik 360. =EXPAND(GROUPBY(C2:C11,G2:G11,SUM,0,0,-2),8,2,"") shows all six city rows with two additional rows of empty text. Asking to expand that six-row inner result directly to two rows would fail.
Make the size and the content independently testable
Check real and displayed records from the same source definition
On Orders, keep one numeric source control for the count of Delivered records and one for their total. =COUNTIF(I2:I11,"Delivered") returns seven and =SUMIFS(G2:G11,I2:I11,"Delivered") returns 2,215 in the clean fixture. The distinct city-group count is four. If you sum the numeric values in the padded K2 result, you also get 2,215 under this small condition. The same equality is not expected when six groups qualify and one is intentionally outside the displayed top five.
To check how many city groups qualify, put this in a spare cell. It uses only the group labels and status mask. An IF branch handles the case where there is no eligible record at all. The result is one count and does not include the padded rows.
=LET(keepRows,I2:I11="Delivered",
IF(SUM(--keepRows)=0,0,ROWS(UNIQUE(FILTER(C2:C11,keepRows)))))
Verify this returns 4, 6 and 0 across the major test states. In an all-text or zero-amount scenario, compare the intended data policy before assuming COUNT in the display number column is the same measure as number of source groups. The clean training data has a valid City for every row and numeric amounts. Report missing Cities and invalid Amounts separately if the incoming source can contain them.
Keep a consistent shape when fewer columns are known too
Suppose a workshop handout reserves a three-column area for City, Amount and Review status. The city summary initially has only City and Amount. You can fill the third field with a shared marker by expanding it to width three. However, expanding the whole display does not automatically know the correct status of a record. If the analyst verified only one specific city, show that information in a keyed report. A generic pad should be neutral, such as “Not supplied.”
One size check can account for both axes. A four-row, two-column block has eight positions. Expanding to five rows and three columns has fifteen positions and adds seven pads. Expanding the same array to four rows and three columns adds four pads. If the difference in size does not match your expected report, check whether an upstream filter or heading altered the shape. Those arithmetic checks can catch an unexpected column before you publish an export.
Choose a compatible axis cap
Sometimes the source has three measures and the report expects two specific fields. It is usually better to select the actual fields by name or with a verified CHOOSECOLS mapping than to take whatever two happen to be on the left. For the current city summary the two fields are already stable. The cap applies only to the number of ranked rows. If the summary changes to include extra measures, revisit the two-field selection before expansion.
A later chart should know whether the padded display is meant only for people or is a true input dataset. Different chart designs and settings can treat text placeholders and numeric zeros differently. Test what is plotted, and check one known eligible record and one empty position. For a chart that shows only measured order amounts, an unpadded ranked result with its labels is a clearer input.
Verify that a comment follows the city that owns it
Try the separate-note design in a practice copy of the Orders sheet. On a new tab type City and Comment as headings. Enter Pune with Review next week's capacity and Solapur with Route confirmed. Convert them to a Table named tblCityNotes. These text notes belong to those two fictional cities in this workbook. Keep one row per city. If a second entry is needed, decide which record is current before doing an exact lookup.
On Orders, leave the K2 formula as the fixed-size dashboard. Put Comment in P1 on a free part of the sheet and use the formula below in P2. It treats rows with numeric amounts as measured city groups for the clean fixture. The comparisons and lookups need room to return five comment positions alongside the display.
=LET(cities,CHOOSECOLS(K2#,1),groupAmounts,CHOOSECOLS(K2#,2),
IF(ISNUMBER(groupAmounts),XLOOKUP(cities,tblCityNotes[City],tblCityNotes[Comment],"No comment"),""))
- In the original four-city ranking Solapur is first and Pune third. Their matched notes should appear beside them in P2 and P4. Nashik and Kolhapur have real amounts but no notes, so they should display No comment.
- For the last placeholder row the displayed Amount is a dash. The numeric test fails and the comment shows empty text. This distinguishes a real city with no matching note from a reserved slot that cannot have a note.
- On a copy set the amount for Pune's BLK-1001 from 64 to 1500 while preserving its Delivered status. Pune's Delivered total becomes 1760 and moves to the top. The confirmed Solapur amount remains 1299.
- Verify the Pune and Solapur notes follow their keys to P2 and P3. Restore the original order amount so the controls in Lab 1 remain valid.
This technique is safe for the simple source policy where each city result has a numeric amount even when the numeric result is legitimately zero. If source data can contain invalid measures, use an explicit row-kind or validation flag instead. Do not infer that every blank-looking or error-looking row is a layout pad. Keep the original data and the reason for any invalid measure visible to a reviewer.
If the report moves to a new starting location, update the comment formula's spill reference and verify two named crossings with their controls. The lookup remains keyed only as long as it still reads the genuine City field. Fixed geometry is one part of the report contract. The meaning and order of fields are just as important.
Troubleshoot the report by checking the sizing pipeline
- #VALUE! after the source grows. Measure the source array just before EXPAND. If the city block now has six rows, the request for five is a shrink. Rank and select at most five or make another display contract explicit.
- #N/A only in newly reserved positions. That is the default pad. Choose a meaningful custom value if the positions are intentionally unused. If the error is inside a real input record, diagnose its source instead.
- Unexpected #SPILL! immediately. A fixed-size display needs its whole destination free even when it has no data. Check that stray notes, merged cells or a different spill do not occupy positions K2:L6.
- Only a message appears in one cell when other formulas expect five rows. Inspect the no-data branch as carefully as the normal branch. A separate one-cell message by itself is a different shape. Expand that message where the visual spec needs a consistent footprint.
- The total looks plausible but the average changed. Check whether new zeros are being counted as observations. Compare totals and counts from the source and the presentation range.
Suppose you used IFNA to make the default pads appear blank. That function handles a value error of type #N/A wherever it occurs in the input to IFNA. It may replace an actual #N/A inherited from the source too. Changing only the pad argument in EXPAND is more precise when the intent is to style the new positions and retain unexpected source errors.
Quiz with explained answers
How many padding cells appear when expanding a two-by-two array to three by three?
Five. The output has nine cells and the original block occupies four in the upper-left corner. The third column and the third row share one corner cell. Counting them independently without that overlap would count too many added positions.
What happens when an explicit five-row target receives a six-row city summary?
EXPAND gives a value error because it cannot shrink the input. Sort by the intended measure and take at most five first. Then expand to five with a custom marker if the selected list is shorter in another state.
Why do five and six eligible-city states sometimes show the same five real rows?
The sixth eligible amount can rank below the other five. In the exercise it is Sambhaji Nagar with 195. The displayed values sum to ₹2,455 in both cases. The independent count and underlying total show whether a real eligible record was left outside the display.
What does a pad of zero do to the average of the three largest orders?
The selected values total 1,809. Dividing by their actual count of three gives 603. Adding two zero pads leaves SUM unchanged but makes AVERAGE over the display divide by five, giving 361.80. Use the real values for the stated measure.
Does a dash pad hide an existing #N/A in the Pune amount?
No. EXPAND applies that pad only to newly created positions. The source error stays in its original relative location. Choose a separate source-error handling rule if the report must continue while recording the fault.
Why does a zero-match report need a special branch?
The ranking code expects an array of real group rows. With no matches it should not try to rank a nonexistent population. Return the chosen message and expand its display to the specified size. The count states that no data rows exist even though the layout remains five by two.
Interview questions you can answer from practice
When would you add an EXPAND operation to a dashboard formula?
Use it when an approved layout needs an exact footprint and the input can be smaller. I would first choose which records to show and cap their count. Then I would pad the selected array and test the cases below, at and above that count, including no eligible data.
What makes a padding policy reliable for later formulas?
It separates unused positions from real observations and tested errors. A text dash can work for display, while calculations should use measured values and a known denominator. I would keep an independent category count and an unpadded summary or numeric record list for downstream calculations.
How would you make a fixed-width append of sources that lack one trailing field?
First verify their common field names and order. If the second source lacks only the final field, add that final column with a documented pad and then stack the sources. If an interior field is missing, construct the desired order explicitly. Test both the blank positions and a known real record.
How would you keep the latest remarks when a city ranking changes?
Store remarks separately with the city as a key. Pull them into the display with an exact lookup. This means the Pune note follows Pune when the sort changes. Keep placeholder rows out of the lookup's data scope and show a separate message when a real city has no note.
How would you spot someone mistaking the display shape for the source size?
I would compare the number of eligible records, distinct categories and output slots. For the original report seven Delivered orders belong to four cities, shown in a five-row box. Each of those counts has a purpose. The source-eligibility count cannot be inferred from the last pad position alone.
Revision cards
- Give the final size. EXPAND reads total row and column targets.
- Keep the original block. New positions appear below and to the right.
- EXPAND cannot shrink. Cap a ranked list before padding it.
- Define zero matches. A message needs its own branch with the required footprint.
- Choose a pad deliberately. Text, zero and default #N/A have different effects.
- Separate display from measure. Count and summarize the real source population with its stated rule.