Hello Everyone,
I am trying to rank a row by the total volume but have a few criteria. For the below example I would need to rank what project has the highest revenue however I cant just look at project. I also have to look at product and in scope vs out of scope.
I found a link to someone doing this with a sumif function but was unable to make it work with multiple criteria. Can someone help me adjust this formula to make it work for if I had 3 criteria?
=SUMPRODUCT((SUMIF(A$2:A$16,A$2:A$16,B$2:B$16)*(MATCH(A$2:A$16,A$2:A$16,0)=ROW(A$2:A$16)-ROW(A$2)+1)>SUMIF(A$2:A$16,A2,B$2:B$16))+0)+1
Link to the other post:
I am trying to rank a row by the total volume but have a few criteria. For the below example I would need to rank what project has the highest revenue however I cant just look at project. I also have to look at product and in scope vs out of scope.
I found a link to someone doing this with a sumif function but was unable to make it work with multiple criteria. Can someone help me adjust this formula to make it work for if I had 3 criteria?
=SUMPRODUCT((SUMIF(A$2:A$16,A$2:A$16,B$2:B$16)*(MATCH(A$2:A$16,A$2:A$16,0)=ROW(A$2:A$16)-ROW(A$2)+1)>SUMIF(A$2:A$16,A2,B$2:B$16))+0)+1
In Scope | Client :Project # | Product | Revenue | Rank Me | |
y | Project 1 | Product A | $345.00 | ||
y | Project 1 | Product A | $1,769.00 | ||
n | Project 1 | Product A | $363.00 | ||
y | Project 2 | Product A | $314.00 | ||
y | Project 2 | Product B | $284.00 | ||
n | Project 2 | Product B | $190.00 | ||
y | Project 2 |
| $2,350.00 | ||
y | Project 2 |
| $164.00 | ||
y | Project 4 | C | $90.00 | ||
y | Project 4 | C | $38.00 | ||
y | Project 4 | C | $38.00 | ||
y | Project 4 | C | $20.00 | ||
y | Project 4 | D | $14.00 | ||
y | Project 3 | D | $113.00 | ||
y | Project 5 | A | $1,398.00 |
Link to the other post:
Rank by sumifs (To Get unique rank count to each line)
Hello Experts, CASE: I have Five projects but having different revenue generation for each, So I need to find out the best project by Cumulative Revenue and give them the rank (1 to 5). Requirement: Want to get Ranking from 1 to 5 against each project based on their cumulative Revenue without...
www.mrexcel.com