INDEX/MATCH Problem!

Aitch

Board Regular
Joined
Jan 27, 2019
Messages
119
Office Version
  1. 2010
Platform
  1. Windows
=INDEX(A2:AA6 , MATCH(MINIFS(B2:B6 , A2:A6 ,"??*") , B2:B6 , 0)
1
4
Jack1
2
Jill3

Hoping someone can fix this one!

A1 is the INDEX/MATCH - which should show the name of the person in column A which has the lowest score in column B - in this case Jack with 1

However, there are a lot of missing names in column A - so I used a MINIFS to filter out the blank cells...

Unfortunately it looks up the first instance of 1 in B2 which results in the blank cell in A2....

Is there a better way to do this?

Basically I need to find the MIN of column B which also has text in column A - and then show the text right next to the MIN in column A

Appreciate any help!
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Since my Excel2bb aadin is working

try with Ctrl+Shift+Enter

1617741362866.png
 
Upvote 0
Hi,

Your profiles says you have Excel 2010, which doesn't have the MINIF(S) function(s), anyway, try it this way:

Book3.xlsx
AB
1Jack
21
34
4Jack1
52
6Jill3
Sheet898
Cell Formulas
RangeFormula
A1A1=INDEX(A2:A6,MATCH(MIN(IF(A2:A6<>"",B2:B6)),(A2:A6<>"")*B2:B6,0))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Less than 5 minutes lol - you guys rock!

Is there any way to make it work without an array formula ??
 
Upvote 0
Are you actually using 2010? As jtakw said 2010 doesn't have minifs.
 
Upvote 0
Hi Aitch,

My solution

Aitch2.xlsx
ABCDE
1
21Jack
34
4Jack1
52
6Jill3
Sheet1
Cell Formulas
RangeFormula
E2E2=INDEX($A$2:$A$6,AGGREGATE(15,6,ROW($A$2:$A$6)-ROW($A$1)/(($B$2:$B$6=AGGREGATE(15,6,$B$2:$B$6/($A$2:$A$6<>""),1)*($A$2:$A$6<>""))),1))
 
Upvote 0
Another option
Excel Formula:
=INDEX(A2:A6,AGGREGATE(15,6,(ROW(A2:A6)-ROW(A2)+1)/(A2:A6<>"")/(B2:B6=MIN(B2:B6)),1))
 
Upvote 0
Another option
Excel Formula:
=INDEX(A2:A6,AGGREGATE(15,6,(ROW(A2:A6)-ROW(A2)+1)/(A2:A6<>"")/(B2:B6=MIN(B2:B6)),1))
I don't believe that works if a row without a name has the lowest value in the column. e.g. change the first 1 to 0.
 
Upvote 0
Good point. Lets wait & see what the OPs response is to post#5
 
Upvote 0
Are you actually using 2010? As jtakw said 2010 doesn't have minifs.

I'm trying out the free version of Office 365.... would you recommend the upgrade Fluff?

Kinda hesitant as it's never ending payment lol and 2010 does 99% of what I need


Many thanks guys, will try these out!
 
Upvote 0

Forum statistics

Threads
1,214,957
Messages
6,122,472
Members
449,087
Latest member
RExcelSearch

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