+ Reply to Thread
Results 1 to 38 of 38

First 3 letters equal to THIRD FOURTH FIFTH

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

    First 3 letters equal to THIRD FOURTH FIFTH

    Find attached

    looks for comments marking Y if first 3 letters words is equal at 4th 5th 6th , example

    ATLATLS
    TOETOES
    Attached Files Attached Files

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    =IF(MID(B1,1,3)=MID(B1,4,3),"Y","N")

    Or if you need to match case as well then,

    =IF(EXACT(MID(B1,1,3),MID(B1,4,3)),"Y","N")
    Cheers
    Andy
    www.andypope.info

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

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    Thank you Ande POP for a answer beyond quick

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

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    Trying the below

    Please Login or Register  to view this content.
    For such pattern
    PONTOON
    SPONTOON

    not working

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,310

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    It will not work if you are trying to compare two words as you need to test 2 different cells


    =IF(EXACT(MID(B1,1,7),MID(C1,2,7)),"Y","N"

    PONTOON .....B1
    SPONTOON ..C1
    Last edited by JohnTopley; 03-22-2022 at 04:38 AM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

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

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    Thread open , I tried editing that of ANDE POP , seconded by John T will not work

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,137

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    Quote Originally Posted by makinmomb View Post
    For such pattern
    PONTOON
    SPONTOON

    not working
    That is a different rule you are trying to apply. Letters 1-3 = letters 4-6 is OK, I think - you have a solution. What is the rule you are trying to apply now?
    Last edited by AliGW; 03-23-2022 at 05:52 AM. Reason: Quotation fixed.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,310

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    What does not work ?
    Attached Files Attached Files

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

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    The dictionary is vertical mode , something like this but did not work

    Please Login or Register  to view this content.

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

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    First 7 letters matching 7 letters from 2 letter OF next word

    PONTOONS
    SPONTOON

  11. #11
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    I admit I completely lost with what it is you are trying to do and the size of the data you are working with.

    It started with comparison of 3 characters in same text, and now we have 7 characters with 42089 words.

    The attached is what I think you are looking for. If not provide more detail and an example workbook with expected results.
    Attached Files Attached Files

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

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    I will opt for a macro , for anyone whose understood what i need

  13. #13
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,137

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    A macro may be needed. But please summarise:

    The thread has changed from:

    1-3 = 4-6
    1-7 = 2-8

    What other combinations do you want to capture?

    Do you >>HOPE<< to capture them ALL in one formula???

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

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    Only for what i asked for

  15. #15
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,310

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    Again your unwillingness to provide a sensible sample and explanation is proving very frustrating to those who are trying to help you



    =IF(EXACT(MID(H1,1,7),MID($H$1:$H$42089,2,7)),"Y","")
    One interpretation of the above is to check H1 (single value) against the 42000 (H) rows: Is that what you mean?

    Only for what i asked for
    is not very enlightening!

  16. #16
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    you have been given what you asked for. Trouble is it does not appear to be what you want.

    Simply repeating your request for an answer will not enable those trying to help.
    Please explain your problem with example file.

  17. #17
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,137

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    How come Andy's solution (post 11) does not work?? It looks fine to me.

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

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    It is not working for me gives #SPILL! if i paste the dictionary as paste values , it is not only looking for PONTOON , it is scanning whole dic for such occurance , I will just wait for a macro , dic at A1 DOWNARDS results on B1 downwards
    Last edited by makinmomb; 03-24-2022 at 07:26 AM. Reason: NOT pontoon

  19. #19
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,310

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    You probably won't get a macro as you still have not properly explained your requirement , nor posted a representative file, showing what is required

    dic at A1 DOWNARDS results on B1 downwards

    Meaningless to everyone (except you).

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

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    Macro defined

    example PONTOONS , check first 7 letters of every word if true with the last 7 letters example SPONTOON , pull pair on b1

    John is that English Okay ? common in both is PONTOON

  21. #21
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,137

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    I am writing this, not as "Glenn Kennedy - a helper" but as "Glenn Kennedy - a Forum moderator".

    makinmomb. You need to think a bit more about:

    a) the descriptions you use in your threads (they are minimalist to the point of being inadequate)

    b) the completeness of your sample sheets

    c) your impatience which becomes VERY visible when helpers are unable to uderstand what you want... faced with the limitations of inadequate descriptions.


    A lot of people here are very generous towards you with their time. Show them some respect and provide CLEAR EXPLANATIONS and EXPECTED results. Not at Post 15, or 20, or whatever... but at Post 1.

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

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    Glenn Kennedy closely noted

  23. #23
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,310

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    Please Login or Register  to view this content.
    Data in column H results in column I

    Value in H1 compared to values in H2 down (Sheet2)

    I used Andy's file in the absence of any other.

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

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    Find attach dic text mode for realistic results , what else can get apart from PONTOON SPONTOON

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

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    What does it pull out of this 5ooo words ?
    Attached Files Attached Files

  26. #26
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,310

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    many single matches such as

    EVITATED
    LEVITATE

    HEADING
    SHEADING

    See sheet3
    Attached Files Attached Files

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

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    I get u john so I have to go find the Y , leaving thread open , waiting for easy summary , data a1 pull results pairs at B

  28. #28
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    this formula builds a list of words where characters 1:7 match with 2:7 across all words in column A.

    =TEXTJOIN(",",TRUE,TRANSPOSE(IF(MID(A1,1,7)=MID($A$1:$A$5001,2,7),$A$1:$A$5001,"")))

    And this then generates a sorted list of words that have matches and the list of matching words.

    =SORT(FILTER(A1:B5001,B1:B5001<>""))
    Attached Files Attached Files

  29. #29
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    Just guess.
    B2:
    Please Login or Register  to view this content.
    Drag down
    It should take time to process, but it works.
    I will come back with VBA code solution, if this result was confirmed.
    Attached Files Attached Files
    Quang PT

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

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    Bebo this is what i wanted , it did not take long , even enough to process 44,444 dictionary

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

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    Thank you Bebo

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

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    Andy Pope your version looks faster than Bebo , waiting for Bebo Macro , the transpose option pairs , i liked that
    Last edited by makinmomb; 03-25-2022 at 07:40 AM. Reason: ANDY POP

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

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    Some results from BEBO formula that took 1o minutes plus for and summarised 755 words of that nature here are some

    740 NOGGINGS SNOGGING
    741 REASSESS PREASSES
    742 COGGINGS SCOGGING
    743 HOGGINGS SHOGGING
    744 LAYBACKS PLAYBACK
    745 HISSINGS WHISSING
    746 LOWBALLS BLOWBALL
    747 RECHECKS PRECHECK
    748 CHAPPESS ECHAPPES
    749 LOTHFULL SLOTHFUL
    750 CUFFLESS SCUFFLES
    751 WAYBACKS SWAYBACK
    752 HUTZPAHS CHUTZPAH
    753 MUGGINGS SMUGGING
    754 WIGGINGS TWIGGING
    755 COSMISMS ACOSMISM

  34. #34
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,310

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    Try

    Please Login or Register  to view this content.
    RUN on Sheet3
    Attached Files Attached Files

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

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    John Macro , closes the thread , i have processes the dic , lets see if has power to go 44,444 rows

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

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    There is a likely hood of Ande Pope formula based running faster than a macro

  37. #37
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,310

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    Yes .. Andy's formula is very quick but equally someone will write better VBA than mine!!

  38. #38
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,310

    Re: First 3 letters equal to THIRD FOURTH FIFTH

    Faster VBA: Updated on 26/03/2022


    Please Login or Register  to view this content.
    Last edited by JohnTopley; 03-26-2022 at 07:14 AM.

+ 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] first 4 equal to next 4 letters
    By makinmomb in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-15-2022, 07:13 AM
  2. Replies: 2
    Last Post: 02-12-2018, 01:50 PM
  3. Letters V or S equal to 0
    By graiggoriz in forum Excel General
    Replies: 2
    Last Post: 04-19-2017, 05:45 AM
  4. i need a formula for the sum of letters thart equal numbers
    By ERASHID in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-13-2015, 05:45 AM
  5. [SOLVED] Summing letters that equal numbers
    By M. McGee in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-07-2013, 03:12 PM
  6. Replies: 2
    Last Post: 09-28-2011, 12:07 PM
  7. I want a series of letters to equal a dollar amount?
    By awhitaker in forum Excel General
    Replies: 1
    Last Post: 05-17-2005, 09: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