+ Reply to Thread
Results 1 to 12 of 12

challenging sorting cells

  1. #1
    Registered User
    Join Date
    11-12-2005
    Posts
    55

    Exclamation challenging sorting cells

    Hey guys
    in the the attached image of excel
    i want to see what is the bigger number in the row 49
    then sorting these numbers descending and write it in C52
    then make a quick equation on in each number ,and this equation is to deduct this figure from each other nine numbers and see what is the zero or above zero result and put it the cell next to this number (column E) starting from E52
    example
    527.7 is the maximum number so i put it in the c52
    and then deduct 527.7from each number ,like the following
    41.0-527.7 = negative value (doesnot count)
    21.8-527.7= negative value (doesnot count)
    ....
    .... so on
    and we will see that the only greater than zero or equal to zero result is only 1 result so we put the figure 1 in the cell E52

    and so on on each number

    can a brilliant professional give me any ideas about it?
    Attached Images Attached Images

  2. #2
    Registered User
    Join Date
    11-12-2005
    Posts
    55

    Question challenging cells sorting

    Hey guys
    in the the attached image of excel
    i want to see what is the bigger number in the row 49
    then sorting these numbers descending and write it in C52
    then make a quick equation on in each number ,and this equation is to deduct this figure from each other nine numbers and see what is the zero or above zero result and put it the cell next to this number (column E) starting from E52
    example
    527.7 is the maximum number so i put it in the c52
    and then deduct 527.7from each number ,like the following
    41.0-527.7 = negative value (doesnot count)
    21.8-527.7= negative value (doesnot count)
    ....
    .... so on
    and we will see that the only greater than zero or equal to zero result is only 1 result so we put the figure 1 in the cell E52

    and so on on each number

    can a brilliant professional give me any ideas about it?
    Attached Images Attached Images

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    In C52 and copy down =LARGE(D$49:M$49, A52)

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Threads merged.

    Please read the Forum Rules, particularly about posting the same question in more than one forum.

  5. #5
    Registered User
    Join Date
    11-12-2005
    Posts
    55
    i put in different forum in order to see the soultion in vba programming and the functions approach if any

    you solution is far from right,please read my question care fully

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    i put in different forum in order to see the soultion in vba programming and the functions approach if any
    Best of luck, amrezzat.

  7. #7
    Registered User
    Join Date
    11-12-2005
    Posts
    55

    Question professional cells

    Hey guys
    in the the attached image of excel
    i want to see what is the bigger number in the row 49
    then sorting these numbers descending and write it in C52
    then make a quick equation on in each number ,and this equation is to deduct this figure from each other nine numbers and see what is the zero or above zero result and put it the cell next to this number (column E) starting from E52
    example
    527.7 is the maximum number so i put it in the c52
    and then deduct 527.7from each number ,like the following
    41.0-527.7 = negative value (doesnot count)
    21.8-527.7= negative value (doesnot count)
    ....
    .... so on
    and we will see that the only greater than zero or equal to zero result is only 1 result so we put the figure 1 in the cell E52

    and so on on each number

    can a brilliant professional give me any ideas about it?
    Attached Images Attached Images

  8. #8
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    If the number put in C52 is the maximum, then all of the results of the subtractions will be negative and "not count".
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  9. #9
    Registered User
    Join Date
    11-12-2005
    Posts
    55
    iam counting the number equal to zero and positive
    hence , on the first number the maximum number will be only 1 result
    but on the second number will be more,

    i want first to sort the numbers descending
    then make the calculations

    so if i choose the second number which is 396 ,and deduct from all the other numbers
    the result will be 2 (1 from 527 ,and 1 from 396 itself ) and this 2 value will be in d53 next to the number in c53

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    amrezzat, you have duplicated this post again. You're about to get some time off to ponder the rules.

  11. #11
    Registered User
    Join Date
    11-12-2005
    Posts
    55
    no answer yet

  12. #12
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    If you put
    =COUNTIF($D$50:$M$50,">="&C52) in D52 and drag down, it should do what you want.

+ 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