+ Reply to Thread
Results 1 to 4 of 4

Need to join two values together into one field

  1. #1
    Registered User
    Join Date
    11-12-2012
    Location
    Tampa, Fl
    MS-Off Ver
    Excel 2003
    Posts
    6

    Need to join two values together into one field

    Heres what i have... i have a spreadsheet with two columns. One colum is DEVICE LOOP, the other is DEVICE ID.
    I need to take the device loop value and join/append it with the value in the next column.. and put a dash between them.

    Example
    DEVICE LOOP | DEVICE ID
    1 | 205


    I need it to make it....
    1-205
    and put that into a new field in a new column...

    I am new at this.. and my terminology may not be right. English is not my primary language.

  2. #2
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Re: Need to join two values together into one field

    if A2 contains 1
    B2 contains 205
    in C2 enter =A2 & "-" & B2


    Sean

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Need to join two values together into one field

    =a2&"-"&b2 should do it
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Need to join two values together into one field

    Assuming cell A2 & B2 are having your values, Type this in C2

    Please Login or Register  to view this content.
    You can also use function CONCATENATE

+ 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