Jump to content

How to combine an IF/AND and OVER function


Jane K

Recommended Posts

I have a table and trying to create a calculated column titled below as [Calculate Formula for Flag]. I would like to be able to write a formula that states:

If the customer orders:

Apple/Orange, then flag the entire account "Yes"

Box, then flag the entire account "Yes"

I have multiple other conditions. Basically, is there a way to combined multiple IF/AND statements OVER the Account ID Thanks!

 

 

 

Customer ID

Customer Name

Order Code

Order Product

[Calculate Formula for Flag]

 

 

193203

Mike

222

Apple

Yes

 

 

193203

Mike

555

Orange

Yes

 

 

193203

Mike

333

Yarn

Yes

 

 

518482

Jane

222

Apple

No

 

 

518482

Jane

222

Apple

No

 

 

518482

Jane

333

Yarn

No

 

 

748254

Tim

666

Box

Yes

 

 

748254

Tim

222

Apple

Yes

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...