+ Reply to Thread
Results 1 to 3 of 3

Adding text from three cells into a separate cell

Hybrid View

  1. #1
    Registered User
    Join Date
    02-05-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    6

    Adding text from three cells into a separate cell

    Hi,

    I wonder if it is possible to do the following:

    1. I am using EXCEL to collate columns of data and then compose a combination of the data in a seaparate column.
    2. I have rows of reference codes in column A and rows of another reference code in column B.
    3. I would like to set up a new code in colummn C that will read as: BOC_"code from column A"_"Code from coumn B". BOC is the name of a group that will be represented in column C

    CodeA CodeB Code BOC
    2341 8745 BOC_2341_8745
    3453 3478
    2312 5646
    5412 6756

    How do I use a formula or macro to allow Column c to be filled in?

    Thanks

    Raurie

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,454

    Re: Adding text from three cells into a separate cell

    ="BOC_"&A2&"_"&B2"


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    02-06-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Adding text from three cells into a separate cell

    =concatenate("BOC",A1,B1)
    Last edited by Paul; 02-06-2012 at 06:07 PM. Reason: Removed advertising link.

+ 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