+ Reply to Thread
Results 1 to 4 of 4

Breaking down a VLOOKUP formula

  1. #1
    Registered User
    Join Date
    02-02-2016
    Location
    KC
    MS-Off Ver
    2007
    Posts
    2

    Question Breaking down a VLOOKUP formula

    Good afternoon all. Does anyone know what this formula is doing? "Main" is a worksheet. Thanks in advance!

    =VLOOKUP(A21,Main!$A:$P,(MATCH($A$1,Main!$11:$11,0))+2,FALSE)

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Breaking down a VLOOKUP formula

    The MATCH is finding the column # A1 appears in row 11 on the Main sheet, then adding 2.
    So if the value of A1 is in say E11 on the main sheet, then MATCH returns 5 (E is the 5th column).
    Then adds 2, 5+2 = 7

    So it goes like this
    =VLOOKUP(A21,Main!$A:$P,(MATCH($A$1,Main!$11:$11,0))+2,FALSE)
    =VLOOKUP(A21,Main!$A:$P,(5)+2,FALSE)
    =VLOOKUP(A21,Main!$A:$P,7,FALSE)

    Now it looks for A21 in column A on the Main sheet.
    Then returns the corresponding value in the 7th column of the range Main!$A:$P, that would be column G
    So if A21 appears in say A52, then it returns the value from G52.

    Hope that helps.

  3. #3
    Registered User
    Join Date
    02-02-2016
    Location
    KC
    MS-Off Ver
    2007
    Posts
    2

    Re: Breaking down a VLOOKUP formula

    Thank you, that helps a lot!

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Breaking down a VLOOKUP formula

    You're welcome.

+ 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. Help breaking down this formula
    By optimusdantron in forum Excel General
    Replies: 3
    Last Post: 06-02-2015, 09:56 AM
  2. Hi guys, I need help breaking down this formula
    By bigmit37 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-28-2015, 04:06 AM
  3. Breaking ties using vlookup, if, etc.
    By RJR34 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-02-2013, 10:21 PM
  4. LOOP formula breaking
    By donyc in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-08-2012, 04:28 PM
  5. Excel keeps breaking formula links
    By bullchicken in forum Excel General
    Replies: 1
    Last Post: 08-09-2011, 06:07 PM
  6. Formula's breaking links on their own...
    By JRdeeping in forum Excel General
    Replies: 3
    Last Post: 06-10-2009, 07:26 AM
  7. Breaking down this excel formula
    By jeremyagoodson in forum Excel - New Users/Basics
    Replies: 20
    Last Post: 10-11-2007, 08:40 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