+ Reply to Thread
Results 1 to 4 of 4

Classify numbers by relation to each other

  1. #1
    Forum Contributor
    Join Date
    01-21-2010
    Location
    Chicago,Illinois
    MS-Off Ver
    Excel 2019
    Posts
    206

    Classify numbers by relation to each other

    I have a number in 4 columns from 0-9. (below)

    5 1 3 6

    I want to label the numbers by their relation to each other...

    5= High

    1= Low

    3=Mid

    6=S (super)


    It would look like this....

    5 1 3 6 H L M S

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,754

    Re: Classify numbers by relation to each other

    Look at the attached. It is a two step process.
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    01-21-2010
    Location
    Chicago,Illinois
    MS-Off Ver
    Excel 2019
    Posts
    206

    Re: Classify numbers by relation to each other

    The formula fails to address the issue. I'm not labeling a specific number. I want to label each number by the relation to the others.

    Also, I would like the results to show in the columns F to I
    Last edited by Jordans121; 07-26-2011 at 11:37 PM.

  4. #4
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Classify numbers by relation to each other

    Assume the numbers are in A1:D1.

    Try this in F1 to copy across.

    =CHOOSE(MATCH(A1,LARGE($A1:$D1,{1,2,3,4}),0)+COUNTIF($A1:A1,A1)-1,"S","H","M","L")
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

+ 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