Pulling a column header based on a cells lowest value

kcgojnur

Board Regular
Joined
Aug 13, 2014
Messages
122
Hi -

I'm wondering if someone can help me out. I have a table that has carrier name and below the name is the various prices. Some carriers will have "N/A" if they do not service certain regions. I'm trying to find a way that will review all the rates and provide to me the carrier name that offers the cheapest rate. I've tried to ways to accomplish this but I'm getting an error.

1st way was
Code:
=INDEX(F55:M55,MATCH(C87,$F$56:$O$59,0))
In which cell c87 was created to pull the minimum rate.

2nd way was
Code:
=INDEX(F55:M55,MATCH(MIN(F56:O59),F56:O59,0))

Both ways are giving me N/A. Is it because some of the values in my table have "N/A"?

Any help is greatly appreciated.
 
Finding the lowest rate amount multiple criteria

I have a work sheet in which I need to find the lowest rate among multiple criteria.

Cell C56 is designated to provide a response of 1-22.

[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD](E 56)Carriers
[/TD]
[TD](F56)Aetna
[/TD]
[TD](G56)Dean
[/TD]
[TD](H56)UHC
[/TD]
[TD](I56)Kaiser
[/TD]
[/TR]
[TR]
[TD]Bronze
[/TD]
[TD]rate 1
[/TD]
[TD]rate 1
[/TD]
[TD]""
[/TD]
[TD]""
[/TD]
[/TR]
[TR]
[TD]Silver
[/TD]
[TD]rate 2
[/TD]
[TD]rate 2
[/TD]
[TD]""
[/TD]
[TD]""
[/TD]
[/TR]
[TR]
[TD]Gold
[/TD]
[TD]rate 3
[/TD]
[TD]rate 3
[/TD]
[TD]""
[/TD]
[TD]""
[/TD]
[/TR]
[TR]
[TD]Platinum
[/TD]
[TD]rate 4
[/TD]
[TD]rate 4
[/TD]
[TD]""
[/TD]
[TD]""
[/TD]
[/TR]
</tbody>[/TABLE]








I'm looking to see how I can pull the lowest silver rate among Aetna and UHC if cell C56 is either 7 or 15

if cell c56 is 7 or 15 then give me the lowest rate of silver prices for Aetna and UHC.
 
Upvote 0

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Re: Finding the lowest rate amount multiple criteria

I have a work sheet in which I need to find the lowest rate among multiple criteria.

Cell C56 is designated to provide a response of 1-22.

[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD](E 56)Carriers[/TD]
[TD](F56)Aetna[/TD]
[TD](G56)Dean[/TD]
[TD](H56)UHC[/TD]
[TD](I56)Kaiser[/TD]
[/TR]
[TR]
[TD]Bronze[/TD]
[TD]rate 1[/TD]
[TD]rate 1[/TD]
[TD]""[/TD]
[TD]""[/TD]
[/TR]
[TR]
[TD]Silver[/TD]
[TD]rate 2[/TD]
[TD]rate 2[/TD]
[TD]""[/TD]
[TD]""[/TD]
[/TR]
[TR]
[TD]Gold[/TD]
[TD]rate 3[/TD]
[TD]rate 3[/TD]
[TD]""[/TD]
[TD]""[/TD]
[/TR]
[TR]
[TD]Platinum[/TD]
[TD]rate 4[/TD]
[TD]rate 4[/TD]
[TD]""[/TD]
[TD]""[/TD]
[/TR]
</tbody>[/TABLE]








I'm looking to see how I can pull the lowest silver rate among Aetna and UHC if cell C56 is either 7 or 15

if cell c56 is 7 or 15 then give me the lowest rate of silver prices for Aetna and UHC.


If C56 is not 7 or 15 then looking for the lowest rate across all carriers.
 
Upvote 0

Forum statistics

Threads
1,223,905
Messages
6,175,297
Members
452,633
Latest member
DougMo

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