How to efficiently model this data set?

g3lo18

New Member
Joined
Nov 2, 2013
Messages
35
Hi,

I am pretty decent with Excel, but wanted to know if there is an efficient way of modelling this, without having numerous if statements and vlookups.

Scenario:

What I have:
- Data Table containing amounts labeled by a chronological key 1 through 100 with letters assigned to each amount.
- Table that shows 3 thresholds. Low, Med, High for each letter

What I want to do:
- I want to create a formula that would look up each key (1 through 100) and take the associated letter and look up the table to see which threshold it falls under. If it is higher or equal to high threshold I want it to produce a value of 4. If it is between medium and high, produce a value of 3. If it is between low and medium to produce a value of 2. If it is lower or equal to low, produce a value of 1.

I am constraining myself to use the following:
I have been using HLOOKUP, VLOOKUP, OFFSET function, but unable to figure out an efficient way to formulating this.

Thank you kindly for your help,

I have attached an example data set for reference below:
https://we.tl/t-J8Hdk3CkFD
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,224,820
Messages
6,181,155
Members
453,021
Latest member
Justyna P

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