If Formula

eramirez148

Board Regular
Joined
Aug 17, 2022
Messages
66
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
  6. 2011
  7. 2010
Platform
  1. Windows
  2. MacOS
I need a formula that will give me the following results in column D. If there is multiple cells with in column A and column B and C show active for any of the repetative cells or non repetative cells then the results should be "OK" otherwise the results should be "Violation."

Product nameCBISSAPResults
Protein YogurtActiveActiveOK
2​
talian BeefActiveActiveOK
3​
Chicken DrumActiveViolation
4​
Chicken DrumActiveViolation
5​
Chicken DrumsticksActiveViolation
6​
Trail MixActiveOK
7​
Trail MixActiveActiveOK
8​
Grains ChickenActiveActiveOK
9​
PopcornActiveActiveOK
10​
Red PepperActiveActiveOK
11​
BunsActiveActiveOK
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Any advise on this issue?
Do the Blanks in both also require multiple records for that item as the others?
It may be a good idea to summarize your requirements in an updated all encompassing requirement list.
 
Upvote 0
Do the Blanks in both also require multiple records for that item as the others?
It may be a good idea to summarize your requirements in an updated all encompassing requirement list.
Hi @awoohaw,

Thank you for reaching out.

Yes, the blanks in both column B and C also require multiple records same as the other. Below is a summary.
I need a formula that will give me the following results in column D.
If there are multiple cells within column A and column B and C show active or they are both empty for any of the repetitive cells or non-repetitive cells then the results should be "OK" otherwise, the results should be "Violation."

ABCD
1​
Protein YogurtActiveActiveOK
2​
talian BeefActiveActiveOK
3​
Chicken DrumActiveViolation
4​
Chicken DrumActiveViolation
5​
Chicken DrumsticksActiveViolation
6​
Trail MixActiveOK
7​
Trail MixActiveActiveOK
8​
Grains ChickenActiveActiveOK
9​
PopcornActiveActiveOK
10​
Red PepperActiveActiveOK
11​
BunsActiveActiveOK
12​
PeachesOK
13​
OrangeOK
14​
OrangeOK
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,217
Members
453,024
Latest member
Wingit77

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