+ Reply to Thread
Results 1 to 3 of 3

Call in the Calvary...How to get multiple column data in single column

  1. #1
    Registered User
    Join Date
    05-11-2011
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    2

    Call in the Calvary...How to get multiple column data in single column

    Hi,
    I have been trying to get this puzzle solved but to no avail.....I have got two spreadsheets...I want to get A/C Key in sheet 1 from sheet 2 based on CSI (unique) no. and also if there is no A/C key than I want to bring all the A/C keys assigned to the respective account (lookup by first three numbers- in this case 502) in a single column against that account. I have attached a scenario underneath... Thanks
    Sheet 1
    CSI A/C KEY
    102300 320ONE0
    202300 320TWO0
    302300 320THREE0
    402300 320FOUR0
    502
    502301 320FIVE1
    502302 320FIVE2
    502303 320FIVE3

    Sheet 2
    CORP A/C KEY
    102300 320ONE0
    202300 320TWO0
    302300 320THREE0
    402300 320FOUR0
    502
    502301 320FIVE1
    502302 320FIVE2
    502303 320FIVE3

    RESULT SET THAT I WANT IS
    SHEET 1

    CSI A/C KEY
    102300 320ONE0
    202300 320TWO0
    302300 320THREE0
    402300 320FOUR0
    502 320FIVE1
    320FIVE2
    320FIVE3
    502301 320FIVE1
    502302 320FIVE2
    502303 320FIVE3
    Last edited by raj0070; 05-12-2011 at 03:24 PM.

  2. #2
    Registered User
    Join Date
    05-11-2011
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    2

    Please help..How to get multiple column data in single column

    Hi,
    I have been trying to get this puzzle solved but to no avail.....I have got two spreadsheets...I want to get A/C Key in sheet 1 from sheet 2 based on CSI (unique) no. and also if there is no A/C key than I want to bring all the A/C keys assigned to the respective account (lookup by first three numbers- in this case 502) in a single column against that account. I have attached a scenario underneath... Thanks
    Sheet 1
    CSI A/C KEY
    102300 320ONE0
    202300 320TWO0
    302300 320THREE0
    402300 320FOUR0
    502
    502301 320FIVE1
    502302 320FIVE2
    502303 320FIVE3

    Sheet 2
    CORP A/C KEY
    102300 320ONE0
    202300 320TWO0
    302300 320THREE0
    402300 320FOUR0
    502
    502301 320FIVE1
    502302 320FIVE2
    502303 320FIVE3

    RESULT SET THAT I WANT IS
    SHEET 1

    CSI A/C KEY
    102300 320ONE0
    202300 320TWO0
    302300 320THREE0
    402300 320FOUR0
    502 320FIVE1
    320FIVE2
    320FIVE3
    502301 320FIVE1
    502302 320FIVE2
    502303 320FIVE3

  3. #3
    Registered User
    Join Date
    05-13-2011
    Location
    New Zealander in London
    MS-Off Ver
    Excel 2007
    Posts
    74

    Re: Please help..How to get multiple column data in single column

    Quote Originally Posted by raj0070 View Post
    Hi,
    I have been trying to get this puzzle solved but to no avail.....I have got two spreadsheets...I want to get A/C Key in sheet 1 from sheet 2 based on CSI (unique) no. and also if there is no A/C key than I want to bring all the A/C keys assigned to the respective account (lookup by first three numbers- in this case 502) in a single column against that account. I have attached a scenario underneath... Thanks
    It is very difficult to see if I have this right as the formatting of your test data is missing, however the macro below should be a pretty close match to what you're after.
    Please Login or Register  to view this content.

+ 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