jski21
Board Regular
- Joined
- Jan 2, 2019
- Messages
- 155
- Office Version
- 2016
- Platform
- Windows
Good day Mr. Excel Team,
Seeking some expert wisdom here. I have a pivot table that is dynamic in range dependent upon what criteria I select. I have a SMALL function formula that then looks into the range to find the bottom 5 observations according to their value:
="1. "&INDEX(Pivots!$A$4:$A$14,MATCH(SMALL(Pivots!$C$4:$C$14,ROWS($B15:$B$15)),Pivots!$C$4:$C$14,0))
Everything works fine except that I find myself having to manually change the end of the range (red 14 above) in each of the five formulas to accommodate the dynamic range of the pivot table. I did find a way to determine the number of the last row of data using the formula =ROW(OFFSET(A1,COUNTA(A:A),0)) and have this in a cell (in this case, "14").
I'm struggling with finding a way to create a formula to accommodate the ROW, OFFSET result into the SMALL function formula so that I don't have to manually change the Pivots! range reference.
Hopefully this is not as unique of a request as I think it is and the Mr. Excel Team can offer a solution.
Thanks in advance for the review, consideration, and assistance.
jski
Seeking some expert wisdom here. I have a pivot table that is dynamic in range dependent upon what criteria I select. I have a SMALL function formula that then looks into the range to find the bottom 5 observations according to their value:
="1. "&INDEX(Pivots!$A$4:$A$14,MATCH(SMALL(Pivots!$C$4:$C$14,ROWS($B15:$B$15)),Pivots!$C$4:$C$14,0))
Everything works fine except that I find myself having to manually change the end of the range (red 14 above) in each of the five formulas to accommodate the dynamic range of the pivot table. I did find a way to determine the number of the last row of data using the formula =ROW(OFFSET(A1,COUNTA(A:A),0)) and have this in a cell (in this case, "14").
I'm struggling with finding a way to create a formula to accommodate the ROW, OFFSET result into the SMALL function formula so that I don't have to manually change the Pivots! range reference.
Hopefully this is not as unique of a request as I think it is and the Mr. Excel Team can offer a solution.
Thanks in advance for the review, consideration, and assistance.
jski