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

Pls Help! i need to count multiple dates if multiple criteria met

lellolee

New Member
Hi all,

My brain has given up, is there a way i can do this with formulas?
I'd have a sheet which contains data as below

Code:
[B]colour Date 1 Date 2[/B]
red 25 Nov 16 1 Dec 16
blue  1 Dec 16 2 Dec 16
blue  25 Nov 16 1 Dec 16
red 12 Dec 16 25 Nov 16

EG. if it is red and then i want to count how many 25 Nov 16 there are, then what formula should i use? ( i would like it to answer 2) for me, countifs seem to generate error each time
 
try this formula with ctrl+shft+enter (array formula)

=SUM(IF($J$3:$J$6=K10,IF(K3:K6=$K$9,1,IF($L$3:$L$6=$K$9,1,0)),1))-1

let
k9 = 25nov
k10 = red

Hi all,

My brain has given up, is there a way i can do this with formulas?
I'd have a sheet which contains data as below

Code:
[B]colour Date 1 Date 2[/B]
red 25 Nov 16 1 Dec 16
blue  1 Dec 16 2 Dec 16
blue  25 Nov 16 1 Dec 16
red 12 Dec 16 25 Nov 16

EG. if it is red and then i want to count how many 25 Nov 16 there are, then what formula should i use? ( i would like it to answer 2) for me, countifs seem to generate error each time
 
Back
Top