+ Reply to Thread
Results 1 to 5 of 5

Multiple IF/LOOKUP-Problem!

  1. #1
    Registered User
    Join Date
    10-12-2012
    Location
    Göteborg, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    48

    Multiple IF/LOOKUP-Problem!

    Got little problem with multiple parameters, could anyone be kind enough and help me?

    Check the attachment!

    Thanks in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Multiple IF/LOOKUP-Problem!

    Try this array formula** entered in G10 and copied down:

    =INDEX(E$4:G$8,MATCH(1,IF(B$4:B$8=B10,IF(C10>=C$4:C$8,IF(C10<=D$4:D$8,1))),0),MATCH(D10,E$3:G$3,0))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple IF/LOOKUP-Problem!

    ??

    Is this like Jeopardy? You give some answers in a sheet plus some data and we have to guess what the formula could have been, and what data it applied to?
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Multiple IF/LOOKUP-Problem!

    In G10, try this array formula

    =INDEX($E$4:$G$8,MATCH(1,($B$4:$B$8=B10)*($C$4:$C$8=INDEX($C$4:$C$8,MATCH(C10,$C$4:$C$8,1),0)),0),MATCH(D10,$E$3:$G$3,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.
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  5. #5
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Multiple IF/LOOKUP-Problem!

    Another one...

    =SUMPRODUCT((B$4:B$8=B10)*(C$4:C$8<=C10)*(D$4:D$8>=C10)*(E$3:G$3=D10)*E$4:G$8)

    Normally Enter

+ 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