+ Reply to Thread
Results 1 to 6 of 6

Check digits between column

  1. #1
    Registered User
    Join Date
    06-17-2008
    Posts
    9

    Check digits between column

    Hi all
    I have got 2 columns and 17 digits for each column and i want to check digit between 2 columns and then report different digit.m

    Hope you help and Thank for help!

    example

    A | B | result digit differance
    PE2ET77141SB02023 | PE2FT77141SB02023 | 5
    MNBBS2D305W485838 | MNBBB2D305W485838 | 5
    MNBBS2D304W375808 | MNBBS2D304W37588 | 16
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    1) Do you want to return the position of the different characters?
    2) If so, then shouldn't the first result be 4 not 5?
    3) In your example file, there are 3 items in column B that have 16 characters, not the 17 you stated.
    4) What do you want to do if there is >1 differences? Comma separate the positions?

    rylo

  3. #3
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527
    Hi iamrony,

    Though your thread explanation / example and the data on your spreadsheet are not overly clear, I've created the following macro which if doesn't do the trick should go a long towards it:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    06-17-2008
    Posts
    9
    Trebor76,rylo : you are excellent! That it work! thanks for all the help!

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,591
    UDF
    Use in cell like
    =If(iamrony(A1,B1)=0,"",iamrony(A1,B1))
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    06-17-2008
    Posts
    9

    I count number in column

    Thank you for your help
    Last edited by iamrony; 06-17-2008 at 11:26 PM.

+ 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