I have a table with columns as below
| Name | List | Apple | Orange | Mango | Banana | Cherry |
|---|
Name contains the names of the vendors.
Apple Orange Mango Banana Cherry contains the QTY like 1,10,15.....
This is what I need
List name of fruits where the value is greater than 0 as [Apple, Orange]

Do let me know if things are not clear.
Thank you in advance for answering the question
I tried VLookup but not sure if I am making any mistake
=LOOKUP(2,1/C3:AC3,C$2:AC$2)
In this, I need to set it for each Column I need a Dynamic Column
=SUBSTITUTE(TRIM(CONCATENATE(IF(C3>0,$C$2 & ",",""),IF(D3>0,$D$2&
",",""),IF(E3>0,$E$2& ",",""),IF(F3>0,$F$2&
",",""),IF(G3>0,$G$2,","))),",",", ")
I am using the latest version of Excel on the web


If you have Excel 365 you can use this formula