i have data in column b,c,d and i want to fill h5,h6 and I5,I6 . please see the attached excel. tell me the formulas to put in h5 ,h6 etc. thanks in advance
i have data in column b,c,d and i want to fill h5,h6 and I5,I6 . please see the attached excel. tell me the formulas to put in h5 ,h6 etc. thanks in advance
Sumproduct function is ok! See attached.
HTH,
windknife
neat ! but can you tell through vlookup and index
Using LOOKUP:
H5: =LOOKUP(2,1/(($B$7:$B$10=$G5)*($C$7:$C$10=H$4)),$D$7:$D$10)
applied across matrix
You can't do this with VLOOKUP, and INDEX only really viable in non-array sense if you create a Concatenation key (at which point you could just use INDEX) or even SUMIF -- only a SUMIF/SUMPRODUCT will handle multiple instances of the combination of week & name should they exist.
But... use a Pivot Table...
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks