• 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.

I want to search the values in 2 columns and add as count in the other column

kanap

New Member
I want to search the values in 2 columns and add as count in the other column of the table

[pre]
Code:
Table1 :
Column 1: Status , Column 2: Severity
New                  S1
Open                 S2
Close                S3
S3
[/pre]
 
If you have XL 2007+, you can use COUNTIFS. If not, a SUMPRODUCT structure like so:

=SUMPRODUCT((Array1=Criteria1)*(Array2=Criteria2))

will do the trick.
 
Hi Luke,


I tried this and not working


=SUMPRODUCT(Severity)*(Status="Open")


I have other table with following:

Table2:

Severity1 Severity2 Severity3 Severity 4

New

Open

Closed


So from the above table 1 i need to search all open for Sev1 and put the total sum under new.
 
Back
Top