Get the maximum values of column B per each distinct value of column A

前端 未结 4 1843
野趣味
野趣味 2020-12-17 04:53

I have an Excel spreadsheet of the form:

A,B
X,1
X,5
Y,4
Y,11
X,7
Z,1

I would like to get the maximum value of column B for each distinct v

4条回答
  •  感动是毒
    2020-12-17 05:38

    Pivot table is the correct answer.

    1. Select column A's title and drag it to the Row Labels section.
    2. Select column B's title and drag it to the Values section.
    3. Click the arrow on column B's title in the values section and choose Value Field Settings.
    4. Select Max

提交回复
热议问题