Excel 2020: Fill in a Text Field on the Subtotal Rows
April 06, 2020 - by Bill Jelen
Say that each customer in a data set is assigned to a single sales rep. It would be great if you could bring the sales rep name down to the subtotal row. Here are the steps:
- Collapse the data to the #2 view.
- Select all of the sales rep cells, from the first subtotal row to the last customer subtotal row. Don’t include the Grand Total row. At this point, you have both the visible and hidden rows selected. You need just the blank rows or just the visible rows.
At the right side of the Home tab, open the Find & Select dropdown. Choose Go To Special. In the Go To Special dialog, choose Blanks. Click OK.
- At this point, you’ve selected only the blank sales rep cells on the Subtotal rows. In my case, the active cell is A49. You need a formula here to point one cell up. Type
=A48
. Instead of pressing Enter, press Ctrl+Enter to enter a similar formula in all of the subtotal rows. In each case, it brings the sales rep from the previous row down.
The results: The subtotal rows show the sales rep name in addition to the numeric totals.
Title Photo: Jan Antonin Kolar at Unsplash.com
This article is an excerpt from MrExcel 2020 - Seeing Excel Clearly.