+ Reply to Thread
Results 1 to 5 of 5

Trouble with looking up value

  1. #1
    Registered User
    Join Date
    11-26-2012
    Location
    NY
    MS-Off Ver
    Excel 2003
    Posts
    15

    Trouble with looking up value

    I am trying to create a formula to return a value that is dependant on multiple criteria. I figured it would be easier to show an example versus trying to explain everything.

    In this example I want to find the interval value associated with the criteria (city and floor) of the different scenarios. the interval is dependant on the city and on the floor associated with each difference scenario so row and column numbers (using match) are always different.

    basically how I need it to look up is like this.
    Find city in first row
    find value right above the floor
    return interval

    i feel I could do this with an index match, but the issue is it asks for a row first when I find the column first and the row is dependant on which column I am looking in.

    example.xlsx

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,852

    Re: Trouble with looking up value

    You can use this formula in G3:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    then copy down.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    11-26-2012
    Location
    NY
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Trouble with looking up value

    that was fast...thanks!!

  4. #4
    Registered User
    Join Date
    11-26-2012
    Location
    NY
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Trouble with looking up value

    actually small issue.

    I was trying to write VBA code to computer this as well. seems there is an issue with ahving the 0 as the row in the 2nd index function. any idea on how to get around it?

  5. #5
    Registered User
    Join Date
    11-26-2012
    Location
    NY
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Trouble with looking up value

    got it nvm

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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