date calculation

A

Ann

i currently have this formula
=COUNTIF(A1:A15,">5/18/2008")-COUNTIF(A1:A15,">5/22/2008")
if i want to pull the dates and put them in a separate field and reference
that field, how do i do it? the syntax i have won't work.

i'm trying =COUNTIF(M6:M400,">$b$1")-COUNTIF(M6:M400,">$b$2") where
b1=5/18/2008 and b2=5/22/2008

TIA
 
P

Peo Sjoblom

COUNTIF(M6:M400,">"&$B$1)

do the same for the second date

Btw, if you want to include 05/18/2008 you would need

COUNTIF(M6:M400,">="&$B$1)



--


Regards,


Peo Sjoblom
 

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