+ Reply to Thread
Results 1 to 7 of 7

Index Match with several criteria

Hybrid View

  1. #1
    Registered User
    Join Date
    09-20-2007
    Posts
    13

    Thumbs up Index Match with several criteria

    Hi All
    Any Help much appreciated.
    I'm trying to use Index match formula to return hourly rate values as shown in the attched sheet.
    I.e. there are two service providers who supplies servcies for a set amount depending on the number supplied, naturaly the rates differ from provider to provider.
    I want to be able to return the correct hourly rate matching the the Provider and rate applicable depending on the number of total hours. If this makes any sense. I thought I had it cracked but when I entered the 3rd If Index Match statement it doesn't return the right hourly rate for either of the two providers. Is there another way I can do this?
    Once again any help would be much appreciated.
    Thanks
    Attached Files Attached Files
    Last edited by Ska; 09-21-2010 at 06:54 AM. Reason: Set to solved with Thanks

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Index Match with several criteria

    Hi,
    does the attached help? ( I added a row of values, you can put them anywhere you like adapting the formula)
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor
    Join Date
    02-08-2010
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2007
    Posts
    122

    Re: Index Match with several criteria

    Try this,

    =INDEX($G$4:$K$5,MATCH(B2,$F$4:$F$5,0),MATCH(B3,{0,201,500,1000,2000},1))

    You can type the hours range on cells G1 thru K1 and the formula will look like this

    =INDEX($G$4:$K$5,MATCH(B2,$F$4:$F$5,0),MATCH(B3,$G$1:$K$1,1))

    Regards

  4. #4
    Registered User
    Join Date
    09-20-2007
    Posts
    13

    Re: Index Match with several criteria

    Quote Originally Posted by arthurbr View Post
    Hi,
    does the attached help? ( I added a row of values, you can put them anywhere you like adapting the formula)
    Sorry jumped the gun, I have a further predicament – the total number of hours is actually in the format of [hh]:mm and not a general number so does not return the correct hourly rate (swiching is back to general gives a decimal figure all of which are way under 200hours). Changing the format to [hh]:mm for the hourly ranges in G6:K6 does not help either. Is there a go around for this?
    Thanks

  5. #5
    Registered User
    Join Date
    09-20-2007
    Posts
    13

    Re: Index Match with several criteria

    Many Thanks Guys they all work!
    PS how do you set the thread to solved?
    Thanks
    Last edited by Ska; 09-17-2010 at 04:53 AM.

  6. #6
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Index Match with several criteria

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  7. #7
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Index Match with several criteria

    Change the formula as follows :
    =IF(B2="P1";LOOKUP(B3*24;G6:K6;G4:K4);LOOKUP(B3*24;G6:K6;G5:K5))
    This will convert to decimal values

+ 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