+ Reply to Thread
Results 1 to 5 of 5

Vlookup using a statment

  1. #1
    Registered User
    Join Date
    06-13-2012
    Location
    Arlington, TX
    MS-Off Ver
    Excel 2003
    Posts
    31

    Vlookup using a statment

    Can someone help with the formula below? I am trying to use a vlookup to return a value
    =vlookup((D2&F2&G2),'Sheet2'!' ((M2&T2&AA2)),5,false)

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Vlookup using a statment

    Hi,

    I'm a little curious as to what your table_array is here: 'Sheet2'!' ((M2&T2&AA2)).

    You are aware that this parameter is the range of cells you wish to consider, with the leftmost column being that in which you are searching for your lookup_value?

    Can you explain in words exactly what it is you are trying to achieve? Or, even better, attach a sample workbook?

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Vlookup using a statment

    It's often (for me anyway) to create a helper column in your data when trying something like this. Then use index/match to find what you want
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    06-13-2012
    Location
    Arlington, TX
    MS-Off Ver
    Excel 2003
    Posts
    31

    Re: Vlookup using a statment

    Please see sample in attached
    Attached Files Attached Files

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Vlookup using a statment

    You didnt provide much in the way of sample data, so this is untested...
    =-INDEX(Sheet2!$O$1:$O$1,,MATCH(Sheet1!A2&Sheet1!D2&Sheet1!G2,Sheet2!D1&Sheet2!J1&Sheet2!M1,0))
    entered as an ARRAY formula
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

+ 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 on income overview statment
    By peeteruk in forum Excel General
    Replies: 13
    Last Post: 07-27-2013, 12:40 PM
  2. Multiple IF VLookup Statment
    By NYC4LIFE in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-03-2013, 12:56 PM
  3. Replies: 2
    Last Post: 06-06-2012, 10:59 PM
  4. Help with VLOOKUP and IF in the same statment
    By ncaravela in forum Excel General
    Replies: 8
    Last Post: 01-18-2012, 12:37 PM
  5. Use IF statment with VLOOKUP
    By AnnaV in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-09-2009, 10:02 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