Combine cells to create HTML paragraph

Flexi1

New Member
Joined
Feb 15, 2015
Messages
19
I have a supplier spreadsheet with Headings and data, I need to find out how to combine selected headings and then data into one paragraph from multiple cells.

The data is product information across multiple cells & headings and I want to format it so that I can create a HTML product description using all the data.

The product page below shows an example


Below shows desired HTML with the combined cells

<p>Maintain a smart and professional appearance in this hooded 2-layer softshell jacket – a style inspired by a classic. Suitable for a wide range of work and outdoor environments with its contemporary design and functional features, including a full-length zip with storm flap and chin guard, adding another layer of protection.</p><h3>Features:</h3><ul><li>Full-length zip with storm flap and chin guard</li><li>Three-panelled hood with adjustable toggles</li><li>Two front zipped pockets</li><li>Elasticated cuffs</li><li>Raglan sleeves</li><li>Shaped to fit</li><li>Inner hem with adjustable toggles</li><li>Showerproof</li><li>Windproof</li><li>Two inside pockets</li></ul><p><strong>Fabric:</strong> Outer layer: 98% Polyester, 2% Elastane. Inner layer: 100% Polyester.</p><p><strong>Weight:</strong> Outer and inner layer: 290gsm</p><p><strong>Care Instructions:</strong> Machine wash 30°. Gentle setting. Do not bleach. Iron low. Do not tumble dry. Do not dry clean.</p><p><strong>Size Guide:</strong> Regular fit. See size chart for detailed measurements.</p>
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
An example of your results is essential, but we can't give you a solution without seeing what this data looks like in your Excel sheet.
 
