Hi All,
I´m working in a spreadsheet where:
Column B - Customer Name
Column C - Status
Column D to O - months of the year ( sum of amount spent by each customer by month)
Columns P - Sum of total year expenditure
Cell S1 --> Its a drop down list - containing all 12 months ( in the example its month 8 )
What I´m trying to do is get the top 10 Customers - based on the selected month on cell S1 and the STATUS on COLUMN C
So if month is 7 it would give me the TOP 10 based on column J, if 8 then would be top 10 from column K.
This is going to be part of a bigger update I´ll have to run everyday - so if I could add this routine to my code it would be great.
My main issue is looping the correct column based on the S1 cell.
any help will be much appreciated!
I´m working in a spreadsheet where:
Column B - Customer Name
Column C - Status
Column D to O - months of the year ( sum of amount spent by each customer by month)
Columns P - Sum of total year expenditure
Cell S1 --> Its a drop down list - containing all 12 months ( in the example its month 8 )
What I´m trying to do is get the top 10 Customers - based on the selected month on cell S1 and the STATUS on COLUMN C
So if month is 7 it would give me the TOP 10 based on column J, if 8 then would be top 10 from column K.
This is going to be part of a bigger update I´ll have to run everyday - so if I could add this routine to my code it would be great.
My main issue is looping the correct column based on the S1 cell.
any help will be much appreciated!