+ Reply to Thread
Results 1 to 4 of 4

Lookup with an indirect

  1. #1
    Forum Contributor
    Join Date
    12-12-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010
    Posts
    448

    Lookup with an indirect

    Hello. How could I create a formula that would look up based on month, category, and most importantly an indirect? I have attached a spreadsheet, the indirect is in K13 (and could be Quarter 1, Quarter 2, Quarter 3, Quarter 4) with matching data in "Sheet 2". Thanks
    Attached Files Attached Files

  2. #2
    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,938

    Re: Lookup with an indirect

    1 simple way to do this would be to give each qtr a range name, and then use that range name in K13, with this, copied down and across...
    =VLOOKUP($A4,INDIRECT($K$13),COLUMN(),0)

    Note, the qtr in K13 will need to be enteres with an underscore instead of a space...QUARTER_1
    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

  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,938

    Re: Lookup with an indirect

    Another option without using range names....
    =OFFSET(INDIRECT(ADDRESS(MATCH($K$13,Sheet2!$A:$A,0),1,,,"sheet2")),ROWS($A$1:$A1),COLUMNS($A$1:A$1))

  4. #4
    Forum Contributor
    Join Date
    12-12-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010
    Posts
    448

    Re: Lookup with an indirect

    Hey FDibbins, I tried the first option but it didn't work. It gives me an NA#. Could you attach the spreadsheet? Thanks. The numbers that are highlighted are actuals. I don't want to change those. I've added a replica below where I would like to pull the data into.
    Attached Files Attached Files
    Last edited by amartino44; 12-06-2013 at 01:19 PM.

+ 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. [SOLVED] Lookup help using INDIRECT
    By Kuehl5000 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-20-2013, 05:24 PM
  2. Indirect lookup
    By kborgers in forum Excel General
    Replies: 7
    Last Post: 11-07-2012, 03:49 PM
  3. Indirect + Lookup last value
    By slyzenoui in forum Excel General
    Replies: 2
    Last Post: 03-24-2007, 04:09 PM
  4. Lookup v Indirect
    By freekrill in forum Excel General
    Replies: 1
    Last Post: 09-26-2006, 01:45 PM
  5. [SOLVED] indirect lookup
    By choice in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-26-2005, 09:06 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