MS Excel Concatenate Tutorial

The following post is to test Concatenate formulas in Microsoft Excel with added HTML to import vendor data from excel spreadsheets. I am going to include several examples that can be used depending on the provided info. If you are familiar with Excel you will know the variables called out the in the formula reference each cell in an excel spreadsheet. I also need to use quotes around any text, html, or spaces I want to be included in the output. The list is delimitated by commas and enclosed in parenthesis.

CONCATENATE Syntax

=CONCATENATE(E6," ",G6," ",H6," ",I6," ",T6," ")

I’m going for something like this: 

The product description appears first above the features and the fabrics, this data appears in cell E6 in my test spreadsheet. 

FEATURES

  • Feature 1
  • Feature 2
  • Feature 3

FABRICS

  • Fabric

The HTML will look like this: 
Visual of the HTML output as it would appear on the back end of the product page
Visual of the HTML output as it would appear on the back end of the product page

The Excel Concatenate function will look like this: 
Formula for 1 feature & 1 fabric
=CONCATENATE(E6," <p>&nbsp;</p><h3><strong>FEATURES</strong></h3><ul><li> ",G6," </li></ul><p>&nbsp;</p><h3><strong>FABRICS</strong></h3><ul><li> ",T6," </li></ul> ")
Formula for 1 feature & 2 fabrics
=CONCATENATE(E6," <p>&nbsp;</p><h3><strong>FEATURES</strong></h3><ul><li> ",G6," </li></ul><p>&nbsp;</p><h3><strong>FABRICS</strong></h3><ul><li> ",T6," </li><li> ",U6," </li></ul> ")
Formula for 1 feature & 3 fabrics
=CONCATENATE(E6," <p>&nbsp;</p><h3><strong>FEATURES</strong></h3><ul><li> ",G6," </li></ul><p>&nbsp;</p><h3><strong>FABRICS</strong></h3><ul><li> ",T6," </li><li> ",U6," </li><li> ",V6," </li></ul> ")
Formula for 2 features & 1 fabric
=CONCATENATE(E6," <p>&nbsp;</p><h3><strong>FEATURES</strong></h3><ul><li> ",G6," </li><li> ",H6," </li></ul><p>&nbsp;</p><h3><strong>FABRICS</strong></h3><ul><li>",T6," </li></ul> ")
Formula for 2 features & 2 fabrics
=CONCATENATE(E6," <p>&nbsp;</p><h3><strong>FEATURES</strong></h3><ul><li> ",G6," </li><li> ",H6," </li></ul><p>&nbsp;</p><h3><strong>FABRICS</strong></h3><ul><li>",T6," </li><li> ",U6," </li></ul> ")
Formula for 2 features & 3 fabrics
=CONCATENATE(E6," <p>&nbsp;</p><h3><strong>FEATURES</strong></h3><ul><li> ",G6," </li><li> ",H6," </li></ul><p>&nbsp;</p><h3><strong>FABRICS</strong></h3><ul><li> ",T6," </li><li> ",U6," </li><li> ",V6," </li></ul> ")
Formula for 3 features & 1 fabric
=CONCATENATE(E6," <p>&nbsp;</p><h3><strong>FEATURES</strong></h3><ul><li> ",G6," </li><li> ",H6," </li><li> ",I6," </li></ul><p>&nbsp;</p><h3><strong>FABRICS</strong></h3><ul><li>",T6," </li></ul> ")
Formula for 3 features & 2 fabrics
=CONCATENATE(E6," <p>&nbsp;</p><h3><strong>FEATURES</strong></h3><ul><li> ",G6," </li><li> ",H6," </li><li> ",I6," </li></ul><p>&nbsp;</p><h3><strong>FABRICS</strong></h3><ul><li>",T6," </li><li> ",U6," </li></ul> ")
Formula for 3 features & 3 fabrics
=CONCATENATE(E6," <p>&nbsp;</p><h3><strong>FEATURES</strong></h3><ul><li> ",G6," </li><li> ",H6," </li><li> ",I6," </li></ul><p>&nbsp;</p><h3><strong>FABRICS</strong></h3><ul><li> ",T6," </li><li> ",U6," </li><li> ",V6," </li></ul> ")

Formula for 12 features & 1 fabric
=CONCATENATE(E6," <p>&nbsp;</p><h3><strong>FEATURES</strong></h3><ul><li> ",G6," </li><li> ",H6," </li><li> ",I6," </li><li> ",J6," </li><li> ",K6," </li><li> ",L6," </li><li> ",M6," </li><li> ",N6, " </li><li> ",O6," </li><li> ",P6," </li><li> ",Q6, " </li><li> ",R6, " </li></ul><p>&nbsp;</p><h3><strong>FABRICS</strong></h3><ul><li> ",T6," </li></ul> ")
Formula for 12 features & 2 fabrics
=CONCATENATE(E6," <p>&nbsp;</p><h3><strong>FEATURES</strong></h3><ul><li> ",G6," </li><li> ",H6," </li><li> ",I6," </li><li> ",J6," </li><li> ",K6," </li><li> ",L6," </li><li> ",M6," </li><li> ",N6, " </li><li> ",O6," </li><li> ",P6," </li><li> ",Q6, " </li><li> ",R6, " </li></ul><p>&nbsp;</p><h3><strong>FABRICS</strong></h3><ul><li> ",T6," </li><li> ",U6," </li></ul> ")
Formula for 12 features & 3 fabrics
=CONCATENATE(E197," <p>&nbsp;</p><h3><strong>FEATURES</strong></h3><ul><li> ",G197," </li><li> ",H197," </li><li> ",I197," </li><li> ",J197," </li><li> ",K197," </li><li> ",L197," </li><li> ",M197," </li><li> ",N197, " </li><li> ",O197," </li><li> ",P197," </li><li> ",Q197, " </li><li> ",R197, " </li></ul><p>&nbsp;</p><h3><strong>FABRICS</strong></h3><ul><li> ",T197," </li><li> ",U197," </li><li> ",V197, "</li></ul> ")

This reference list should work for my current Columbia spreadsheet. Keeping in mind the letter will be the same but the numbers will change depending on the row they need to apply to. I will add the formula in row 6 and then I will copy the formula down for each row on the spreadsheet.

Tip: Excel will color code selected cells, if the cell ID is not colored this is an indication of where you made a mistake in your formula. 

Similar Posts

  • Color Range

    What is the easiest way to change the image background in Photoshop?  Wiki How – this seems like the old way to change a background color. I’m looking for a more efficient way to accomplish a task needing to be done in repetition. Ideally something we could do with a batch edit, but lets not get…

  • Unity 101

    There are a lot of game developing engines out there and knowing which one is best to use can be somewhat of a gamble. I have been learning about Unity and using their free community license. Unity has a pretty steep learning curve, but it does allow 2D and 3D game development. It also has…

  • Embroidery Software

    In the end I decided Embird was the way to go for an affordable embroidery software that was somewhat easy to use. Also there are plenty of tutorials on youtube to help get started. Lately, I’ve had a need for a creative outlet. Recently I was inspired to look into how embroidery sewing machines work….

  • WordPress Pi

    I’ve been working on getting my WordPress database back, as it was recently hacked. I am doing my best to get over the total let down from the international hosting corporation, GoDaddy. As the damage is now done, and I need to put my efforts toward database recovery. I am still annoyed that I was…

  • Batch Resize

    There are many tutorials out there to resize images in bulk on youtube. I have found a few that get me close to my goal, but they don’t quite hit all the points or solve my problem. I needed to resize hundreds of product photos from the vendor and these images came in all orientations…

Leave a Reply

Your email address will not be published. Required fields are marked *