Index Dynamic Range

Match for blank cells

In his video, Mike Girvin at ExcelisFun provides a very elegant and neat solution from Bill Szysz to the following lookup problem:

The end result is to come up with a description column in Excel, that includes the number of sub-items within a main item and also provides the description of the main item.

This video builds on the existing video by providing an alternate method using the COUNTA, INDEX and MATCH functions.

The formula shown here uses Excel’s COUNTA function together with the INDEX function to create a dynamic range to count. The index function is used to provide a cell reference to the COUNTA function for the position of the top range as well as the position of the bottom range for each subset.

Excel’s match function is used to look for or match for the first non empty cell (non blank cell) to provide the location of the top cell address and then the match function is used again to match for the first empty cell to provide that address for the bottom of the range to the COUNTA function.

Watch the steps in this video:

The new Excel Dashboards course is here!

Visually Effective Excel Dashboards for your reports.
Redeem your coupon for 75% off below.

Free Ebook

Leave A Comment

Share This