+ Reply to Thread
Results 1 to 3 of 3

Thread: Creating one column from multiple columns?

  1. #1
    Registered User
    Join Date
    01-26-2012
    Location
    birmingham
    MS-Off Ver
    Excel 2003
    Posts
    3

    Creating one column from multiple columns?

    Hi,
    I was wondering if there was a formula I could use to create one column from multiple columns. I.e I have three columns with 'monocular' 'binocular' and 'left/right' respectively, with 'true' or 'false' appearing in the monocular and binocular columns (mutually exclusive, cant be true or false in both), and 'left' or 'right' in the 'left/right' column. I want to create one column that will say whether it is monocular left, monocular right, binocular left or binocular right. e.g;

    Currently it is;

    Monocular Binocular Left/right
    TRUE FALSE LEFT
    TRUE FALSE RIGHT
    FALSE TRUE RIGHT
    TRUE FALSE LEFT
    FALSE TRUE LEFT

    I want it to go to (one column);

    MONOCULAR LEFT
    MONOCULAR RIGHT
    BINOCULAR RIGHT
    MONOCULAR LEFT
    BINOCULAR LEFT

    I have thousands of rows to do so it will take days manually!
    Thank you in advance,
    Kate

  2. #2
    Registered User
    Join Date
    01-26-2012
    Location
    birmingham
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Creating one column from multiple columns?

    That didn't come out like I wanted!!The first e.g is meant to be spaced apart, imagine it in 3 columns of 'monocular' 'binocular' and 'left/right' with the true/false/left etc underneath...

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

    Re: Creating one column from multiple columns?

    if true/false start in a2 /b2 then in c2 =IF(A2=TRUE,$A$1,$B$1)&" "&C2
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and a dabbler in Cisco
    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

+ 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.2.0