+ Reply to Thread
Results 1 to 16 of 16

Modification on ranking products

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,618

    Modification on ranking products

    This formula is working as intended

    =IF(D2=0,"",RANK(D2,$D$2:$D$31))

    There is only a small issue ,
    if two products have been sold same
    quantity , it skips the next rank

    Find attached , I don't want it to skip ,
    is this possible , I have also put the
    expected results too
    Attached Files Attached Files

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,508

    Re: Modification on ranking products

    this formula will break ties giving the first it finds the number then the second with the same value the next number. =RANK(D2,$D$2:$D$31,0)+COUNTIF($D$2:D2,D2)-1
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,618

    Re: Modification on ranking products

    Not exactly because

    It writes 7 and 8 rank for two products sold 10 total
    I need it to write 7 and 7

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,508

    Re: Modification on ranking products

    that is what I get for reading your post but not looking at your data. sorry.

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,508

    Re: Modification on ranking products

    this looks like it might work but it is a 3 step process (see this link for more) http://answers.microsoft.com/en-us/o...9-bc8d36eed450
    here is your attachment back with it in columns I, K and L
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,618

    Re: Modification on ranking products

    This is beautiful , it will work ,
    I will hide step 1 and step 2 with column width zero

    Thank you very much

  7. #7
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,618

    Re: Modification on ranking products

    Sambo its working on limited data ,
    here is the complete data for
    someone to try out

  8. #8
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,618

    Re: Modification on ranking products

    Attached the file
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,618

    Re: Modification on ranking products

    If there will be need of help columns ,
    let the main formula be on cell C2 where
    my current rank formula is
    Last edited by makinmomb; 06-07-2014 at 12:13 AM. Reason: grammar

  10. #10
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,618

    Re: Modification on ranking products

    Anyone maybe , does is sound not possible

  11. #11
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Modification on ranking products

    Hi

    Do you mean you want to look like this Rank 7, 7 then 8 instead lump to 9?
    If yes Cell C2
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Copy down

    Regard
    micope21
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

  12. #12
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,508

    Re: Modification on ranking products

    makinmomb, sorry but off site for a while. looks like micope21 gave you an answer that works. thank you for the feedback and don't forget to thank him if his ans worked.

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

    Re: Modification on ranking products

    Pl see attached file with one more approach.
    Attached Files Attached Files

  14. #14
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Modification on ranking products

    Try this Array Formula which requires confirmation with Ctrl+Shift+Enter.

    Please Login or Register  to view this content.
    and drag down.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  15. #15
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,618

    Re: Modification on ranking products

    Micope this is it ,

    I picked the non array formula of yours

    Thank you very much

  16. #16
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Modification on ranking products

    Quote Originally Posted by makinmomb View Post
    Micope this is it ,

    I picked the non array formula of yours

    Thank you very much
    You welcome! Thank you for stars.

+ 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. Ranking values and ranking duplicates the same rank
    By 302arpks in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-05-2015, 01:50 PM
  2. [SOLVED] Ranking up to 15 numbers in column D Ranking skips 7 with a tie at 6 and 2
    By Securitysports in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-03-2013, 07:11 AM
  3. Formula to work out how many products among various products!
    By MissConfussed in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-02-2013, 02:24 PM
  4. Replies: 6
    Last Post: 06-01-2010, 06:19 PM
  5. [SOLVED] Products
    By Gene in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-20-2005, 08:07 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