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

need formula help please!

=SUMPRODUCT(--(B1:B4614<=$N$3),--ISNUMBER(MATCH($A$2:$A$4614,J2:J26,0)))


this formula is not working.


Column A has over 4000 ID Numbers

Column J has a list of 25 ID Numbers


Column B has over 4000 Dates

Cell N3 has A Date


I need a COUNTIF/SUMPRODUCT Where IF the 25 ID Numbers exist in ColumnA, the Count the dates in ColumnD is <= to N3.


THANKS!!
 
Hi Therese ,


Change your formula to :


=SUMPRODUCT(--(B2:B4614<=$N$3),--ISNUMBER(MATCH($A$2:$A$4614,J2:J26,0)))


The B1 is creating the problem.


Narayan
 
Here's another way, although it'll handle empty cells in column B differently (it will ignore them):

[pre]
Code:
=SUMPRODUCT(COUNTIFS(B2:B4614,"<="&$N$3,$A$2:$A$4614,J2:J26))
[/pre]
 
Back
Top