Sumproduct or countif or both...

P

peterpeter

I want to count the no of times text [No Show]appears n column C, within a
date range, where the dates are in column A & start & end dates can be
entered into cells B2 & B3 respectively. rows used for dates & data are
16:3851
Tried countif & sumproduct and have come to the realisation i need specific
help.
the following is the last iteration of where i was going...probably way off,
any help would be appreciated...

=SUMPRODUCT((MATCH(C16:C3851,"No Show",0))*((A16:A3851>=B2)*(A16:A3851<=B3)))
 
T

T. Valko

You were close. Try this:

=SUMPRODUCT(--(A16:A3851>=B2),--(A16:A3851<=B3),--(C16:C3851="no show"))
 
P

peterpeter

Simply elegant, thankyou very much, worked a treat.
and you were too kind, i was way off hehe :)

T. Valko said:
You were close. Try this:

=SUMPRODUCT(--(A16:A3851>=B2),--(A16:A3851<=B3),--(C16:C3851="no show"))


--
Biff
Microsoft Excel MVP


peterpeter said:
I want to count the no of times text [No Show]appears n column C, within a
date range, where the dates are in column A & start & end dates can be
entered into cells B2 & B3 respectively. rows used for dates & data are
16:3851
Tried countif & sumproduct and have come to the realisation i need
specific
help.
the following is the last iteration of where i was going...probably way
off,
any help would be appreciated...

=SUMPRODUCT((MATCH(C16:C3851,"No
Show",0))*((A16:A3851>=B2)*(A16:A3851<=B3)))
 
T

T. Valko

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


peterpeter said:
Simply elegant, thankyou very much, worked a treat.
and you were too kind, i was way off hehe :)

T. Valko said:
You were close. Try this:

=SUMPRODUCT(--(A16:A3851>=B2),--(A16:A3851<=B3),--(C16:C3851="no show"))


--
Biff
Microsoft Excel MVP


peterpeter said:
I want to count the no of times text [No Show]appears n column C, within
a
date range, where the dates are in column A & start & end dates can be
entered into cells B2 & B3 respectively. rows used for dates & data are
16:3851
Tried countif & sumproduct and have come to the realisation i need
specific
help.
the following is the last iteration of where i was going...probably way
off,
any help would be appreciated...

=SUMPRODUCT((MATCH(C16:C3851,"No
Show",0))*((A16:A3851>=B2)*(A16:A3851<=B3)))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Sumproduct, countif and format? 0
Excel Sumproduct 0
Using COUNTIF or SUMPRODUCT for Year 3
sumproduct or countif 7
Sorting and COUNTIF 6
Multiple criteria for Countif 1
SUMPRODUCT help needed 4
Sumproduct Help 3

Top