Selecting row then closest value from it

ekaz41

New Member
Joined
Mar 27, 2018
Messages
3
Hello,

My data set has rows that are states: IA, IL, MN, MT, ND, NE< SD, and WI. Each column is a percentile: P1 - P100. I have a value and a state, I want to look-up the state and return the closest value. I have been running into issues because I have not found any formula that will both select the proper row then find the closest value from that row. Thanks!

567626d1522159475-trying-to-return-closest-value-from-a-list-untitled.jpg


(columns go to CY)
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Hello ekaz41

The closest value to what? the closest to the percentie in the Columns or???

Thanks for any clarifications.
 
Upvote 0
Closet value to the 118.82 number. So it needs to use the WI row then return the closet value in that row.
 
Upvote 0
Cross posted https://www.excelforum.com/excel-fo...rn-closest-value-from-a-list.html#post4872158

Cross-Posting
While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,184
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