+ Reply to Thread
Results 1 to 5 of 5

count since last entry

  1. #1
    Registered User
    Join Date
    04-29-2009
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2003
    Posts
    3

    count since last entry

    Hello,
    I tracker the number of units sold by my sales personnel. I need to track how many days since the last unit was sold. for example:
    (see attachment) if a unit was sold on monday then wednesday and today is the following monday, the answer should be two. it's been two days (business days) since they sold a unit. also, if they were to sell a unit on friday, it should automatically change to zero. can anyone help?
    -rara
    Attached Files Attached Files
    Last edited by rara718; 04-29-2009 at 01:23 PM. Reason: data not appearing correctly

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

    Re: count since last entry

    tRY:

    =5-IF(COUNT(B2:F2),MATCH(9.999999E+307,B2:F2),0)

    Copied down.
    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
    04-29-2009
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: count since last entry

    so far so good. quick question. should i increase the first number in the formula ("5" in this example) depending on the number of days I'm counting?

  4. #4
    Registered User
    Join Date
    04-29-2009
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: count since last entry

    also, would i have to change the formula each day if i wanted a updated amount each day?

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

    Re: count since last entry

    I guess so.. the 5 just came from you have 5 possible cells in the row that can be filled in...

+ 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