R Raghava@rock Member Apr 3, 2015 #1 Hi Team, Need help in Sum the value with multiple criteria across columns. Attached is the sample file. Looking forward for response. Attachments Samp.xlsx 372.6 KB · Views: 2
Hi Team, Need help in Sum the value with multiple criteria across columns. Attached is the sample file. Looking forward for response.
N NARAYANK991 Excel Ninja Apr 3, 2015 #2 Hi , See the file for one method. Narayan Attachments Samp.xlsx 372.1 KB · Views: 4
Hui Excel Ninja Staff member Apr 3, 2015 #3 Criteria 1 I assume is >=24/4/15 & <=3/9/15 & RAG_1 G14: =SUMPRODUCT((D5: P 5="RAG_1")*(C4:O4>=A2)*(C4:O4<=A3)*(D6: P 10)) =120 Criteria 2 I assume is <24/4/15 & RAG_1 G15: =SUMPRODUCT((D5 : P 5="RAG_1")*(C4:O4<A2)*(D6 : P 10)) =90
Criteria 1 I assume is >=24/4/15 & <=3/9/15 & RAG_1 G14: =SUMPRODUCT((D5: P 5="RAG_1")*(C4:O4>=A2)*(C4:O4<=A3)*(D6: P 10)) =120 Criteria 2 I assume is <24/4/15 & RAG_1 G15: =SUMPRODUCT((D5 : P 5="RAG_1")*(C4:O4<A2)*(D6 : P 10)) =90
Hui Excel Ninja Staff member Apr 3, 2015 #4 If I have misread your question then the combined result is similar to Narayan's Except my formula sums all the rows =SUMPRODUCT((D5: P 5="RAG_1")*(C4: O 4<A2)*(D6: P 10)) =90 For a single row =SUMPRODUCT((D5: P 5="RAG_1")*(C4: O 4<A2)*(D6: P 6)) =6
If I have misread your question then the combined result is similar to Narayan's Except my formula sums all the rows =SUMPRODUCT((D5: P 5="RAG_1")*(C4: O 4<A2)*(D6: P 10)) =90 For a single row =SUMPRODUCT((D5: P 5="RAG_1")*(C4: O 4<A2)*(D6: P 6)) =6