+ Reply to Thread
Results 1 to 6 of 6

how to make 2 data each from seperate column into one

Hybrid View

  1. #1
    Registered User
    Join Date
    11-14-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    68

    how to make 2 data each from seperate column into one

    Example:before

    ID.........SEC.........
    oa........ .........
    ob........asd .........

    so at this point if i want ob and asd combine and add "_" in between to get this result "ob_asd" is this possible?

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: how to make 2 data each from seperate column into one

    If ID is Column A and SEC is Column B, then maybe this can help.

    =A2&"-"&B2

  3. #3
    Registered User
    Join Date
    11-14-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    68

    Re: how to make 2 data each from seperate column into one

    can i use this also "=IF(ISBLANK(B2),A2,A2&"_"&B2)"?
    My Oa doesnt have anthing in column b so i try to do so with the formula above and it display only what is in a2 which is what i wanted.

  4. #4
    Registered User
    Join Date
    11-14-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    68

    Re: how to make 2 data each from seperate column into one

    Here another one sry if it bothers u so much but what if let say

    ID Password
    a asd
    a qwe
    a zxc
    how do i like select one id and display out the password then if let say the first id,the password has been taken then it will take the second password since its the same ID using If statement hopefully there's a solution to this.

  5. #5
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: how to make 2 data each from seperate column into one

    Quote Originally Posted by zackdy View Post
    can i use this also "=IF(ISBLANK(B2),A2,A2&"_"&B2)"?
    My Oa doesnt have anthing in column b so i try to do so with the formula above and it display only what is in a2 which is what i wanted.
    Should work. Did you try it?

  6. #6
    Registered User
    Join Date
    11-14-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    68

    Re: how to make 2 data each from seperate column into one

    yea it work that but i need just one more help on the one that say password thing hope u can help me too on that and that would be my last question the password thing is above ur reply on my post

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Seperate data in column A that has specific word and move to column B or C or D
    By jachbo in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 09-05-2013, 09:08 PM
  2. Need to make an order form from 2 seperate sheets-no related data
    By tyreethomas in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-11-2013, 08:36 PM
  3. Replies: 16
    Last Post: 02-09-2009, 07:29 AM
  4. Replies: 3
    Last Post: 08-18-2007, 01:59 AM
  5. Replies: 3
    Last Post: 03-30-2005, 04:06 PM

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