Hi,
I have this sample data source below.
Account Name | Account Name ID | Parent Account | Parent Account ID | With and Without Activity or Opportunity Parent/Child Identifier | Opportunity Count | Activity Count |
| Nike HK | 1 | Nike HQ | 10 | Child with Activity | | 1 |
| Nike HK | 1 | Nike HQ | 10 | Child without Opportunity | | |
| Nike SG | 2 | Nike HQ | 10 | Child without Activity | | |
| Nike SG | 2 | Nike HQ | 10 | Child with Opportunity | 1 | |
| Nike FR | 3 | Nike HQ | 10 | Child with Activity | | 1 |
| Nike FR | 3 | Nike HQ | 10 | Child without Opportunity | | |
| Nike UK | 4 | Nike HQ | 10 | Child with Activity | | 1 |
| Nike UK | 4 | Nike HQ | 10 | Child with Opportunity | 1 | |
| Nike HQ | 10 | Nike HQ | 10 | Parent with Activity | | 1 |
| Nike HQ | 10 | Nike HQ | 10 | Parent with Opportunity | 1 | |
What I would like to do is to tag Account Names Nike UK & Nike HQ as "Not Priority Accounts" since they have an
Opportunity and Activity value. The Nike HK, SG & FR will be tag as "Priority Accounts" since they only have either an Opportunity or Activity value.
I tried the formula below but there are accounts that were tag as "Not Priority Accounts" even though they don't have both an Opportunity and Activity value.
if [With and Without Activity or Opportunity Parent/Child Identifier] in("Child Without Activity","Parent Without Activity","Child Without Opportunity","Parent Without Opportunity") then "Priority Accounts" else "Not Priority Accounts" endif
I hope you can help me on creating the correct formula. Please let me know if you need additional details.
Many Thanks!
Mike