Check Qualification based on Multiple Criteria Using a Table with Logic Operators

jdutle

New Member
Joined
Dec 8, 2015
Messages
17
Hello and thank you in advance for any help or guidance you can provide.

I have a situation where I need to determine whether a business qualifies for a sales program, and if they do qualify, what Tier and Sub-Tier do they fall in. There are several criteria to take into consideration. Rather than write out long nested If/Then/AND/OR statements, I was hoping to set up the qualification requirements in a table for easier management and updating. I have tried creating a table and using Index/Match with multiple criteria, but I was having trouble with the AND/ OR logic within it. I also tried breaking down the logic into chunks based on each qualifier, and then building a reference id that could be used in a look up table, but I had the same issues with the AND/OR Logic.

In my attached sample, the top portion tries to lay out the current qualification logic in plain English. The Output section takes the Input parameters and uses them in a standard nested if statement, to compare to the qualifiers in the table. It works and can return the Tier and Sub-Tier, but I was hoping for a more dynamic solution. I’d like to basically have the logic outlined in a table, and then use the inputs to lookup which Tier and Sub-Tier the Business would fall in to. The last section illustrates what I foresee could be updated qualifications.

Cross Posted@
ExcelForum
Chandoo

Qualification Test.xlsx
ABCDEFGHIJ
1
2Tier 1 - Must have at least $1m in current business
3-AND
4--1. - At least 10 new client sales worth at least $250,000 in new sales
5--OR
6--2. - At least $500,000 in new sales
7
8Tier 2 - Must have less than $1m in current business
9-AND
10--1. - At least 10 new client sales worth at least $100,000 in new sales
11--OR
12--2. - At least $250,000 in new sales
13
14
15Current Amounts (Input)Output
16Current BusinessNew ClientsNew Sales $TierSub-Tier
17$1,000,00010$250,000Tier 11
18
19Table of Rules
20
21Symb.1Current Business $Operator1Symb.2New ClientsOperator2Symb.3New Sales $TierSub-Tier
22>=$1,000,000AND>=10AND>$250,000Tier 11
23>=$1,000,000AND>=N/AAND>$500,000Tier 12
24<$1,000,000AND>=10AND>$100,000Tier 21
25<$1,000,000AND>=N/AAND>$250,000Tier 22
26
27
28
29
30Potential Future Scenerio
31Table of Rules
32
33Symb.1Current Business $Operator1Symb.2New ClientsOperator2Symb.3New Sales $TierSub-Tier
34>=$5,000,000AND>=20OR>$400,000Tier 11
35>=$5,000,000AND>=N/AAND>$600,000Tier 12
36>=$5,000,000AND>=15AND>$300,000Tier 13
37>=$3,000,000AND>=15OR>$250,000Tier 21
38>=$3,000,000AND>=N/AAND>$500,000Tier 22
39<$1,000,000AND>=10AND>$100,000Tier 31
40<$1,000,000AND>=N/AAND>$250,000Tier 32
41<$1,000,000OR>=30OR$500,000Tier 41
Sheet1
Cell Formulas
RangeFormula
I17I17=IF(AND(A17>=B22,OR(AND(B17>=E22,C17>=H22),C17>=H23)),"Tier 1",IF(AND(A17<B24,A17>0,OR(AND(B17>=E24,C17>=H24),C17>=H25)),"Tier 2","Not Eligible"))
J17J17=IF(I17="Not Eligible","Not Eligible",IF(AND(I17="Tier 1",OR(AND(B17>=E22,C17>=H22),C17>=H23)),"1",IF(AND(I17="Tier 2",OR(AND(B17>=E24,C17>=H24),C17>=H25)),"2")))
 

Attachments

  • Sample.jpg
    Sample.jpg
    164.4 KB · Views: 8

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,223,896
Messages
6,175,263
Members
452,627
Latest member
KitkatToby

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