+ Reply to Thread
Results 1 to 9 of 9

Finding lowest cost price with multiple criteria

  1. #1
    Registered User
    Join Date
    06-30-2010
    Location
    swindon, england
    MS-Off Ver
    Office 365
    Posts
    90

    Finding lowest cost price with multiple criteria

    I have a number of suppliers who all supply the same product and manufacture the product in the same city. I want to be able to find the lowest cost for a specific product from a manufacturer in a specific city.

    Here is a basic example of the table of information that i have:
    Part Code Supplier Location Unit Cost
    AAAA Factory 1 Xiamen $5
    AAAA Factory 2 Xiamen $10
    AAAA Factory 3 Xiamen $15
    AAAA Factory 4 Shenzhen $5
    AAAA Factory 5 Shenzhen $10
    AAAA Factory 6 Shenzhen $15

    What formula must I use to find the lowest cost price for Part Code AAAA, in Xiamen?
    Last edited by jimbokeep; 06-30-2010 at 12:07 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Finding lowest cost price with multiple criteria

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    06-30-2010
    Location
    swindon, england
    MS-Off Ver
    Office 365
    Posts
    90

    Re: Finding lowest cost price with multiple criteria

    thanks for the advice, i'll do that.

  4. #4
    Forum Contributor
    Join Date
    05-16-2010
    Location
    UK
    MS-Off Ver
    2003 and 2007
    Posts
    252

    Re: Finding lowest cost price with multiple criteria

    Please see attached.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-30-2010
    Location
    swindon, england
    MS-Off Ver
    Office 365
    Posts
    90

    Re: Finding lowest cost price with multiple criteria

    I've created a very basic spreadsheet to show the data that i am trying to use and the end result that i am after.
    On the page titled Pricing (FOB & Landed) there is a table containing part codes by supplier, location and cost.
    What i'm trying to do is insert a formula into the next two worksheets, to find which is the lowest cost for each specific product, from each location where the goods are manufactured.
    This will then allow we to calculate what my final/best landed cost in the UK is.

    Hopefully this explains in a bit more detail exactly what i'm trying to do.

    Thanks.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    06-30-2010
    Location
    swindon, england
    MS-Off Ver
    Office 365
    Posts
    90

    Re: Finding lowest cost price with multiple criteria

    that looks spot on. thanks very much.

  7. #7
    Forum Contributor
    Join Date
    05-16-2010
    Location
    UK
    MS-Off Ver
    2003 and 2007
    Posts
    252

    Re: Finding lowest cost price with multiple criteria

    I've updated your workbook with a formula for the Xiamen worksheet. The same formula can be applied to the other worksheet.

    EDIT: You could also use a Pivot Table (please see attached).
    Attached Files Attached Files
    Last edited by pb71; 06-30-2010 at 11:48 AM. Reason: Workbook updated with Pivot Table

  8. #8
    Registered User
    Join Date
    06-30-2010
    Location
    swindon, england
    MS-Off Ver
    Office 365
    Posts
    90

    Re: Finding lowest cost price with multiple criteria

    Thanks pb71. Your first example you sent was perfect and has solved the problem for me. I'd been trying to work that out for ages.
    Plus thanks for the hint about a pivot table. Cheers.

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

    Re: Finding lowest cost price with multiple criteria

    You'd make life easier for yourself and pb71 if you don't type the dollar signs in col D, which makes them text (you can instead format those cells to have dollar signs).

    Then the formula in I2 becomes

    =MIN(IF(( $A$2:$A$7=$G$2) * ($C$2:$C$7=$H$2), $D$2:$D$7))

    ... which still must be confirmed with Ctrl+Shift+Enter.
    Entia non sunt multiplicanda sine necessitate

+ 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