+ Reply to Thread
Results 1 to 5 of 5

pasting into a filtered list

  1. #1
    Registered User
    Join Date
    04-06-2008
    Posts
    3

    Unhappy pasting into a filtered list

    hi im having trouble with excel like, everyone here!

    i have a list of names in excel, which i can filter using advanced filter based on the criteria of another list, i want to paste the data of the second list next to the names in the first list when its filtered. but when you paste next to a filtered list it puts the data into the hidden cells.

    how can i paste only into the visable cells, without having to copy and paste the filtered lists somewhere else?

    e.g. first list:
    aaa 123
    aba 12
    bba 31
    aab 325
    bba 234
    bbb 63
    abb 326
    bab 324

    second list:
    aba 124
    bba 125
    abb 634
    bab 436

    so what i want in the end looks like this:

    aaa 123
    aba 12 124
    bba 31 125
    aab 325
    bba 234
    bbb 63
    abb 326 634
    bab 324 436

    i know that it would be easy with this list as it is so small but i have thousands of rows, and hundreds of columns. does this make any sense?

    thankyou very much to someone who can help me!!

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    I think that you would be better using the VLOOKUP function.

    Alternatively, add an extra column of sequential numbers 1,2,3,4, etc. Include this in your filtered list. Use your criteria to filter in place on the first list and mark visible rows in another column. Then unfilter and sort w.r.t. firstly filter mark and then by sequence. This should allow you to paste appropriately. Then you can unscramble by sorting with the sequential numbers.
    Martin

  3. #3
    Registered User
    Join Date
    04-06-2008
    Posts
    3
    thanks a lot martin, im not sure how to use vlookup, but i think i might be able to do it the other way you mentioned.

    another problem ive just come across is that when filtering the data using the advanced filter it searches for data which CONTAINS words from the criterior, is there any which i can make it only show EXACT MATCHES.

    i.e.

    aaa left
    aca right
    ads
    afs
    afe left
    cve

    is the criterior list is

    aaa
    aca
    ads
    afs
    afe right
    cve

    then advanced filter will show:

    aaa left <---- this is not technically in the criterior list
    aca right <---- this is not technically in the criterior list
    ads
    afs
    cve

    does this make sense?

    thankyou for your time

  4. #4
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    You might try an additional step of using a COUNTIF function pasted into an adjacent column to your results column which will give a zero if an exact match was not obtained. You can then filter or sort by this.

  5. #5
    Registered User
    Join Date
    04-06-2008
    Posts
    3
    ok thank a lot for your help i think ive solved it now.

    if anyone else is having a similar problem, i used find and replace and replaced the space with a random letter which is not in either of the listS, then switched the letter adjecent and to the left with this new digit, so that it would not come up in any of the searches unless it was an exact match

    for example

    AAA LEFT

    becomes

    AABALEFT

    then once the whole list is compiled i can replace 'BA' with 'A '

    thankyou for all your help!

+ 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