Upvote 0
An example of your results is essential, but we can't give you a solution without seeing what this data looks like in your Excel sheet.
SHOPIFY FULL DATA TEMPLATE.csv
KLSVW
1SpecificationRetail DescriptionWashing InstructionsFabricWeight (GSM)
2Reliable 2-layer bonded softshell jacket with hood. Full-length zip with storm flap and chin guard. Three-panelled hood with adjustable toggles. Two front zipped pockets. Elasticated cuffs. Raglan sleeves. Shaped to fit. Inner hem with adjustable toggles. Showerproof. Windproof. Two inside pockets. Easy re-label system. Product contains no branded neck label. Removable Kimble or looped garment tags. Inner seam label holds important product information on one label, with a second label containing brand information which can be cut away.Maintain a smart and professional appearance in this hooded 2-layer softshell jacket – a style inspired by a classic. Suitable for a wide range of work and outdoor environments with its contemporary design and functional features, including a full-length zip with storm flap and chin guard, adding another layer of protection.Machine wash 30°. Gentle setting. Do not bleach. Iron low. Do not tumble dry. Do not dry clean.Outer layer: 98% Polyester, 2% Elastane. Inner layer: 100% Polyester.Outer and inner layer: 290gsm
3Reliable 2-layer bonded softshell jacket with hood. Full-length zip with storm flap and chin guard. Three-panelled hood with adjustable toggles. Two front zipped pockets. Elasticated cuffs. Raglan sleeves. Shaped to fit. Inner hem with adjustable toggles. Showerproof. Windproof. Two inside pockets. Easy re-label system. Product contains no branded neck label. Removable Kimble or looped garment tags. Inner seam label holds important product information on one label, with a second label containing brand information which can be cut away.Maintain a smart and professional appearance in this hooded 2-layer softshell jacket – a style inspired by a classic. Suitable for a wide range of work and outdoor environments with its contemporary design and functional features, including a full-length zip with storm flap and chin guard, adding another layer of protection.Machine wash 30°. Gentle setting. Do not bleach. Iron low. Do not tumble dry. Do not dry clean.Outer layer: 98% Polyester, 2% Elastane. Inner layer: 100% Polyester.Outer and inner layer: 290gsm
4Reliable 2-layer bonded softshell jacket with hood. Full-length zip with storm flap and chin guard. Three-panelled hood with adjustable toggles. Two front zipped pockets. Elasticated cuffs. Raglan sleeves. Shaped to fit. Inner hem with adjustable toggles. Showerproof. Windproof. Two inside pockets. Easy re-label system. Product contains no branded neck label. Removable Kimble or looped garment tags. Inner seam label holds important product information on one label, with a second label containing brand information which can be cut away.Maintain a smart and professional appearance in this hooded 2-layer softshell jacket – a style inspired by a classic. Suitable for a wide range of work and outdoor environments with its contemporary design and functional features, including a full-length zip with storm flap and chin guard, adding another layer of protection.Machine wash 30°. Gentle setting. Do not bleach. Iron low. Do not tumble dry. Do not dry clean.Outer layer: 98% Polyester, 2% Elastane. Inner layer: 100% Polyester.Outer and inner layer: 290gsm
5Reliable 2-layer bonded softshell jacket with hood. Full-length zip with storm flap and chin guard. Three-panelled hood with adjustable toggles. Two front zipped pockets. Elasticated cuffs. Raglan sleeves. Shaped to fit. Inner hem with adjustable toggles. Showerproof. Windproof. Two inside pockets. Easy re-label system. Product contains no branded neck label. Removable Kimble or looped garment tags. Inner seam label holds important product information on one label, with a second label containing brand information which can be cut away.Maintain a smart and professional appearance in this hooded 2-layer softshell jacket – a style inspired by a classic. Suitable for a wide range of work and outdoor environments with its contemporary design and functional features, including a full-length zip with storm flap and chin guard, adding another layer of protection.Machine wash 30°. Gentle setting. Do not bleach. Iron low. Do not tumble dry. Do not dry clean.Outer layer: 98% Polyester, 2% Elastane. Inner layer: 100% Polyester.Outer and inner layer: 290gsm
6Reliable 2-layer bonded softshell jacket with hood. Full-length zip with storm flap and chin guard. Three-panelled hood with adjustable toggles. Two front zipped pockets. Elasticated cuffs. Raglan sleeves. Shaped to fit. Inner hem with adjustable toggles. Showerproof. Windproof. Two inside pockets. Easy re-label system. Product contains no branded neck label. Removable Kimble or looped garment tags. Inner seam label holds important product information on one label, with a second label containing brand information which can be cut away.Maintain a smart and professional appearance in this hooded 2-layer softshell jacket – a style inspired by a classic. Suitable for a wide range of work and outdoor environments with its contemporary design and functional features, including a full-length zip with storm flap and chin guard, adding another layer of protection.Machine wash 30°. Gentle setting. Do not bleach. Iron low. Do not tumble dry. Do not dry clean.Outer layer: 98% Polyester, 2% Elastane. Inner layer: 100% Polyester.Outer and inner layer: 290gsm
7Reliable 2-layer bonded softshell jacket with hood. Full-length zip with storm flap and chin guard. Three-panelled hood with adjustable toggles. Two front zipped pockets. Elasticated cuffs. Raglan sleeves. Shaped to fit. Inner hem with adjustable toggles. Showerproof. Windproof. Two inside pockets. Easy re-label system. Product contains no branded neck label. Removable Kimble or looped garment tags. Inner seam label holds important product information on one label, with a second label containing brand information which can be cut away.Maintain a smart and professional appearance in this hooded 2-layer softshell jacket – a style inspired by a classic. Suitable for a wide range of work and outdoor environments with its contemporary design and functional features, including a full-length zip with storm flap and chin guard, adding another layer of protection.Machine wash 30°. Gentle setting. Do not bleach. Iron low. Do not tumble dry. Do not dry clean.Outer layer: 98% Polyester, 2% Elastane. Inner layer: 100% Polyester.Outer and inner layer: 290gsm
8Reliable 2-layer bonded softshell jacket with hood. Full-length zip with storm flap and chin guard. Three-panelled hood with adjustable toggles. Two front zipped pockets. Elasticated cuffs. Raglan sleeves. Shaped to fit. Inner hem with adjustable toggles. Showerproof. Windproof. Two inside pockets. Easy re-label system. Product contains no branded neck label. Removable Kimble or looped garment tags. Inner seam label holds important product information on one label, with a second label containing brand information which can be cut away.Maintain a smart and professional appearance in this hooded 2-layer softshell jacket – a style inspired by a classic. Suitable for a wide range of work and outdoor environments with its contemporary design and functional features, including a full-length zip with storm flap and chin guard, adding another layer of protection.Machine wash 30°. Gentle setting. Do not bleach. Iron low. Do not tumble dry. Do not dry clean.Outer layer: 98% Polyester, 2% Elastane. Inner layer: 100% Polyester.Outer and inner layer: 290gsm
9Reliable 2-layer bonded softshell jacket with hood. Full-length zip with storm flap and chin guard. Three-panelled hood with adjustable toggles. Two front zipped pockets. Elasticated cuffs. Raglan sleeves. Shaped to fit. Inner hem with adjustable toggles. Showerproof. Windproof. Two inside pockets. Easy re-label system. Product contains no branded neck label. Removable Kimble or looped garment tags. Inner seam label holds important product information on one label, with a second label containing brand information which can be cut away.Maintain a smart and professional appearance in this hooded 2-layer softshell jacket – a style inspired by a classic. Suitable for a wide range of work and outdoor environments with its contemporary design and functional features, including a full-length zip with storm flap and chin guard, adding another layer of protection.Machine wash 30°. Gentle setting. Do not bleach. Iron low. Do not tumble dry. Do not dry clean.Outer layer: 98% Polyester, 2% Elastane. Inner layer: 100% Polyester.Outer and inner layer: 290gsm
10Reliable 2-layer bonded softshell jacket with hood. Full-length zip with storm flap and chin guard. Three-panelled hood with adjustable toggles. Two front zipped pockets. Elasticated cuffs. Raglan sleeves. Shaped to fit. Inner hem with adjustable toggles. Showerproof. Windproof. Two inside pockets. Easy re-label system. Product contains no branded neck label. Removable Kimble or looped garment tags. Inner seam label holds important product information on one label, with a second label containing brand information which can be cut away.Maintain a smart and professional appearance in this hooded 2-layer softshell jacket – a style inspired by a classic. Suitable for a wide range of work and outdoor environments with its contemporary design and functional features, including a full-length zip with storm flap and chin guard, adding another layer of protection.Machine wash 30°. Gentle setting. Do not bleach. Iron low. Do not tumble dry. Do not dry clean.Outer layer: 98% Polyester, 2% Elastane. Inner layer: 100% Polyester.Outer and inner layer: 290gsm
11Reliable 2-layer bonded softshell jacket with hood. Full-length zip with storm flap and chin guard. Three-panelled hood with adjustable toggles. Two front zipped pockets. Elasticated cuffs. Raglan sleeves. Shaped to fit. Inner hem with adjustable toggles. Showerproof. Windproof. Two inside pockets. Easy re-label system. Product contains no branded neck label. Removable Kimble or looped garment tags. Inner seam label holds important product information on one label, with a second label containing brand information which can be cut away.Maintain a smart and professional appearance in this hooded 2-layer softshell jacket – a style inspired by a classic. Suitable for a wide range of work and outdoor environments with its contemporary design and functional features, including a full-length zip with storm flap and chin guard, adding another layer of protection.Machine wash 30°. Gentle setting. Do not bleach. Iron low. Do not tumble dry. Do not dry clean.Outer layer: 98% Polyester, 2% Elastane. Inner layer: 100% Polyester.Outer and inner layer: 290gsm
12Reliable 2-layer bonded softshell jacket with hood. Full-length zip with storm flap and chin guard. Three-panelled hood with adjustable toggles. Two front zipped pockets. Elasticated cuffs. Raglan sleeves. Shaped to fit. Inner hem with adjustable toggles. Showerproof. Windproof. Two inside pockets. Easy re-label system. Product contains no branded neck label. Removable Kimble or looped garment tags. Inner seam label holds important product information on one label, with a second label containing brand information which can be cut away.Maintain a smart and professional appearance in this hooded 2-layer softshell jacket – a style inspired by a classic. Suitable for a wide range of work and outdoor environments with its contemporary design and functional features, including a full-length zip with storm flap and chin guard, adding another layer of protection.Machine wash 30°. Gentle setting. Do not bleach. Iron low. Do not tumble dry. Do not dry clean.Outer layer: 98% Polyester, 2% Elastane. Inner layer: 100% Polyester.Outer and inner layer: 290gsm
13Reliable 2-layer bonded softshell jacket with hood. Full-length zip with storm flap and chin guard. Three-panelled hood with adjustable toggles. Two front zipped pockets. Elasticated cuffs. Raglan sleeves. Shaped to fit. Inner hem with adjustable toggles. Showerproof. Windproof. Two inside pockets. Easy re-label system. Product contains no branded neck label. Removable Kimble or looped garment tags. Inner seam label holds important product information on one label, with a second label containing brand information which can be cut away.Maintain a smart and professional appearance in this hooded 2-layer softshell jacket – a style inspired by a classic. Suitable for a wide range of work and outdoor environments with its contemporary design and functional features, including a full-length zip with storm flap and chin guard, adding another layer of protection.Machine wash 30°. Gentle setting. Do not bleach. Iron low. Do not tumble dry. Do not dry clean.Outer layer: 98% Polyester, 2% Elastane. Inner layer: 100% Polyester.Outer and inner layer: 290gsm
SHOPIFY FULL DATA TEMPLATE
 
