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
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
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.
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
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....
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
Thanks Fotis. ThanksPopipo...will check that.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks