+ Reply to Thread
Results 1 to 4 of 4

VLOOKUP with Multiple References

  1. #1
    Forum Contributor
    Join Date
    02-05-2014
    Location
    Bay Area
    MS-Off Ver
    Excel 2010
    Posts
    164

    VLOOKUP with Multiple References

    Hi,

    I'm stuck with my formula. I'm rebuilding an existing formula, but the complexity of the new version has gotten the better of me.

    The OLD FORMULA has limitations, such as a single set of assumptions for all years, and different formulas for the first month and the balance of the months. The NEW FORMULA should allow me to have a different set of assumptions for each year (see the "Control" sheet) and a consistent formula for all months (including the first month).

    The attached workbook shows a simplified version of my challenge. I also show the old formula - the formula I'm trying to rebuild. If I can solve for the "Sr. Underwriter" row (Row 14), I can adjust that formula for my other needs. Also, as a point of clarification, if I enter any non-zero number in Cell B14, then I get a result for January 2014; however, that's the sort of assumption I'm trying to avoid. I want the formula to refer to the assumptions for the correct year, on the Control sheet (e.g., 2014, 2015, 2016).

    A solution would come from someone who has better skills than I have, and I appreciate any help.
    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
    53,048

    Re: VLOOKUP with Multiple References

    If I understand you correctly, try this ARRAY formula in C14, copied down and across...

    =IF(ISNUMBER(MATCH($A14&C$1,Control!$B$3:$B$26&Control!$G$3:$G$26,0)),1,0)
    ...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.
    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
    Forum Contributor
    Join Date
    02-05-2014
    Location
    Bay Area
    MS-Off Ver
    Excel 2010
    Posts
    164

    Re: VLOOKUP with Multiple References

    FDibbins,
    Outstanding solutilon! It worked. Thank you very much.

  4. #4
    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
    53,048

    Re: VLOOKUP with Multiple References

    Happy to help and thanks for the feedback

+ 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. Aggregating data of multiple / same vlookup references
    By solmard in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-25-2011, 04:28 PM
  2. vlookup of multiple references in same cell
    By darthshani in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-11-2009, 01:17 PM
  3. VLOOKUP with Multiple References
    By mbrady1973 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-07-2008, 04:17 PM
  4. vlookup on multiple references
    By CanMan12 in forum Excel General
    Replies: 5
    Last Post: 01-26-2007, 01:31 PM
  5. [SOLVED] how do i use the vlookup with two references ?
    By Vanessa Simmobds in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-22-2005, 03:00 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