danhenshy23
New Member
- Joined
- Oct 3, 2016
- Messages
- 38
- Office Version
- 2019
- Platform
- Windows
Hi,
I am having issues with only the first match being returned when using SUMIF combined with IDEX and MATCH.
Here is an example of the formula I am using.
=SUMIF($B$2:$J$2,INDEX($R$2:$R$10,MATCH(K$2,$S$2:$S$10,0)),$B3:$J3)
Example image included below.
For Fred I would want to get 2 for USA and 4 for France, but as the formula is limiting to the first match only I am getting 2 for USA and 1 for France
How do I get around this please?
I am having issues with only the first match being returned when using SUMIF combined with IDEX and MATCH.
Here is an example of the formula I am using.
=SUMIF($B$2:$J$2,INDEX($R$2:$R$10,MATCH(K$2,$S$2:$S$10,0)),$B3:$J3)
Example image included below.
For Fred I would want to get 2 for USA and 4 for France, but as the formula is limiting to the first match only I am getting 2 for USA and 1 for France
How do I get around this please?