+ Reply to Thread
Results 1 to 6 of 6

LOOKUP or IF-MIN ?

  1. #1
    Registered User
    Join Date
    01-24-2011
    Location
    In a House on earth
    MS-Off Ver
    Excel 2013 MAC
    Posts
    29

    Question LOOKUP or IF-MIN ?

    I got a sheet which I am tryna get in order

    I think I need to use a LOOKUP formula or something, but I'm not sure how to use it.

    I've attached a sample of the sheet which I am working with. (well not attached but uploaded to google documents) [https://docs.google.com/spreadsheet/...1F1MFNaZTdKNGc]

    In Column C I want it to display the name which the item is cheapest. (per kilo or per litre)
    * * * * * * *
    How beautiful it is to excel, and the goodness of giving from your heart. || Always strive to excel, but only on weekends. - Richard Rorty & Robert Mondavi

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2006
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 2016
    Posts
    1,075

    Re: LOOKUP or IF-MIN ?

    I looked at your worksheet but it gives me lots of #VALUE errors. Perhaps if you actually attach the worksheet it will work better.
    Trish in Oz
    -------------
    A problem well defined is a puzzle half solved


    If you attach a sample of your workbook it will be easier to find a solution. Remember to remove/replace sensitive data before uploading the file. Look here if you need help with attachments:
    http://www.excelforum.com/faq.php?fa...b3_attachments

  3. #3
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: LOOKUP or IF-MIN ?

    Hi anonymust,

    It would be better to work around if you could attach the sample file here only.. While replying click on "Go advanced"and look for a paper clip icon to upload. Thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: LOOKUP or IF-MIN ?

    In C4: =INDEX($D$1:$Q$1,MATCH(MIN(IF($D$1:$Q$1="Per KG",$D3:$Q3)),$D3:$Q3,0)-1)
    Confirmed with Ctrl-Shift-Enter rather than Enter only.
    Copy down.
    Does it help?
    Quang PT

  5. #5
    Registered User
    Join Date
    01-24-2011
    Location
    In a House on earth
    MS-Off Ver
    Excel 2013 MAC
    Posts
    29

    Exclamation Re: LOOKUP or IF-MIN ?

    MIN or LOOKUP.xls

    Here is the attachment,


    And I also get the #Value Errors.. its because nothing is being calculated.

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: LOOKUP or IF-MIN ?

    Hi anonymust,

    See the attachment where I have updated other formulas as well

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    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)

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