Finding lowest cost carrier amoung an arry.

kcgojnur

Board Regular
Joined
Aug 13, 2014
Messages
122
Hello -

I have a spread sheet that has multiple carriers, metallics and rates. I'm looking to find the lowest carrier among bronze rates.

Aetna
BCBS
Health Net
Dean
Geisinger
Bronze
10
N/A
100
35
5
Bronze Plus
15
N/A
50
45
10
Gold
20
N/A
75
55
15
Silver
30
N/A
25
65
20

<tbody>
</tbody>

Looking to find a way that I can pull the name of the lowest cost carrier (Geisinger) in my example above. Table range is E55:O60.

I'm looking to have this the result in C87

Thanks.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
In C87 contro+shift+enter, not just enter, and copy down:

=IFERROR(INDEX($B$1:$F$1,SMALL(IF(INDEX($B$2:$F$5,MATCH("bronze",$A$2:$A$5,0),0)=MIN(INDEX($B$2:$F$5,MATCH("bronze",$A$2:$A$5,0),0)),COLUMN($B$2:$F$5)-COLUMN($B$2)+1),ROWS($C$87:C87))),"")

This formula won't miss multiple carries if they are equally cheap.
 
Upvote 0
In C87 contro+shift+enter, not just enter, and copy down:

=IFERROR(INDEX($B$1:$F$1,SMALL(IF(INDEX($B$2:$F$5,MATCH("bronze",$A$2:$A$5,0),0)=MIN(INDEX($B$2:$F$5,MATCH("bronze",$A$2:$A$5,0),0)),COLUMN($B$2:$F$5)-COLUMN($B$2)+1),ROWS($C$87:C87))),"")

This formula won't miss multiple carries if they are equally cheap.

Worked like a charm! Thanks for your help.
 
Upvote 0
I can't comment specifically on what the issue is however, they are saying b/c of { } it's causing an issue. Any thoughts?

It's mandatory in Excel to signal array-processing formulas with SUM, COUNT, AVERAGE, and so on with control+shift+enter, also when the formula is edited.
 
Upvote 0

Forum statistics

Threads
1,215,507
Messages
6,125,207
Members
449,214
Latest member
mr_ordinaryboy

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