Please find my excel sheet. i had explain query in it.
i m unable to solve it. its just a example. my data sheet is very big .
Please help
Please find my excel sheet. i had explain query in it.
i m unable to solve it. its just a example. my data sheet is very big .
Please help
Just sort the E6:H9 Data based on Column E data
Apply the below formula in C5 cell
=IFERROR(SUM(OFFSET($F$5,MATCH($B5,$E$6:$E$9,0),,LOOKUP(2,1/(E6:E9=B5),ROW(E6:E9)-MIN(ROW(E6:E9))+1),MATCH(C$4,$F$5:$H$5,0))),"")
Drag it down…
But better approach is use Pivot Table
If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
Mark your thread as Solved
If the suggestion helps you, then Click *below to Add Reputation
try this...
=SUMIF($E$6:$E$9,B5,OFFSET(E5,1,MATCH($C$4,$E$5:$H$5,0)-1,COUNTA($E$5:$E$9,0)))
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
thanks both of you.
its really helpful
you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and thanks for the feedback
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks