如何在Excel中使用多个条件按类别求和?

时间:2019-09-03 06:41:58

标签: excel group-by sumifs

我在一张表格“ Sheet A”中有下表

enter image description here

该表有四个商店,每个季度都出售受欢迎的商品。我在“ Sheet B”中有另一个表格应该是动态的

enter image description here

The yellow highlighted cell is a dropdown list of all four stores. So if click Store A, I'm expecting the following

    a) Fast Moving = Milk+Bread for Store A for Q1,Q2,Q3,Q4 on the respective column cells
    b) Average Moving = Chips+Chocolate+Cake+Drinks+Bread for Store A for Q1,Q2,Q3,Q4 on the respective column cells
    c) Toy = Toy
    d) Clothes = Clothes
    e) Dal = Dal
    f) Total Revenue = Overall

    All these values has to be picked from columns FY19-Q1, Fy19-Q2, FY19-Q3, FY19-Q4, FY20-Q1 from the table from "Sheet A" and populated in the table on "Sheet B" according to the filtered value i.e the stores.

    I tried using IF and SUMIF and also tried using grouping, but it dosent work. Please help

0 个答案:

没有答案