Ignore blank cells in concatenation

I want to concatenate multiple columns data in a cell but would like to add a condition to ignore blank cells,

I used a "|" to identify two different data's but if there is any blank cells "|" this symbol is keep adding without any data in between,



=Product@row + " " + Variant@row + "|" + [Product 0]@row + " " + [Variant 0]@row + "|" + [Product 1]@row + " " + [Variant 1]@row + "|" + [Product 2]@row + " " + [Variant 2]@row + "|" + [Product 3]@row + " " + [Variant 3]@row + "|" + [Product 4]@row + " " + [Variant 4]@row + "|" + [Product 5]@row + " " + [Variant 5]@row + "|" + [Product 6]@row + " " + [Variant 6]@row + "|" + [Product 7]@row + " " + [Variant 7]@row + "|"

Joseph Aloysias| Solutions Lead
vSaaS Global
Book a Meeting
Phone: +91-8148459084

Tags:

Best Answers

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!