简体   繁体   中英

Displaying value of one cell or multiple cells based on values in other cells

I have an excel spreadsheet that lists a bunch of names and we are keeping track of how many times a certain occurrence happens. What I'm needing to do is find a way to calculate which name has the highest value of occurrences, and then display that name in another cell. What I'd also like to do, is if there is a tie, I'd like to display all of the names of the people who are in the tie for 1st. Any assistance is appreciated.

Thanks in advance.

You can use the Advanced Filter feature to do this:

(Screen shot from Excel 2010)

在此处输入图片说明

Formula in cell B2: =COUNTIFS(A:A,A2) (copy down as raf as required)

Formula in cell D2: =MAX(B:B)

Click OK and highest count names will be listed in column F ( t and y in this example)

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