+ Reply to Thread
Results 1 to 7 of 7

add a character to every cell

  1. #1
    Registered User
    Join Date
    07-23-2007
    Posts
    1

    add a character to every cell

    Hello everyone! I have a question that will hopefully be simple.

    i have an excel page with one column and around 2000 rows. The problem is, I need to add an @ symbol at the beginning of each cell. Is there a function that will help me achieve this easily? typing them all by hand would be insane.


    Thanks!


    pikaz

  2. #2
    Forum Contributor harrywaldron's Avatar
    Join Date
    05-24-2007
    Location
    Roanoke, VA
    MS-Off Ver
    Office Professional 2010 BETA
    Posts
    169

    Lightbulb

    Hi Pikaz - In another column (like column B for example), you can enter the following formula where "@" would be combined with the contents cell "A" with a leading "at sign". You can then paste this formula down in column B to create this special field based on column A

    ="@"&A1
    Last edited by harrywaldron; 07-23-2007 at 04:25 PM.

  3. #3
    Forum Contributor harrywaldron's Avatar
    Join Date
    05-24-2007
    Location
    Roanoke, VA
    MS-Off Ver
    Office Professional 2010 BETA
    Posts
    169
    P.S. This question was good, as it helped me in some of my daily tasks find a better way

    I often have to lookup information in Toad, which is an Oracle SQL browser. In the past, I'd copy these cells to notepad and manually add quotes in front and back, plus a comma at the end. If there were 00's of entries, I'd put a quote in column A and quote/comma in C and concatenate cells A/B/C.

    Using the formula below, I discovered a way to put quotes and commas around a excel for Toad automatically for a whole column of items.

    How to put quotes in front of and at the end of cell B1 with a comma on the end

    ="'"&B1&"',"
    Last edited by harrywaldron; 07-24-2007 at 09:36 AM.

  4. #4
    Registered User
    Join Date
    08-10-2012
    Location
    Newark OH
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: add a character to every cell

    What if the symbol you wanat to add " is the quotation mark ?
    ="""&A1&""" does not work
    Is there another formula that will work for this?

    Quote Originally Posted by harrywaldron View Post
    P.S. This question was good, as it helped me in some of my daily tasks find a better way

    I often have to lookup information in Toad, which is an Oracle SQL browser. In the past, I'd copy these cells to notepad and manually add quotes in front and back, plus a comma at the end. If there were 00's of entries, I'd put a quote in column A and quote/comma in C and concatenate cells A/B/C.

    Using the formula below, I discovered a way to put quotes and commas around a excel for Toad automatically for a whole column of items.

    How to put quotes in front of and at the end of cell B1 with a comma on the end

    ="'"&B1&"',"

  5. #5
    Registered User
    Join Date
    04-18-2013
    Location
    Ontario Canada
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: add a character to every cell

    Hey Guys
    This post made my life so much easier and saved me so much I that I had to take the time to say thank-you.

    I am converting product codes over to bar codes and I need to put an * in front and back of the code for it to work so I used this post to make life easier.
    ="*"&A1&"*"
    Sure is a lot easier than going through each cell and adding to it.
    Again, Thanks
    Tom

  6. #6
    Registered User
    Join Date
    08-25-2015
    Location
    London, England
    MS-Off Ver
    excel 2013
    Posts
    12

    Re: add a character to every cell

    You can use & or concatinate function. if you have Excel 2013, you can use Flash Fill
    How to use Flash Fill in Excel 2013:
    https://www.youtube.com/watch?v=vPBvWGB4dXM
    Last edited by John90; 08-25-2015 at 08:11 PM.

  7. #7
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,714

    Re: add a character to every cell

    I don't see much point in responding to a thread which is eight years old.

    Pete

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1