+ Reply to Thread
Results 1 to 5 of 5

How to classify type of Points?

  1. #1
    Registered User
    Join Date
    08-09-2015
    Location
    Phnom Penh
    MS-Off Ver
    2010
    Posts
    11

    How to classify type of Points?

    Hi Another question, Do you have any idea how to classify the type of points that I just ask you above?

    -Type A; 12/2, 12-2, 40, 42, 245 in this type there are no duplicate or the same value.
    -Type B; 46/6(1), 46/6(2), 45(1), 45(2) in the type there are duplicate value but the number 1 and 2 inside the bracket indicated that it is in type B.
    -Type C; 21/1(1), 21/1(2), 21/1(3) it is just like type B but number 1, 2 and 3 inside the bracket indicate that it is in type C.

    I have the attachment for more detail about it.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How to classify type of Points?

    Is each "No" unique? I.e. there won't be two 46/6(1) in the column?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    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,203

    Re: How to classify type of Points?

    In your sample you have items which categorised as both B & C

    46/6(1), 46/6(2) as the type B. This type almost got the same value but number 1 and 2 inside the bracket.
    46/6(1), 46/6(2), 46/6(3) as the type C. This type almost got the same value but number 1, 2 and 3 inside the bracket.

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How to classify type of Points?

    Assuming that each number is unique, In B2 copied down

    =IF(ISNUMBER(SEARCH("(",A2)), IF(ISNUMBER(MATCH(REPLACE(A2,FIND("(",A2)+1,1,3),A:A,0)),"C","B"), "A")

    I added a type C in A58 to test it.
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: How to classify type of Points?

    For type A
    Please Login or Register  to view this content.
    For type B
    Please Login or Register  to view this content.
    For Type C
    Please Login or Register  to view this content.
    Pl see file
    Attached Files Attached Files

+ 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. classify problem
    By cmccabe in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-24-2014, 09:56 AM
  2. [SOLVED] classify and sort
    By cmccabe in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-11-2014, 11:32 AM
  3. VBA to classify and color
    By cmccabe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-30-2014, 02:54 PM
  4. Classify with VBA
    By cmccabe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-19-2014, 02:22 PM
  5. How to classify a list
    By reganbaha in forum Excel General
    Replies: 2
    Last Post: 06-21-2011, 05:25 PM
  6. Classify by textcolour?
    By Bandini in forum Excel General
    Replies: 2
    Last Post: 03-05-2010, 10:05 AM
  7. classify days in rule
    By gohan123 in forum Excel General
    Replies: 0
    Last Post: 06-05-2007, 05:36 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