[Solved] Match category name for SUMPRODUCT
Posted: Thu Mar 13, 2025 1:35 pm
Hello, dear users! I have a document in which I compare cities by criteria and criteria prices (importance).
For example criteria "Money" has importance 900 points and New York is very good city for earning money, so New York has quality assessment by criteria "Money" - 2 (very good city). And I multiply an importance of criteria to assessment: 900*2=1800. So, New York is very good for money.
There are other criteria, and I collect criteria into categories: Freedom, Security. And I wish to count result for each city.
But my formula in cell D10 does not satisfy me:
=SUMPRODUCT($C2:$C4,D2:D4)
My table shows, that Los Angeles is the best for Security reasons, and almost best for Freedom.
Here I placed exact ranges C2:C4; D2:D4. But when I add another criteria to category Freedom, I need to correct ranges in formula to: C2:C5; D2:D5.
I need new formula, that takes ranges by match criteria to category I already placed to resulting table: Freedom, Security.
I already can use function MATCH in B10, B11, but still have problem tuning it to my resulting cells D10:F11. Could you help me?
Which formula needs to be in D10 to get range C2:C4 by matching to category Freedom?
For example criteria "Money" has importance 900 points and New York is very good city for earning money, so New York has quality assessment by criteria "Money" - 2 (very good city). And I multiply an importance of criteria to assessment: 900*2=1800. So, New York is very good for money.
There are other criteria, and I collect criteria into categories: Freedom, Security. And I wish to count result for each city.
But my formula in cell D10 does not satisfy me:
=SUMPRODUCT($C2:$C4,D2:D4)
My table shows, that Los Angeles is the best for Security reasons, and almost best for Freedom.
Here I placed exact ranges C2:C4; D2:D4. But when I add another criteria to category Freedom, I need to correct ranges in formula to: C2:C5; D2:D5.
I need new formula, that takes ranges by match criteria to category I already placed to resulting table: Freedom, Security.
I already can use function MATCH in B10, B11, but still have problem tuning it to my resulting cells D10:F11. Could you help me?
Which formula needs to be in D10 to get range C2:C4 by matching to category Freedom?