Hi Everyone!
Below is the Row 1 is a commodity and in row 2 is the number of pallets. Anything that more than "0" the commodity will appear in "Output" but with "/" as a separator in each commodity, which I do not know what formula would it be? Thanks in advance.
=CONCATENATE(IF(A2>0,"BREAD",""),IF(B2>0,"FROZEN",""),IF(C2>0,"WATER",""),IF(D2>0,"FFV",""))
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]BREAD[/TD]
[TD]FROZEN[/TD]
[TD]WATER[/TD]
[TD]FFV[/TD]
[TD]TOTAL[/TD]
[TD]OUTPUT[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]5[/TD]
[TD]11[/TD]
[TD]BREAD/FROZEN/WATER/FFV[/TD]
[/TR]
</tbody>[/TABLE]
Below is the Row 1 is a commodity and in row 2 is the number of pallets. Anything that more than "0" the commodity will appear in "Output" but with "/" as a separator in each commodity, which I do not know what formula would it be? Thanks in advance.
=CONCATENATE(IF(A2>0,"BREAD",""),IF(B2>0,"FROZEN",""),IF(C2>0,"WATER",""),IF(D2>0,"FFV",""))
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]BREAD[/TD]
[TD]FROZEN[/TD]
[TD]WATER[/TD]
[TD]FFV[/TD]
[TD]TOTAL[/TD]
[TD]OUTPUT[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]5[/TD]
[TD]11[/TD]
[TD]BREAD/FROZEN/WATER/FFV[/TD]
[/TR]
</tbody>[/TABLE]