Tammy this looks alot like your post about milk bread and eggs
http://www.eggheadcafe.com/community/excel/66/10419705/lookup.aspx
From that post.
"I don't know about lookup but to achieve the output you can consume excel
IF and
Concatenate function.
Say if you Name(A1),Egg(B1),Bread(C1)and Milk(D1) you can use the formula
=CONCATENATE(A2,IF(B2="Y",$B$1,""),IF(C2="Y",$C$1,""),IF(D2="Y",$D$1,""))
| Name |
Egg |
Bread |
Milk |
|
| John |
Y |
N |
Y |
JohnEggMilk |
| Bill |
Y |
Y |
Y |
BillEggBreadMilk |
| Jane |
Y |
Y |
N |
JaneEggBread |
_______________________________________________
So if you now need Product A, then B, the C, then Name
=CONCATENATE(IF(B2>"",$B$2,""),IF(C2>="",$C$2,""),IF(D2>"",$D$2,""),A2)
I moved Colum A to the end and use > to simply show for a value.
your data would be in the second row.
HTH Don