A dynamic named range grows with the data when the source can’t be turned into a table. Microsoft’s OFFSET function reference explains the arguments behind most dynamic ranges.

In Excel, build a dynamic named range by fixing its top left cell and using INDEX to find its bottom right cell. Base the endpoint on the last occupied cell in a reliable record column, so the dynamic named range grows when you add an insert without changing the source sheet’s layout.
This is useful when a planner workbook has a merged title, a fixed supplier template or print settings you need to preserve. Keep the source as it is, use the name to feed a separate print sheet, and set the print area on that sheet. A dynamic named range that expands to include a fourth weekly insert doesn’t automatically give that insert a page.
Set up the dynamic named range before changing the print layout
Mark where the records start and stop. Suppose the
Insert Sourcesheet has a merged title inA1:F2, column headings inA5:F5and records starting inA6:F6. ReserveA6:F2005for records. That gives you 2,000 rows to work with without scanning entire columns. Leave the title and headings outside the name so a consumer formula receives only data rows.Check what sits below the records before choosing the limit. If a stock total or a manual note sits in
A80, and columnAis the record column, a search through row 2005 may treat that note as the last insert. End the search above the note or move the note outside the record column if the template allows it. If the source is editable and has one header row with no footer in the record block, turning the fixed range into an Excel Table is usually simpler. The dynamic named range is for the layout that has to stay put.Choose one column that proves a record exists. Use a field every real insert must have, such as
Insert IDin columnA. A missing note in columnFshouldn’t affect the endpoint. If you use a date instead, check that the source doesn’t fill future dates down the template before those inserts are ready.Decide what blank means before writing the formula. A formula that returns
""should usually count as blank. A cell containing one space isn’t blank under the test below, and a numeric zero counts as occupied. If the record column contains imported values, inspect a few rows below the visible data before trusting the endpoint.Calculate the last occupied position in a helper cell. In desktop Excel for Microsoft 365 or Excel 2021 and later, put this formula in
H2onInsert Source. IfH2is part of the fixed template, use a spare cell on a control sheet and update the reference in the next step.=IFNA(XMATCH(TRUE,IFERROR($A$6:$A$2005<>"",FALSE),0,-1),0)XMATCHlooks for an exactTRUE, searching from bottom to top because its final argument is-1. The result is a position within the search range, not a worksheet row number. If the last ID is inA10, the result is5. If there are no IDs, the result is0. The innerIFERRORmakes error cells in the ID column ineligible, so inspect and repair any ID errors rather than treating them as valid records.If your desktop version doesn’t have
XMATCH, use this formula in the same helper cell. It finds the last numeric position for which the ID test succeeds.=IFNA(LOOKUP(2,1/($A$6:$A$2005<>""),ROW($A$6:$A$2005)-ROW($A$6)+1),0)A count of occupied cells can give the wrong endpoint. With IDs in
A6,A7andA10, a count gives3, which would end the range at row8. A last position search gives5, keeping row10in scope.Create the dynamic named range as a workbook name that returns a range reference. Open Formulas > Name Manager > New. Enter
PlannerInsertsfor the name, chooseWorkbookfor the scope and paste the following into Refers to:='Insert Source'!$A$6:INDEX('Insert Source'!$F$6:$F$2005,MAX(1,'Insert Source'!$H$2))The colon joins the fixed start cell,
A6, to the cell returned byINDEXin columnF. WhenH2is5, that end cell isF10. The result is a reference toA6:F10, with all six fields kept together. Dollar signs keep the endpoints from shifting when you use the name on another sheet.When
H2is zero,MAX(1,...)keeps the name atA6:F6. Excel can’t return a range reference with zero rows, so use the zero inH2as the empty state. Choose a workbook scope so a print sheet can refer toPlannerInsertsdirectly. If that sheet already has a local name with the same spelling, resolve the worksheet and workbook name conflict before connecting the layout.Test the endpoint before connecting any print formulas. On a spare sheet, enter
=ROWS(PlannerInserts)and=COLUMNS(PlannerInserts). With the last ID inA10, expect5and6. Add a test ID inA11; the results should change to6and6. Delete that test ID and confirm the height drops back to5.Next, clear the ID in a middle row without removing the final ID. The range height should stay the same because the name describes one rectangle. To produce a compact record list, use a separate formula. In Excel versions with
FILTER, put this inA2on an emptyPrint Queuesheet:=FILTER(PlannerInserts,IFERROR(INDEX(PlannerInserts,0,1)<>"",FALSE),"")The
0inINDEXreturns the first column in full, so the filter keeps only rows with an ID. Leave room for the result to spill across six columns and down as records are added. In an older version withoutFILTER, use the dynamic named range as the input for your existing print layout, then select the IDs to print there. The dynamic named range itself won’t remove internal gaps.Set the print area around the output, not the source. If one record fills one designed insert, point that insert’s fields at a selected ID or queue row. Keep the border, date fields and punch allowance in a fixed page block. Use Page Layout > Print Area > Set Print Area on the sheet that holds that block, then check the page count in File > Print.
If the output is a production checklist instead, select the current checklist before printing, or reset the print area after the list grows. A worksheet print area and the name
PlannerInsertsare separate settings. Before printing and assembling planner inserts, confirm the paper size and orientation, turn off any scaling that would change the finished dimensions, and print one proof at actual size. Measure the proof rather than relying on the preview.
Worked example: Add a fourth A5 weekly insert without changing the source

