Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8868743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:20:07+00:00 2026-06-14T17:20:07+00:00

I have an excel sheet with >2000 records with two columns. I want to

  • 0

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….

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T17:20:08+00:00Added an answer on June 14, 2026 at 5:20 pm

    On a second Sheet simply use this formulas, then save the sheet:

     Sheet2!A1=CONCATENATE("{""",Sheet1!A1,""",""",Sheet1!B1,"""}")
    

    this should result into:

     {"title_add","ADDING SOMETHING"}
    

    and this is my original formula, which created the result above:

     =VERKETTEN("{""";A1;""",""";B1;"""}")
    

    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 😉

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Excel sheet with two columns and I need to create new
I have an excel sheet with 8 rows and 4096 columns.I am trying to
I have a excel sheet with 7 fields. I want to remove/filter all the
I have an excel sheet similar to : I want to read data columns
I have an excel sheet with two columns of interest Year and Donations. The
I have an Excel sheet with two column, one is a number , and
I have an excel sheet that I want to load into a datatable withe
I have a dynamic range in an Excel sheet. DATA_TABLE =OFFSET(DATA!$B$3,0,0,COUNTA(DATA!$B:$B)-1,0) I want to
I'm new to c#.net I have excel sheet and I want to import into
Hi i have an excel sheet with headers,i want to populate those headers into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.