+ Reply to Thread
Results 1 to 13 of 13

How do I Calculate How Many Letters Match Between Cells

  1. #1
    Registered User
    Join Date
    12-16-2020
    Location
    hyderabad
    MS-Off Ver
    office 365
    Posts
    10

    How do I Calculate How Many Letters Match Between Cells

    How do I Calculate, Please find the attachment and do needful help.
    Attached Files Attached Files
    Last edited by AliGW; 09-05-2022 at 06:07 AM. Reason: Thread title improved - please make your thread titles explicit & not generic in future.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How do I Calculate

    Explain more in your question, since not all members want to open the file, only to see the question.

    I can't help you with this one.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: How do I Calculate How Many Letters Match Between Cells

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. As you are new here, I have done it for you this time.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    12-16-2020
    Location
    hyderabad
    MS-Off Ver
    office 365
    Posts
    10

    Re: How do I Calculate How Many Letters Match Between Cells

    ACTUALLY THERE ARE
    A B C
    ABD ABD =IF(B1=A1,3,0)
    ABD AD Here AD is matching so the input should be 2
    ABCD A 1
    ABCD CDAB 4
    ABD DB 2 LIKE THIS I WANT

    THANKYOU

  5. #5
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,433

    Re: How do I Calculate How Many Letters Match Between Cells

    In all your examples, every letter in B also occurs in A. What should happen if it isn't?
    For example, A2 = ABCD. B2 = BCF?

  6. #6
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,433

    Re: How do I Calculate How Many Letters Match Between Cells

    If you want to count how many letters matched between cells in column B and cells in Column A please try this formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I'm looking forward to your feedback.
    Attached Files Attached Files
    Last edited by HansDouwe; 09-05-2022 at 12:23 PM.

  7. #7
    Registered User
    Join Date
    12-16-2020
    Location
    hyderabad
    MS-Off Ver
    office 365
    Posts
    10

    Re: How do I Calculate How Many Letters Match Between Cells

    wow it's worked thank you brother.. thank you sooo much

  8. #8
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,433

    Re: How do I Calculate How Many Letters Match Between Cells

    Thx for the feedback and rep. I was happy to find a solution for your question.

  9. #9
    Registered User
    Join Date
    12-16-2020
    Location
    hyderabad
    MS-Off Ver
    office 365
    Posts
    10

    Re: How do I Calculate How Many Letters Match Between Cells

    brother one more help i needed. ignoring (commas), can we count the letters.

    Attachment 795016

    How do i calculate matching letters ignoring , commas no of letters formula should be in column C.
    Please help

    A1=A,B,C
    A2=A,B,C,D
    A3=C,D

    B1=A,B,C
    B2=A,C,D,B
    B3=A,D

    C1=3
    C2=4
    C3=1
    Last edited by rexysri; 09-06-2022 at 09:41 AM.

  10. #10
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How do I Calculate How Many Letters Match Between Cells

    @rexysri

    vBulletin Message

    Invalid Attachment specified. If you followed a valid link, please notify the administrator

  11. #11
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,433

    Re: How do I Calculate How Many Letters Match Between Cells

    This formula counts only the letters (uppercase and lowercase).

    The comparison is not case sensitive.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    12-16-2020
    Location
    hyderabad
    MS-Off Ver
    office 365
    Posts
    10

    Re: How do I Calculate How Many Letters Match Between Cells

    thQ brother it's worked .

  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,063

    Re: How do I Calculate How Many Letters Match Between Cells

    or:

    =SUM(N(ISNUMBER(SEARCH(MID(B2,SEQUENCE(LEN(B2)),1),SUBSTITUTE(A2,",","")))))
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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. Index Match to calculate data - Filter calculate
    By Tgbell in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-03-2019, 01:46 PM
  2. Replies: 1
    Last Post: 01-07-2018, 10:30 AM
  3. Replies: 5
    Last Post: 06-11-2017, 01:51 AM
  4. Code to Calculate the product of two matrices won't calculate
    By njrobby in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-05-2015, 01:37 AM
  5. Target.Calculate to Me.Calculate breaks Copy/Paste
    By vayana in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-27-2013, 10:36 AM
  6. [SOLVED] Calculate values in col B based on value in col B but only calculate final 5 instances
    By arnoldd99 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-04-2013, 11:53 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