Hi,
I've read a lot of the forums on who to use rank based on multiple criteria, but I need to rank criteria based on multiple criteria.
I tried using something like this: =COUNTIF($B26:$T26,">"&N26)+1+SUMPRODUCT(--($B26:$T26=N26),--($B27:$T27>N27)) but it doesnt work for what I'm looking to do.
<tbody>
</tbody>
I want to create one formula I can drag down that chooses the most units than the most sales based on the criteria of Channel, category and week.
Thanks,
Cale
I've read a lot of the forums on who to use rank based on multiple criteria, but I need to rank criteria based on multiple criteria.
I tried using something like this: =COUNTIF($B26:$T26,">"&N26)+1+SUMPRODUCT(--($B26:$T26=N26),--($B27:$T27>N27)) but it doesnt work for what I'm looking to do.
Channel | Category | Week | Units | Sales | Rank |
Grocery | Apple | 1 | 7 | $18.00 | 2 |
Grocery | Apple | 1 | 7 | $21.00 | 1 |
Grocery | Apple | 2 | 2 | $6.00 | 1 |
Grocery | Orange | 2 | 5 | $15.00 | 1 |
Home | Apple | 1 | 3 | $9.00 | 2 |
Home | Apple | 1 | 9 | $27.00 | 1 |
Home | Apple | 2 | 3 | $9.00 | 1 |
Restaurant | Orange | 2 | 5 | $15.00 | 2 |
Restaurant | Orange | 2 | 7 | $21.00 | 1 |
Restaurant | Orange | 2 | 1 | $3.00 | 3 |
<tbody>
</tbody>
I want to create one formula I can drag down that chooses the most units than the most sales based on the criteria of Channel, category and week.
Thanks,
Cale