Excel using a formula to check a condition and write the count -


i have 2 columns column m has set of details server type , column k contains alert types received. in next sheet want result check specific server type in column k , check specific alert , write count of number of times specific alert occurred.

column k                 column m **sub component**        **server type** unknown                  application batch 1 cpu                      inc 4 process                  assumptive 1 filesystem               infra disk                     infra filesystem               infra unknown                  assumptive 1 filesystem               assumptive 1 

so result looking is:
in server infra how many filesystem alerts came (answer = 2)
in server assumptive 1 how many process alerts came (answer = 1)

so servers need know count of individual alerts received

use =countifs() formula:

=countifs(b:b,d2,a:a,e2) 

screenshot
enter image description here

you can use server type , alert type criteria of =countifs() formula. see below...

=countifs(b:b,"infra",a:a,"filesystem") 

but return count result infra server type , filesystem alert type.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -