STEVEMILLS04
Board Regular
- Joined
- Oct 8, 2009
- Messages
- 113
I have read here: https://professor-excel.com/performance-excel-study/ that INDEX/MATCH or VLOOKUPS can be up to 50% faster than SUMIFS but for some reason I am having a hard time replacing a SUMIF formula with either Index/Match or Vlookup. Has anyone done this in the past?
<tbody>
[TD="width: 64"]Region[/TD]
[TD="width: 64"]Age[/TD]
[TD="width: 64"]Dollars[/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]98[/TD]
[TD="align: right"]36[/TD]
[TD="align: right"]54[/TD]
[TD="align: right"]46[/TD]
[TD="align: right"]14[/TD]
[TD="align: right"]47[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]54[/TD]
[TD="align: right"]98[/TD]
[TD="align: right"]58[/TD]
[TD="align: right"]250[/TD]
</tbody>
Code:
=SUMIFS(D2:D8,B2:B8,"West",C2:C8,"<="&40)
Name | |
Kyle | West |
Tony | East |
Lyle | East |
Sean | West |
John | West |
Kevin | Central |
Stephen | Central |
<tbody>
[TD="width: 64"]Region[/TD]
[TD="width: 64"]Age[/TD]
[TD="width: 64"]Dollars[/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]98[/TD]
[TD="align: right"]36[/TD]
[TD="align: right"]54[/TD]
[TD="align: right"]46[/TD]
[TD="align: right"]14[/TD]
[TD="align: right"]47[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]54[/TD]
[TD="align: right"]98[/TD]
[TD="align: right"]58[/TD]
[TD="align: right"]250[/TD]
</tbody>