Davebro
Board Regular
- Joined
- Feb 22, 2018
- Messages
- 135
- Office Version
- 365
- 2021
- 2016
- Platform
- Windows
I have a pivotable table which Columns A,B,C which are from the data set, B2 and B3 are the highest number from Columns B & C. Column D has the calculation =(B5-B$2)-(C5-C$2) and column E ranks them, In H5 I am using =CHOOSECOLS(SORT(FILTER(A5:G13,E5:E13<=3),5,TRUE),5,1) formula (which works well and was given to me by a forum contributor), however when I use the slicer to move to another time and the length of the columns move from say 13 to 6 or 13 to 16. is there anyway that the calculations can adjust to the altered column length.