A lot of Conditions

anneb_87

Board Regular
Joined
Jun 13, 2018
Messages
84
Hi Experts!

I have a lot of rows to determine the Plan Name and Tier. What excel formula should I use?

Here is the sample output see column FINAL PLAN NAME and Tier

Book1.xlsx
EFGHI
2Member IDDependent TypePlan Name FINAL PLAN NAMETier
3A2. Female SubscriberWaivedWaivedEE + Fam
4A6. DaughterWaivedWaivedEE + Fam
5A3. HusbandWaivedWaivedEE + Fam
6A5. SonWaivedWaivedEE + Fam
7B6. DaughterPlan 4 - CAPPO Plan 4 - CAEE + Fam
8B6. DaughterPlan 4 - O/APPO Plan 4 - CAEE + Fam
9B1. Male SubscriberPlan 4 - CAPPO Plan 4 - CAEE + Fam
10B4. WifePlan 4 - CAPPO Plan 4 - CAEE + Fam
11C4. WifeWaivedPPO Plan 4 - CAEmployee
12C1. Male SubscriberPlan 4 - CAPPO Plan 4 - CAEmployee
13D5. SonWaivedKaiserEmployee
14D2. Female SubscriberKaiserKaiserEmployee
15D2. Female SubscriberPlan 4 - CAPPO Plan 4 - CAEE + SP
16D3. HusbandPlan 4 - O/APPO Plan 4 - CAEE + SP
17F3. HusbandWaivedKaiserEmployee
18F2. Female SubscriberKaiserKaiserEmployee
19G3. HusbandWaivedKaiserEmployee
20G2. Female SubscriberKaiserKaiserEmployee
21H6. DaughterPlan 4 - O/APPO Plan 4 - CAEE + CH
22H2. Female SubscriberPlan 4 - CAPPO Plan 4 - CAEE + CH
23H5. SonPlan 4 - CAPPO Plan 4 - CAEE + CH
24I2. Female SubscriberWaivedwaivedwaived
25I3. HusbandKaiserwaivedwaived
26J6. DaughterWaivedKaiserEE + SP
27J3. HusbandKaiserKaiserEE + SP
28J2. Female SubscriberKaiserKaiserEE + SP
29K4. WifeWaivedKaiserEmployee
30K1. Male SubscriberKaiserKaiserEmployee
31L4. WifeWaivedPPO Plan 4 - CAEmployee
32L1. Male SubscriberPlan 4 - CAPPO Plan 4 - CAEmployee
33M2. Female SubscriberPlan 4 - CAPPO Plan 4 - CAEmployee
34M3. HusbandWaivedPPO Plan 4 - CAEmployee
35N3. HusbandWaivedKaiserEmployee
36N6. DaughterWaivedKaiserEmployee
37N2. Female SubscriberKaiserKaiserEmployee
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E3:E37Cell Valuecontains "false"textNO



Here are the conditions

6. Census - GCJBT 2021 - PvG BONCH.xlsx
EFG
2Tier Conditions
3TierDependent TypePlan Name
4Employee1. Male Subscriber OR 2. Female SubscriberNot waived
5ESP(1. Male Subscriber + 4. Wife) OR (2. Female Subscriber + 3. Husband) OR (1. Male Subscriber + 8. Female Partner) OR (2. Female Subscriber + 7. Male Partner)Not waived
6Employee(1. Male Subscriber + 4. Wife) OR (2. Female Subscriber + 3. Husband) OR (1. Male Subscriber + 8. Female Partner) OR (2. Female Subscriber + 7. Male Partner)Dependents Plan Name is waived
7ECH(1. Male Subscriber + 5.Son\6.Daugther) OR (2. Female Subscriber + 5.Son\6.Daugther)Not waived
8Employee(1. Male Subscriber + 5.Son\6.Daugther) OR (2. Female Subscriber + 5.Son\6.Daugther)EE is not waived then all dependent is Waived
9ECH(1. Male Subscriber + 5.Son\6.Daugther) OR (2. Female Subscriber + 5.Son\6.Daugther)EE is not waived and one of the dependent is not waived
10FAM(1. Male Subscriber + 4. Wife + 5.Son\6.Daugther) OR (2. Female Subscriber + 3. Husband + 5.Son\6.Daugther) OR (1. Male Subscriber + 8. Female Partner + 5.Son\6.Daugther) OR (2. Female Subscriber + 7. Male Partner + 5.Son\6.Daugther)Not waived
11Employee(1. Male Subscriber + 4. Wife + 5.Son\6.Daugther) OR (2. Female Subscriber + 3. Husband + 5.Son\6.Daugther) OR (1. Male Subscriber + 8. Female Partner + 5.Son\6.Daugther) OR (2. Female Subscriber + 7. Male Partner + 5.Son\6.Daugther)Ony the subscriber is not waived. all dependents are waived
12ESP(1. Male Subscriber + 4. Wife + 5.Son\6.Daugther) OR (2. Female Subscriber + 3. Husband + 5.Son\6.Daugther) OR (1. Male Subscriber + 8. Female Partner + 5.Son\6.Daugther) OR (2. Female Subscriber + 7. Male Partner + 5.Son\6.Daugther)Subscriber and Spouse\Partner are not waived. All children are waived
13ECH(1. Male Subscriber + 4. Wife + 5.Son\6.Daugther) OR (2. Female Subscriber + 3. Husband + 5.Son\6.Daugther) OR (1. Male Subscriber + 8. Female Partner + 5.Son\6.Daugther) OR (2. Female Subscriber + 7. Male Partner + 5.Son\6.Daugther)Subscriber and one of the children are not waived. All Spouse\Partner are waived
14waivedany combinationIf Subscriber is waived everyone will be waived
15
16Plan Conditions
17FINAL PLAN NAMEPlan Conditions
18WaivedIf Subscriber is waived everyone will be waived
19Specific Plan NameWill follow the Subscriber Plan Name
Sheet2
 
Last edited:

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,214,787
Messages
6,121,569
Members
449,038
Latest member
Guest1337

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