+ Reply to Thread
Results 1 to 6 of 6

Look UP formula for 2 and 3 conditions

  1. #1
    Forum Contributor
    Join Date
    06-26-2012
    Location
    UAE
    MS-Off Ver
    Excel 2003
    Posts
    274

    Look UP formula for 2 and 3 conditions

    Hello,

    Could you please look in to the attached file and advise formula for the two cases shown ?
    I will need a formula to look up data matching multiple condtions.


    Regards,
    Dumbo
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Look UP formula for 2 and 3 conditions

    In B5 and copy down and acroos for your first query.

    =SUMPRODUCT(('LookUP data'!$B$5:$B$8=Result!$A5)*('LookUP data'!$A$5:$A$8=Result!$B$3)*('LookUP data'!$C$3:$E$3=Result!B$4)*('LookUP data'!$C$5:$E$8))

    For you second, ament your months titles in row 12(example in C12, type FEBRUARY, not FEB). Then use in C13 and copy down and across, this one.

    =SUMPRODUCT(('LookUP data'!$A$15:$A$17=Result!$A13)*('LookUP data'!$B$14:$M$14=Result!C$12)*('LookUP data'!$B$15:$M$17))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

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

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Contributor
    Join Date
    06-26-2012
    Location
    UAE
    MS-Off Ver
    Excel 2003
    Posts
    274

    Re: Look UP formula for 2 and 3 conditions

    Thanks Fotis.

    Can i use this same formula when I need to add on information to the source data as the data keeps growing and I think the excel will slow down . Please suggest

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Look UP formula for 2 and 3 conditions

    You are welcome.In fact, SUMPRODUCT is an ARRAY formula. So maybe using too many data will be slow...But as you use Excel 2003, i don't think that you have another choice, except maybe of using helper columns and SUMIF....

  5. #5
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,654

    Re: Look UP formula for 2 and 3 conditions

    May a pivot table gives a solution
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  6. #6
    Forum Contributor
    Join Date
    06-26-2012
    Location
    UAE
    MS-Off Ver
    Excel 2003
    Posts
    274

    Re: Look UP formula for 2 and 3 conditions

    Thanks Fotis. ThanksPopipo...will check that.

+ 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