Formula using 'Small' and 'Match'

bartmanekul

Board Regular
Joined
Apr 3, 2017
Messages
58
Office Version
  1. 365
Platform
  1. Windows
[TABLE="width: 500"]
<tbody>[TR]
[TD]Area 1[/TD]
[TD]Area 2[/TD]
[TD]Area 3[/TD]
[TD]Area 4[/TD]
[TD]Area 5[/TD]
[TD]Lowest[/TD]
[TD]2nd lowest[/TD]
[TD]3rd lowest[/TD]
[/TR]
[TR]
[TD]1.2[/TD]
[TD]1.6[/TD]
[TD]1.2[/TD]
[TD]1.4[/TD]
[TD]1.7[/TD]
[TD]=IFERROR(INDEX($A$1:$E$1,MATCH(SMALL($A2:$E2,1),$A2:$E2,0)),"")[/TD]
[TD]=IFERROR(INDEX($A$1:$E$1,MATCH(SMALL($A2:$E2,2),$A2:$E2,0)),"")[/TD]
[TD]=IFERROR(INDEX($A$1:$E$1,MATCH(SMALL($A2:$E2,3),$A2:$E2,0)),"")[/TD]
[/TR]
[TR]
[TD]1.1[/TD]
[TD]2.8[/TD]
[TD]1.1[/TD]
[TD]1.1[/TD]
[TD]2[/TD]
[TD]Area 1[/TD]
[TD]Area 1[/TD]
[TD]Area 1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have a selection of scores in cells, say A2 to D2.

Used formula (someone here helped adjust) to bring up the 3 lowest scoring areas. It works, but I found that if there are 2 areas with equally low scores, it simply replicates. So I get only 2 or even 1 worst result if they have the same low score. Any way around this?

The table above hopefully explains it. Formula in row 2, results example row 3.

The actual data is much bigger, around 14 rows down and there's over 15 'Areas'.

Thanks in advance for any help - don't even know how to start with this one.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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