简体   繁体   中英

Excel - SUMIFS + INDEX + MATCH with Multiple Criteria

In the example below, I'm trying to sum any numbers that fit the criteria: Beverage + RTD Coffee for the month of January from the source.

This is the formula that I'm currently trying to use for the above scenario:

=SUMIFS(INDEX('Grocery Input'!$D8:$BY66,MATCH(1,('Grocery Input'!$D8:$D66=Summary!$D8)*('Grocery Input'!$E8:$E66=Summary!$E8),0),F$6),'Grocery Input'!$D8:$D66,"="&Summary!$D8,'Grocery Input'!$E8:$E66,"="&Summary!$E8)

It needs to check both the 'Family' criteria and "Master Category' criteria

在此处输入图片说明

在此处输入图片说明

Can you just eliminate the index match portion of the formulas and use SUMIFS with direct cell references?

For example,

=SUMIFS('Grocery Input'!$AD$8:$AD$66,'Grocery Input'!$D$8:$D$66,Summary!$D8,'Grocery Input'!$E$8:$E$66,Summary!$E8)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM