Hello,
Not sure if the subject lines helped, but it was hard for me to specify what I need.
I am looking for an Excel formula (I know it will be a complicated formula) that will let me know the items identified as YES.
I have a sheet with accounts and within 18 columns I have a YES stating what fruit(s) is/are within the account. For evert YES found within the row, look at the column header and look at another table that has the text for each code. For instance, the table below has two accounts with a YES for the fruit associated with the account. So for account# 123456789, ORG, MNG, LMN, and PPA have a YES. For each of these, YES items, go to another table in another sheet and lookup the header (ORG, MNG, LMN, and PPA) ad bring back the actual text i want to see concatenated (Oranges, Mangoes, Lemons, Papaya) [in the Result Column].
Would anyone know a formula that can give me the results I am looking for in the Results column? I am looking for a formula, not a vba code.
Data:
Lookup Table in Sheet 2:
Thank you,
Not sure if the subject lines helped, but it was hard for me to specify what I need.
I am looking for an Excel formula (I know it will be a complicated formula) that will let me know the items identified as YES.
I have a sheet with accounts and within 18 columns I have a YES stating what fruit(s) is/are within the account. For evert YES found within the row, look at the column header and look at another table that has the text for each code. For instance, the table below has two accounts with a YES for the fruit associated with the account. So for account# 123456789, ORG, MNG, LMN, and PPA have a YES. For each of these, YES items, go to another table in another sheet and lookup the header (ORG, MNG, LMN, and PPA) ad bring back the actual text i want to see concatenated (Oranges, Mangoes, Lemons, Papaya) [in the Result Column].
Would anyone know a formula that can give me the results I am looking for in the Results column? I am looking for a formula, not a vba code.
Data:
Account # | APPL | ORG | BNS | CHR | STR | BLB | BLR | MNG | GRF | PNP | AVC | PMG | CRB | LMN | WTM | GRP | GVA | PPA | Results |
123456789 | No | Yes | No | No | No | No | No | Yes | No | No | No | No | No | Yes | No | No | No | Yes | Oranges, Mangoes, Lemons, Papaya |
987654321 | No | No | No | No | Yes | Yes | No | No | No | No | No | No | No | No | No | Yes | No | No | Strawberries, Blueberries, Grapes |
Lookup Table in Sheet 2:
Code | |
APPL | Apples |
ORG | Oranges |
BNS | Bananas |
CHR | Cherries |
STR | Strawberries |
BLB | Blueberries |
BLR | Blackberries |
MNG | Mangoes |
GRF | Grapefruits |
PNP | Pineapples |
AVC | Avocado |
PMG | Pomegranate |
CRB | Cranberries |
LMN | Lemons |
WTM | Watermelon |
GRP | Grapes |
GVA | Guava |
PPA | Papaya |
Thank you,