+ Reply to Thread
Results 1 to 3 of 3

Count number of dates older than 30 days

  1. #1
    Registered User
    Join Date
    11-12-2008
    Location
    St Louis, MO
    MS-Off Ver
    2002
    Posts
    2

    Count number of dates older than 30 days

    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:

    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.
    Any help would save me HOURS of work a week and would be greatly appreciated.

    Travis Hill
    Altaquip - St Louis, MO
    Last edited by VBA Noob; 11-12-2008 at 03:33 PM. Reason: Marked as solved

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,902
    Try

    =Countif('1234'!B1:B10,"<"&Today()-30)

    where B1:B10 is your range on invoice dates.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    11-12-2008
    Location
    St Louis, MO
    MS-Off Ver
    2002
    Posts
    2
    Works like a charm! Many thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1