I have an excel sheet with >2000 records with two columns.
I want to add
{"<first_col_data>",
and
"<sec_col_data>"},
to all the rows, and save to a text file. I mean adding the curly brace, double-quotes and comma.
e.g.
data.xls =>
A | B
----------------------------------
title_add | ADDING SOMETHING
title_list | LISTING SOMETHING
output text file data.txt =>
{"title_add","ADDING SOMETHING"},
{"title_list","LISTING SOMETHING"},
How do I do that? I have no idea of macros or functions.
Thanks for your help….
On a second Sheet simply use this formulas, then save the sheet:
this should result into:
and this is my original formula, which created the result above:
My other solution (as a one time quickie) would be using Notepad++ to find/replace/insert after saving the xls as as csv or txt. Or AWK, if this is a regular thing.
You could of course do this with a macro, maybe someone else is so nice to provide one for you, but as you don’t have any idea of macros, I wouldn’t even recommend it, until you have some idea 😉