+ Reply to Thread
Results 1 to 3 of 3

Can I use VLOOKUP to bring back MIN values?

  1. #1
    Registered User
    Join Date
    11-17-2015
    Location
    Iowa, USA
    MS-Off Ver
    2010
    Posts
    8

    Can I use VLOOKUP to bring back MIN values?

    Hi! I am trying to use a VLOOKUP to bring back the minimum value for a specific field. Currently I have two excel tabs, the first has all data with multiple variance values for each transaction number (All Data), the second tab (Filtered Data) has only transaction numbers (no duplicates) and a few other transaction detail fields. What I would like to do is complete a VLOOKUP (or any other method that would work) that matches the transaction number between the two tabs and returns the MIN value for variance for each transaction onto my 2nd tab next to the transaction number. Example is below:

    All Data Tab:

    Transaction Number / Variance
    12345 / 0.982
    12345 / 0.625
    12345 / 1.051
    12345 / 1.345
    67890 / 0.370
    67890 / 0.506
    67890 / 0.125
    67890 / 0.257


    Filtered Data Tab:

    Transaction Number / Variance (Min result returned from All Data tab)
    12345 / 0.625
    67890 / 0.125


    Any help on how to do this would be great!!

  2. #2
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Can I use VLOOKUP to bring back MIN values?

    The formula needs to be an array formula, which is confirmed with Ctrl+Shift+Enter, not just enter (this will put braces (the curly brackets) around the ends of the formula).

    You have not given ranges, so hopefully this makes sense - replace the square brackets with the relevant ranges/references:
    =MIN(IF([All Data transaction numbers]=[Filtered Data transaction number to lookup],[All Data variances]))
    Please add reputation by clicking on the * if I have helped.
    Please mark the thread SOLVED if your issue has been resolved.
    Thanks, Glenn.

  3. #3
    Registered User
    Join Date
    11-17-2015
    Location
    Iowa, USA
    MS-Off Ver
    2010
    Posts
    8

    Re: Can I use VLOOKUP to bring back MIN values?

    That worked! Than kyou so much for your help!!

+ 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. Array Formula Lookup - Bring back Lowest Date + Bring Back Cell Location
    By Matt1998 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-04-2014, 12:08 PM
  2. [SOLVED] 2 values to bring back 1 value
    By hughesy321 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-22-2013, 06:47 AM
  3. [SOLVED] Stop Vlookup bringing back 0's or #REF! and bring back blanks instead
    By Carling73 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-30-2013, 04:43 PM
  4. Vlookup to bring back Worksheet Name
    By HBF in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-26-2012, 02:35 AM
  5. Replies: 1
    Last Post: 02-14-2012, 03:41 AM
  6. Comparing 2 worksheets and bring back values
    By garungaha1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-05-2008, 05:59 PM
  7. Need VLOOKUP to bring back 0 instead of #N/A
    By Matrix123 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-18-2008, 05:01 PM

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