+ Reply to Thread
Results 1 to 3 of 3

Need formula to draw out minimum values

  1. #1
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Need formula to draw out minimum values

    Hi all
    I've attached a copy of what I am looking for
    Table 1 is where I would put in the information I have obtained from carriers on their cost for particular lanes.
    I filled in Table 2 with what I want the table to display, but what I am loooing for are formulas to automatically draw form table one and fill in the same information.
    I want Table 2 to display no duplicate lanes ( only show "Origin A" and "Destination A" once) and then to display the minimum cost associated with that lane ("Carrier A" charges $500, "Carrier B" charges $100, display $100).
    I am sure there is a way to do this, just can't figure it out for the life of me. If I need to make a helper column that is not ideal, but can be done.
    Any help would be much appreciated!
    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    06-16-2011
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Need formula to draw out minimum values

    Not quite sure about the Formula,but you can do this by using Sort and Advance Filter.First Sort the Cost then use Select the Origin & Destination Column Apply Advance Filter,checked unique record only..

    You will get your desired result

  3. #3
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Need formula to draw out minimum values

    Thanks for the help dan.
    I really wanted the table to autofill, and was finally able to use a formula I got from another forum Thread to draw out unique values from a list.
    I typed the following explanation up before I finally realized how to attach the file to this reply, so either read below or view the file to see how I accomplished this.

    First I inserted two columns in front of column C.
    I inserted the following formula in D10 and dragged down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I inserted the following formula in C55 and dragged down (don't ask me how it works... I just copied it off of another forum. Make sure to use Shift-Ctrl-Enter!):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I used vlookup formulas in column E and G for Table 2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    respectively.
    I finally used this formula in cell I55 and dragged down (Shift-Ctrl-Enter!):
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I think it will work perfectly!
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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