formula works for numb, but need "x"

A

Annette

This works for numbers, but I need it to work for counting X.

=SUMIF(DInput!$A$2:$A$2500,">="&B3,DInput!$C$2:$C$2500)-SUMIF(DInput!$A$2:$A
$2500,">"&C3,DInput!$C$2:$C$2500)

(I'm looking at dates in there ... counting the number of X in a column for
one month. Col 1 has the date, column C has the X's ... sheet two(total) has
the above formula with date range specified in column B3 - C3 for each
month)

Hope this makes sense.

Thanks for your help.

Annette
 
B

Biff

Hi Annette,

It's not exactly clear what you want to do. If you want to
count the total number of X's that meet the 2 different
conditions:

=SUMPRODUCT((DInput!$A$2:$A$2500>=B3)*(DInput!
$C$2:$C$2500="X"))+SUMPRODUCT((DInput!$A$2:$A$2500>C3)*
(DInput!$C$2:$C$2500="X"))

Biff
 

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

Top