Upvote 0
Many of your columns are blank, and it's just the same row repeated several times.

This is the best I can do. The sample Excel data does not have all the data that you showed in your initial example so I'm just guessing which data in Excel maps to which field in the HTML.

$scratch.xlsm
ABCDEFGHIJKLMN
1SpecificationRetail DescriptionWashing InstructionsFabricWeight (GSM)HTML
2Reliable 2-layer bonded softshell jacket with hood. Full-length zip with storm flap and chin guard. Three-panelled hood with adjustable toggles. Two front zipped pockets. Elasticated cuffs. Raglan sleeves. Shaped to fit. Inner hem with adjustable toggles. Showerproof. Windproof. Two inside pockets. Easy re-label system. Product contains no branded neck label. Removable Kimble or looped garment tags. Inner seam label holds important product information on one label, with a second label containing brand information which can be cut away.Maintain a smart and professional appearance in this hooded 2-layer softshell jacket – a style inspired by a classic. Suitable for a wide range of work and outdoor environments with its contemporary design and functional features, including a full-length zip with storm flap and chin guard, adding another layer of protection.Machine wash 30°. Gentle setting. Do not bleach. Iron low. Do not tumble dry. Do not dry clean.Outer layer: 98% Polyester, 2% Elastane. Inner layer: 100% Polyester.Outer and inner layer: 290gsm<p>Maintain a smart and professional appearance in this hooded 2-layer softshell jacket – a style inspired by a classic. Suitable for a wide range of work and outdoor environments with its contemporary design and functional features, including a full-length zip with storm flap and chin guard, adding another layer of protection.</p><h3>Features:</h3><ul><li></li><li></li><li></li><li></li><li></li><li></li><li>Inner hem with adjustable toggles</li><li>Showerproof</li><li>Windproof</li><li>Two inside pockets</li></ul><p><strong>Fabric:</strong>Outer layer: 98% Polyester, 2% Elastane. Inner layer: 100% Polyester.</p><p><strong>Weight:</strong> Outer and inner layer: 290gsm</p><p><strong>Care Instructions:</strong>Machine wash 30°. Gentle setting. Do not bleach. Iron low. Do not tumble dry. Do not dry clean.</p><p><strong>Size Guide:</strong> Regular fit. See size chart for detailed measurements.</p>
Sheet10
Cell Formulas
RangeFormula
N2N2="<p>"&B2&"</p><h3>Features:</h3><ul><li>"&C2&"</li><li>"&D2&"</li><li>"&E2&"</li><li>"&F2&"</li><li>"&G2&"</li><li>"&H2&"</li><li>Inner hem with adjustable toggles</li><li>Showerproof</li><li>Windproof</li><li>Two inside pockets</li></ul><p><strong>Fabric:</strong>"&L2&"</p><p><strong>Weight:</strong> Outer and inner layer: 290gsm</p><p><strong>Care Instructions:</strong>"&I2&"</p><p><strong>Size Guide:</strong> Regular fit. See size chart for detailed measurements.</p>"
 
Upvote 0

Forum statistics

Threads
1,225,627
Messages
6,186,100
Members
453,337
Latest member
fiaz ahmad

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top