How to count date difference in excel?

J

joromajr

-- Question--

I have today's date in A1 and cells B1, D1, F1, and H1 I have encoded
invoice numbers. In Cells C1,E1,G1, and I1 I have encoded dates of invoice.
How do I count the those dates whose difference is from present dates are
over 65 days?


joromajr
 
D

daddylonglegs

I assume your invoice dates are in the past, how are they "encoded"?

If you have actual dates in C1, E1, G1 and I1

=COUNT(C1,E1,G1,I1)-(A1-C1<=65)-(A1-E1<=65)-(A1-G1<=65)-(A1-I1<=65)
 
J

joromajr

-- oops--

I spoke to soon.... It worked for invoices... what about for checks?

I tried to replace invoice number with Cheque numbers and dates are in the
future... I get no count?

joromajr
 
D

daddylonglegs

So if dates are in the future what result do you expect? If you use the
formula I suggested you should get an answer of zero because none of them
will be more than 65 days old.

What formula did you use when you got a negative result, was it exactly what
I suggested?
 

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