A weekly planner workbook uses six fields: Insert ID, Week commencing, Layout, Paper size, Sides and Notes. The workbook has three A5 inserts ready to print. An unused row separates the first two records from the third because the source doubles as a manual planning sheet.
| Source row | Insert ID | Week commencing | Layout | Paper size | Sides | Notes |
|---|---|---|---|---|---|---|
| 6 | W01 | 4 May 2026 | Weekly | A5 | Single | First proof |
| 7 | W02 | 11 May 2026 | Weekly | A5 | Single | |
| 8 | ||||||
| 9 | W03 | 18 May 2026 | Weekly | A5 | Single | |
| 10 |
Create and verify the dynamic named range. Enter the helper formula in
H2, create the workbook name and enter the filter formula inPrint Queue!A2. The helper reads4becauseA9is the fourth cell starting atA6. The named range coversA6:F9, while the queue shows just three records inA2:F4. The blank notes forW02andW03don’t stop those records from appearing.Connect a fixed A5 layout to the queue. On a
Weekly Insertsheet, useJ2outside the print area as the queue position. With1inJ2, a date field inside the printable block can use the formula below. Format that field as a date, and use the same pattern with column1for the ID. Print only positions that exist in the queue and leave the print block unchanged between inserts.=INDEX('Print Queue'!$A$2#,$J$2,2)Add the fourth record and check which numbers change. Fill
A10:F10withW04,25 May 2026,Weekly,A5,Singleand any note you need.H2changes to5, andPlannerInsertsexpands toA6:F10. The queue expands toA2:F5because it still skips source row8. SetJ2to4. The printable date should now show 25 May 2026, and the preview should still show one page. The fourth record changes the content of the page, not the size of the print job.Proof the size and binding edge before running the batch. Use A5 stock if the printer supports it, and select A5 in both Excel and the printer settings. At actual size, a 100 mm reference line on a proof should measure 100 mm. Check the printed writing area against the holes on an existing insert. If working from A4 stock, place the artwork and trim marks on an A4 layout with enough room for the printer’s margins. A4 is 210 × 297 mm, so two A5 panels at 148 × 210 mm leave only 1 mm along the 297 mm edge before allowing for trim marks or nonprintable margins.
Print in queue order and assemble from the proof. For this single sided batch, set
J2to each position from1to4and print one copy. Lay the sheets out in date order before trimming, if needed. Punch one trimmed sheet first and put it in the binder to check that the holes don’t cut into the writing area. If a later batch uses two sided inserts, run one sheet with labelled fronts and backs first. Bound orientation on the proof matters more than the printer driver’s flip setting label.
Fix range errors before reprinting the batch

The dynamic named range stops short of a new insert
Check H2 first. If a new ID in A11 leaves it at 5, look for an ID entered in the wrong column, a formula returning "" or an error in the ID cell. If the new record is in row 2006, it’s outside the planned capacity. Extend both the ID search range and the column F range inside the name to the same final row, then repeat the add and delete test.
If H2 changes but the displayed insert doesn’t, check the consumer. In the worked example, J2 still points to the same queue position until you change it. If a different sheet is using a fixed reference such as A2:F4, replace that reference with the intended name or spill reference rather than widening the source formula again.
The range reaches a footer or appears to keep empty records
Filter the ID column mentally from the bottom up: the first occupied value you find is the one the formula sees. A footer in A30, a copied space in A400 or a second heading in A22 can each extend the range. Remove stray values or cap the search above a fixed footer. If the template uses placeholders such as TBC in the ID column, use a separate ready field or make both the endpoint and queue tests exclude those placeholders.
If every ID has been removed, ROWS(PlannerInserts) still returns 1 by design. Treat H2=0 as the signal to stop before printing. If the Print Queue formula displays #SPILL! instead, inspect the cells below and to the right of A2 for typed values or merged cells. The queue needs open cells; the designed insert page doesn’t.
The queue is right but the pages are clipped, tiny or missing
A correct queue with a missing record in a printed checklist usually points to an old print area. Check the preview against the last expected ID, such as W04, and reset the print area if it ends at W03. If the layout prints one insert at a time, keep the fixed area and verify the selected position instead. Extending the print area in that case can add an unwanted blank page.
If a 100 mm line measures 96 mm, check scaling in Excel and in the printer driver before editing any cell widths. If the line measures 100 mm but an edge is clipped, move the artwork away from that edge or choose stock that gives it room. Commit the batch only after one proof passes all three checks: the expected record is on the page, the dimensions match the layout, and the punched sheet fits the binder.