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.

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Aetna
[/TD]
[TD]BCBS
[/TD]
[TD]Health Net
[/TD]
[TD]Dean
[/TD]
[TD]Geisinger
[/TD]
[/TR]
[TR]
[TD]Bronze
[/TD]
[TD]10
[/TD]
[TD]N/A
[/TD]
[TD]100
[/TD]
[TD]35
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD]Bronze Plus
[/TD]
[TD]15
[/TD]
[TD]N/A
[/TD]
[TD]50
[/TD]
[TD]45
[/TD]
[TD]10
[/TD]
[/TR]
[TR]
[TD]Gold
[/TD]
[TD]20
[/TD]
[TD]N/A
[/TD]
[TD]75
[/TD]
[TD]55
[/TD]
[TD]15
[/TD]
[/TR]
[TR]
[TD]Silver
[/TD]
[TD]30
[/TD]
[TD]N/A
[/TD]
[TD]25
[/TD]
[TD]65
[/TD]
[TD]20
[/TD]
[/TR]
</tbody>[/TABLE]

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

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
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,223,911
Messages
6,175,323
Members
452,635
Latest member
laura12345

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