I'm not sure I understood the input correctly, but if you want to generate a bunch of DIV
s with some repeating text, you may add to E1
(assuming your text COL1...3
and blah blah
are placed in columns A:D
starting first row) the following formula:
="<div id="""&A1&""" style="""&"display:none;"""&">"&B1&" "&C1&" "&D1&"</div>"
Autofill it down the list of text values and export / copy to HTML editor generated DIV
s.
Sample file: https://www.dropbox.com/s/gd52pp2p34flesg/DIVgenerator.xlsx