PowerPivot: How to identify Max Value per Group in a Calculated Column

后端 未结 2 1815
谎友^
谎友^ 2021-01-13 02:32

I am building a data model within Power Pivot for Excel 2013 and need to be able to identify the max value within a column for a particular group. Unfortunately what I thoug

2条回答
  •  天命终不由人
    2021-01-13 02:45

    use this formula in cell ("C2"):

    =MAX(INDIRECT(CONCATENATE("B",MATCH(A2,$A$1:$A$10,0),":B",SUMPRODUCT(MAX(($A$1:$A$10=A2)*(ROW($A$1:$A$10)))))))
    

提交回复
热议问题