Counting latest date in two columns

R

RobertK

I have a spreadsheet with 2 columns of dates (approximately 1200 rows) and
want the count in column A where the date is less than column B.

A B
1/2/09 1/8/09
4/5/08 5/6/07
5/6/09 9/5/08

In the above example the answer I'm looking for is 1.
 
M

Mike H

Hi,

Because of the sample dates you provided this is very difficult to answer

1/2/2009 is this 1 Feb or 2 Jan?

When posting dates use examples that remove all doubt

e.g 25/12/2009

If I've guessed correctly try this

=SUMPRODUCT(--(A1:A20<B1:B20))

Mike
 
P

Peo Sjoblom

That would hardly remove all doubts in cases where the day is less than 13?
The only way would be to use either
2009-12-25.

--


Regards,


Peo Sjoblom
 
R

RobertK

Thank you
--
Robert K


Mike H said:
Hi,

Because of the sample dates you provided this is very difficult to answer

1/2/2009 is this 1 Feb or 2 Jan?

When posting dates use examples that remove all doubt

e.g 25/12/2009

If I've guessed correctly try this

=SUMPRODUCT(--(A1:A20<B1:B20))

Mike
 

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