+ Reply to Thread
Results 1 to 7 of 7

Vlookup to give back the greater number as result

  1. #1
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Vlookup to give back the greater number as result

    As for the Vlookup I need it to return the greater number on sheet 2 for Apple example and it is returning 0.
    How can I do that, please see attached for example.

    Help is much appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Vlookup to give back the greater number as result

    C2 =INDEX(Vlookup!$A$1:$B$3,Match(Items!B2,Vlookup!$A$1:$A$3,0)+1,2)
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Vlookup to give back the greater number as result

    Would you please be able to send back attachment with the formula ?

  4. #4
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Vlookup to give back the greater number as result

    and how can i copy and paste formula down the cells to automatically populate?

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Vlookup to give back the greater number as result


  6. #6
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Vlookup to give back the greater number as result

    How would I let it populate for the rest of the cells since when I drag down the cell it wont populate for Line 2 and so on....

  7. #7
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,825

    Re: Vlookup to give back the greater number as result

    Does it have to be VLOOKUP()? It sounds to me like more of a MAX(IF(...)) array function (or MAXIFS() function if you can get Excel 2016).

    In a different direction, your sample is pretty small. If it is representative of a much larger database, a pivot table (where the value field setting is max) might be a preferable option.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Vlookup give same result on all rows
    By iebwen in forum Excel General
    Replies: 8
    Last Post: 07-17-2014, 03:16 AM
  2. SUM to a certain number; IF statement result using less than or greater than
    By JC_LA_1979 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-31-2014, 05:07 PM
  3. Replies: 3
    Last Post: 01-08-2014, 06:59 PM
  4. Replies: 1
    Last Post: 01-25-2013, 01:58 PM
  5. Replies: 6
    Last Post: 03-20-2012, 10:07 AM
  6. VLOOKUP That needs to give result based on a ranking list
    By Sanecrazy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-16-2012, 11:38 PM
  7. VLookup to give Blank result
    By mrcois in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-30-2010, 11:50 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