Rank and match formula (I think!)

ExcelNovice

Well-known Member
Joined
May 12, 2002
Messages
583
I'm working with a two rows and 12 columns.
In range F24 to Q24 are numbers from 1 to 12
In range F25 to Q25 are months of the year from Jan to June.

I need a formula to enter in F28 that will tell me which month of the year (row 25) corresponds to the lowest number in row 24.
I will then copy that formula down (F29, F30 etc) to find which month corresponds to the 2nd lowest number in the range, then the third and so on and so on.

Any help will be appreciated.

Thanks
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Book1
FGHIJKLMNOPQ
24931093237113612
25janfebmaraprmayjunjulaugsepoctnovdec
Sheet1



Book1
F
28jun
29feb
30may
31jul
32oct
33nov
34aug
35jan
36apr
37mar
38sep
39dec
40
Sheet1


In F28 control+shift+enter, not just enter, and copy down:

=IFERROR(INDEX($F$25:$Q$25,SMALL(IF($F$24:$Q$24=SMALL($F$24:$Q$24,ROWS(F$28:F28)),COLUMN($F$24:$Q$24)-COLUMN($F$24)+1),SUM(IF(SMALL($F$24:$Q$24,ROW(F$28:F28)-ROW(F$28)+1)=SMALL($F$24:$Q$24,ROWS(F$28:F28)),1)))),"")
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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