working out days between date.

G

Guest

Hi

First thank you to the guy and girls that answeed this yesterday but i left
some info out so it it did not work.

In cell B1 to B100 i have a date (radom) In cell A1 i have the date i want
to work out the differece between those in B1-B100 and A1. The in cell C1 i
want to count the dates that are <30 Days i.e: if there are 10 dates <30 days
i want to show 10 in C1.

thanks
Phil.
 
D

Dave Peterson

Maybe...

=COUNTIF(B1:B100,"<"&A1+30)


Hi

First thank you to the guy and girls that answeed this yesterday but i left
some info out so it it did not work.

In cell B1 to B100 i have a date (radom) In cell A1 i have the date i want
to work out the differece between those in B1-B100 and A1. The in cell C1 i
want to count the dates that are <30 Days i.e: if there are 10 dates <30 days
i want to show 10 in C1.

thanks
Phil.
 
G

Guest

That seems to count evey entry?

I have check the date fields are setup the same.

Any other ideas where im going wrong?

Phil.
 
D

Dave Peterson

I guessed wrong which was subtracting from which.
That seems to count evey entry?

I have check the date fields are setup the same.

Any other ideas where im going wrong?

Phil.
 

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