+ Reply to Thread
Results 1 to 3 of 3

VLOOKUP or INDEX-MATCH + INDIRECT with Nested IF/OR Statement

  1. #1
    Registered User
    Join Date
    12-30-2010
    Location
    Portland, Oregon USA
    MS-Off Ver
    2007, 2010, 2016
    Posts
    35

    VLOOKUP or INDEX-MATCH + INDIRECT with Nested IF/OR Statement

    Greetings Esteemed Excel Wizards,

    Attached is a workbook called "VLOOKUP or INDEX-MATCH + INDIRECT with Nested IF-OR Statement.xlsx" that I'm hoping you'll take a look at and maybe help me solve a problem that has me stumped.

    I am attempting to use one formula to do the following:

    Match any time interval values shown in the Time Intervals column on the "EARLIEST TIME NEEDED" sheet with the corresponding value found in the BIA RTO column of the "Account Services" sheet, then return the value from the BIA RTO column that matches the first Time Intervals value (in sequential order, beginning with "<= 1 HR" and ending with "<= 30 D").

    In other words, given the following time intervals...
    <= 1 HR
    <= 24 HR
    <= 72 HR
    <= 1 WK
    <= 2 WK
    <= 3 WK
    <= 30 D
    ... if "<= 72 HR" is the first time interval with a corresponding match in the BIA RTO column on the "Account Services" sheet, the formula would return that value ("<= 72 HR").

    My hope is this formula will also:
    - Match column headers found on each sheet.
    - Use the INDIRECT to search the appropriate worksheet as the formula is copied down.

    So far, I've only been able to come up with a fairly modest VLOOKUP formula that only matches the first time interval shown on the "EARLIEST TIME NEEDED" sheet with its corresponding value on the "Account Services" sheet:
    HTML Code: 
    If that time interval is not found, it simply returns an error. I have not been able to figure out how to expand the formula so that it proceeds to search for the next time interval value if the first is not found, etc.

  2. #2
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: VLOOKUP or INDEX-MATCH + INDIRECT with Nested IF/OR Statement

    Does this work for you? I had to add in some helper columns, but those can be hidden.
    Attached Files Attached Files
    Some people volunteer in soup kitchens or hospitals. I choose to make the world better by trying to help you with Excel. We're all learning.

    <---Click * Add Reputation for all helpful comments. It's like giving a smile.
    Forum Rules: How to mark your post [Solved] and have a happier, Excel enriched life.

  3. #3
    Registered User
    Join Date
    12-30-2010
    Location
    Portland, Oregon USA
    MS-Off Ver
    2007, 2010, 2016
    Posts
    35

    Re: VLOOKUP or INDEX-MATCH + INDIRECT with Nested IF/OR Statement

    Hi nigelbloomy,

    That looks like an interesting work-around. When I get into the office tomorrow, I'll see how I might incorporate it into the actual workbook and then give you some more feedback at that time.

    Thanks!

+ 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] Nested IF Statement with INDEX and MATCH
    By utahguy9384 in forum Excel General
    Replies: 11
    Last Post: 05-23-2014, 03:41 PM
  2. [SOLVED] Nested INDIRECT in INDEX/MATCH function
    By xtort81 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-24-2014, 03:08 PM
  3. [SOLVED] Combining Nested IF statement with Index/Match??
    By consulttk in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-21-2012, 09:48 AM
  4. [SOLVED] Indirect Function with Vlookup vs. Index/Match
    By Jayule in forum Excel General
    Replies: 4
    Last Post: 07-02-2012, 12:01 PM
  5. nested if statement with index and match within
    By darkowen in forum Excel General
    Replies: 3
    Last Post: 02-01-2012, 02:02 AM

Tags for this Thread

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