+ Reply to Thread
Results 1 to 8 of 8

ranking part numbers with cost (highest to lowest)

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    09-15-2012
    Location
    las vegas
    MS-Off Ver
    excel 2007
    Posts
    147

    ranking part numbers with cost (highest to lowest)

    Based on my example, I like to find a function that when I use the word Spring on F4, lines F6 to F9 will have those part numbers tied to the Spring word. By the way the table is located on columns B, C, and D. That's not the end of it.

    If you look at the result, you'll see that the part numbers are listed from the highest to the lowest cost.

    I was wondering if you guys can help me with this.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: ranking part numbers with cost (highest to lowest)

    Please see attached file with formulas.
    Attached Files Attached Files
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Contributor
    Join Date
    09-15-2012
    Location
    las vegas
    MS-Off Ver
    excel 2007
    Posts
    147

    Re: ranking part numbers with cost (highest to lowest)

    Thanks for replying quickly. I just have a quick question. When I change cell D12, then, I get two of the same part numbers on cells H5 and H6. I used your sheet.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: ranking part numbers with cost (highest to lowest)

    Quote Originally Posted by managingcrap View Post
    Thanks for replying quickly. I just have a quick question. When I change cell D12, then, I get two of the same part numbers on cells H5 and H6. I used your sheet.
    If you change value in D2 to create a duplicate, then yes. You will get two of the same part numbers as you should.

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2502
    Posts
    13,700

    Re: ranking part numbers with cost (highest to lowest)

    AlKey, I think mc wants to return both part numbers with duplicate amounts.
    Dave

  6. #6
    Forum Contributor
    Join Date
    09-15-2012
    Location
    las vegas
    MS-Off Ver
    excel 2007
    Posts
    147

    Re: ranking part numbers with cost (highest to lowest)

    Quote Originally Posted by AlKey View Post
    If you change value in D2 to create a duplicate, then yes. You will get two of the same part numbers as you should.
    I meant when I have two values for the same seasons, I will still get those two different part numbers to show. Thanks.

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2502
    Posts
    13,700

    Re: ranking part numbers with cost (highest to lowest)

    This is one way.

    Array-enter this formula in F3 and fill down.
    Formula: copy to clipboard
     =IFERROR(INDEX($B$3:$B$15,SMALL(IF(G3=$D$3:$D$15,ROW($B$3:$B$15)-MIN(ROW($B$3:$B$15))+1),COUNTIF($G$3:G3,G3))),"") 
    Then in H3 this array formula.
    Formula: copy to clipboard
     =IFERROR(INDEX($B$3:$B$15,SMALL(IF(I3=$D$3:$D$15,ROW($B$3:$B$15)-MIN(ROW($B$3:$B$15))+1),COUNTIF($I$3:I3,I3))),"") 
    and fill down.

    If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.

+ 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. [SOLVED] finding the X highest (or lowest) numbers in a set.
    By jimboryan in forum Excel General
    Replies: 3
    Last Post: 07-25-2014, 02:20 AM
  2. [SOLVED] Excel 2007 : Sorting column by numbers, lowest to highest
    By elryp3000 in forum Excel General
    Replies: 4
    Last Post: 06-07-2012, 11:24 AM
  3. Ranking data from highest to lowest
    By Befuddled in forum Excel General
    Replies: 6
    Last Post: 07-31-2011, 01:05 AM
  4. Picking 5 highest/lowest numbers from a list
    By johnexceljohn in forum Excel General
    Replies: 25
    Last Post: 07-23-2009, 05:59 PM
  5. [SOLVED] Find Highest/lowest numbers!
    By stewart08 in forum Excel General
    Replies: 3
    Last Post: 04-07-2008, 12:42 PM
  6. Finding highest and lowest number between to key numbers
    By garbs in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-10-2007, 06:35 PM
  7. Formula for highest/lowest cost
    By S S in forum Excel General
    Replies: 2
    Last Post: 04-29-2006, 11:25 AM

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