Hi
I have two columns of dates in say columnA & columnB totalling 320 rows. I need to compare the two columns row by row and count the total number of times the date in columnB is more recent than columnA
Can anyone help me?
Thanks
Hi
I have two columns of dates in say columnA & columnB totalling 320 rows. I need to compare the two columns row by row and count the total number of times the date in columnB is more recent than columnA
Can anyone help me?
Thanks
Last edited by rhino335; 06-11-2012 at 11:12 AM.
Hello rhino, welcome to the forum!
How are we able to tell which data is more recent? Is your data simply dates? A little more info or even attaching your spreadsheet will help others help you.
Steve
A VBA novice, excited to learn!
Try
=SUMPRODUCT(--($B$2:$B$300>$A$2:$A$300))
Does that work for you?
ChemistB
My 2?
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
Steve
Thanks for the prompt response. However, before I could get the info to you ChemistB answered the problem.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks