Hello.
I have a question about a 2-sheet xls file.
I think it's about "if" and "lookup", but I'm not sure.
My question is in the sample file.
Thank you in advance.
Using your posted workbook, try this on Sheet1:
Copy that formula down through C11.Code:C2: =SUMPRODUCT((Sheet2!$A$2:$A$30&"_"&Sheet2!$B$2:$B$30=A2&"_"&B2)* Sheet2!$G$2:$G$30)
Actually, this formula is shorter and less complicated:
Does that help?Code:C2: =SUMPRODUCT((Sheet2!$A$2:$A$30=A2)*(Sheet2!$B$2:$B$30=B2)*Sheet2!$G$2:$G$30)
Last edited by Ron Coderre; 07-03-2009 at 11:19 AM.
OH MY GOD!!!
You are the best.
Thank you very much.
It is absolutely correct.
I copied this function 3272 times in my xls.
Thanks again.
I'm glad that worked for you...Thanks for letting us know!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks