Hey everyone,
I'm new-ish to using Excel, but I do have a good grasp on the basics. I need to figure out how to tell Excel to count the number of invoices on a worksheet older than 30 days and display that number in my Summary worksheet. Here's a quick example:
Any help would save me HOURS of work a week and would be greatly appreciated.Worksheet '1234' has 10 invoices, 6 of which are more than 30 days old (invoice dates are in column B).
Worksheet 'Summary' needs to display the total number of invoices and the number older than 30 days.
Travis Hill
Altaquip - St Louis, MO
Last edited by VBA Noob; 11-12-2008 at 02:33 PM. Reason: Marked as solved
Try
=Countif('1234'!B1:B10,"<"&Today()-30)
where B1:B10 is your range on invoice dates.
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Works like a charm! Many thanks!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks