find the highest value in a column and match the top 3 highest value in another column

Leda Leong

New Member
Joined
Sep 25, 2017
Messages
11
Dear all,

I have try the below calculation method to count the highest value but it failed. it can only count the top 1 instead of top 3, suppose the top one in column E should be FIX and to find the Top 3 highest value which match FIX in column F should be SINK, SHOWER, FURN, but I failed, can another one help?
=LOOKUP(1,0/FREQUENCY(0,1/(1+COUNTIFS($E$2:$E$5311,'RAW DATA (1)'!O1,F2:F5311,F2:F5311,F2:F5311,"<>0"))),F2:F5311)


DATEJ-DayMONTHStatus 狀態RemedyProblem
1-Sep2459COMPFIXPOWERFAIL
1-Sep2459COMPDONEGUEST
1-Sep2459COMPMOTOR-RAC-NOISY
1-Sep2459COMPFIXHINGE
1-Sep2459COMPFIXTIMELOX
1-Sep2459COMPFIXSHOWER
1-Sep2459COMPFIXHINGE
1-Sep2459COMPFIXSINK
1-Sep2459COMPBATTERYTIMELOX
1-Sep2459COMPPAINTPAINTP
1-Sep2459COMPPAINTPAINTP
1-Sep2459COMPMOVEFURN
1-Sep2459COMPPAINTPAINTP
1-Sep2459COMPFIXFURN
1-Sep2459COMPFIXDHARDWARE
1-Sep2459COMPFIXDHARDWARE
1-Sep2459COMPFIXDHARDWARE
1-Sep2459COMPDAMPER-FAC-NOISY
1-Sep2459COMPBLOW-FAC-NOISY
1-Sep2459COMPBLOW-FAC-NOISY
1-Sep2459COMPFIXCARPET
1-Sep2459COMPREPLACEFURN
1-Sep2459COMPB-LEDNOLIGHT
1-Sep2459COMPBLOW-FACHOT
1-Sep2459COMPVAVBOX-RACHOT
1-Sep2459COMPFIXSHOWER
1-Sep2459COMPFIXSHOWER
1-Sep2459COMPB-LEDNOLIGHT
1-Sep2459COMPFIXSINK
1-Sep2459COMPFIXPRODUCTION
1-Sep2459COMPFIXCARPET

<colgroup><col width="96" style="width: 72pt; mso-width-source: userset; mso-width-alt: 3510;" span="5"> <col width="111" style="width: 83pt; mso-width-source: userset; mso-width-alt: 4059;"> <tbody>
</tbody>
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,215,214
Messages
6,123,664
Members
449,114
Latest member
aides

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top