+ Reply to Thread
Results 1 to 23 of 23

Pull similars from two lists of different LENGTHS

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Pull similars from two lists of different LENGTHS

    I have list of words on A , 7 letters long
    I have list of words on B , 8 letters long

    Look at D and E where i have manually placed BALADIN and BALLADIN

    I need this manually placed to be done by a macro
    that will run through 35,254 rows from ROW A and 42,089 rows from row B

    It should place such similars on D and E

    Find attached
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Pull similars from two lists of different LENGTHS

    try
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,521

    Re: Pull similars from two lists of different LENGTHS

    Do you want to reverse the data?
    If so, try so.

    Please Login or Register  to view this content.
    Last edited by jolivanes; 06-11-2022 at 12:01 AM.
    Experience trumps academics every day of the week and twice on Sunday.

  4. #4
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pull similars from two lists of different LENGTHS

    Jindon , fingers crossed it will pour results , it has taken 3o minutes still processing , for thus number of rows i hope it will take time but will do the task

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Pull similars from two lists of different LENGTHS

    Quote Originally Posted by makinmomb View Post
    through 35,254 rows from ROW A and 42,089 rows from row B
    Would take time.
    Got different result (a few more) and see if this runs faster.
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pull similars from two lists of different LENGTHS

    Gives Run Time Error "13"

    Type Mismatch

    It took one hour on that macro and did not pour results

  7. #7
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pull similars from two lists of different LENGTHS

    When I debug it Highlights in Yellow the following

    txt = Chr(2) & Join(Filter([transpose(if(b1:b100000<>"",b1:b10000))], False, 0), Chr(2)) & Chr(2)

  8. #8
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Pull similars from two lists of different LENGTHS

    Do you have error value somewhere?

    Anyway, found a bug in my first code.
    It should be
    Please Login or Register  to view this content.
    Then you will get 4 results as my second one.

  9. #9
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pull similars from two lists of different LENGTHS

    Looks working

    It has poured 7 results and still searching

    It started with

    CABALAS CABBALAS
    BARACAN BARRACAN and other 5 results

  10. #10
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pull similars from two lists of different LENGTHS

    Thank you Jindon , awesome stuff

  11. #11
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Pull similars from two lists of different LENGTHS

    You are welcome and thanks for the rep.

    This one uses array for output to dump data at a time.
    Don't think much difference in speed though.
    Please Login or Register  to view this content.

  12. #12
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pull similars from two lists of different LENGTHS

    It is not able to process , maybe those number of rows is too big , can i send the file to you to see if it does the magic your end ?

  13. #13
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pull similars from two lists of different LENGTHS

    I have used SAVE AS to save the file at 1o,ooo rows , still not achievable

  14. #14
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Pull similars from two lists of different LENGTHS

    tested on 50000+ rows
    Please Login or Register  to view this content.
    Note:
    Code has been replaced.
    Last edited by jindon; 06-11-2022 at 12:12 PM.

  15. #15
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Pull similars from two lists of different LENGTHS

    Maybe :
    Please Login or Register  to view this content.
    1. I care dog
    2. I am a loop maniac
    3. Forum rules link : Click here
    3.33. Don't forget to mark the thread as solved, this is important

  16. #16
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pull similars from two lists of different LENGTHS

    Will try the version of Karedog too and report as to working or not

  17. #17
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pull similars from two lists of different LENGTHS

    Karedog , damn cool , it did everything in less than 5 seconds and i liked the row insert it does

  18. #18
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pull similars from two lists of different LENGTHS

    Karedog I need a small modification , for some are plurals , I want the macro to scrap of that like NOTAIRE and NOTAIRES , write a code on remove plurals

    NOTAIRE (1) NOTAIRES (10)

    ETAERIO (3) ETAERIOS (17)

    ANEROID (4) ANEROIDS (21)

    Results are 55,ooo rows i am curious to see the results with plurals stands at how many ?
    Last edited by makinmomb; 06-14-2022 at 08:38 AM. Reason: CLOSER EXPLAIN s again

  19. #19
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pull similars from two lists of different LENGTHS

    Jindon did you see Karedog macro ?

  20. #20
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pull similars from two lists of different LENGTHS

    Modification 2

    On g it should do NUMBERING see sample of results

    1 NOTAIRE (1) NOTAIRES (10)

    2 ETAERIO (3) ETAERIOS (17)

    3 ANEROID (4) ANEROIDS (21)

    4 AILERON (5) TAILERON (7)
    AILERONS (28)

  21. #21
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Pull similars from two lists of different LENGTHS

    Maybe :
    Please Login or Register  to view this content.
    and thanks for rep.points given.

  22. #22
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pull similars from two lists of different LENGTHS

    Thank you Karedog , beyong exact , the word beautiful fails too

  23. #23
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Pull similars from two lists of different LENGTHS

    You are welcome, thanks for marking the thread as solved.

    Regards

+ 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. Combine lists of different lengths into a single list
    By shearnlilker in forum Excel General
    Replies: 0
    Last Post: 01-30-2019, 03:10 PM
  2. Similars letter extract
    By makinmomb in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-14-2017, 08:27 AM
  3. Similars with vowels end
    By makinmomb in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 05-01-2017, 08:09 AM
  4. Best way to store lists of varying lengths
    By jik_ff in forum Access Tables & Databases
    Replies: 5
    Last Post: 04-17-2013, 08:54 AM
  5. [SOLVED] Unable to pull numbers (variable lengths and periods) out of cells
    By BDavis in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-08-2013, 04:02 PM
  6. [SOLVED] How to use two pull down lists to pull information from a third table
    By RibbleValley in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-09-2012, 07:45 AM
  7. If and Pull-down lists
    By Cleman04 in forum Excel General
    Replies: 3
    Last Post: 06-24-2009, 10:40 AM

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