• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

sum the value which have multiple criteria accross columns(horizontally)

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
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
 
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
 
Back
Top