+ Reply to Thread
Results 1 to 6 of 6

count between dates

  1. #1
    Registered User
    Join Date
    11-30-2006
    Posts
    57

    Unhappy count between dates

    is there a way to do some kind of count between two dates

    heres what i have:

    i have transactions and the dates they were on, now i want to make a table showingthe number of transactions per month. i thought of doing a count between the beginning of one month and the beginning of the next but it wont work.

    if you can tell how to do this, using my method or something else i would be very grateful

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by Jymoz
    is there a way to do some kind of count between two dates

    heres what i have:

    i have transactions and the dates they were on, now i want to make a table showingthe number of transactions per month. i thought of doing a count between the beginning of one month and the beginning of the next but it wont work.

    if you can tell how to do this, using my method or something else i would be very grateful
    What sort of table, and why won't it work?

    ie, in Rows 1-12

    =COUNT(IF(MONTH(B$1:B$100)=ROW(),1))-IF(ROW()=1,COUNTBLANK(B$1:B$100),0)

    works for me.
    ---
    Last edited by Bryan Hessey; 12-30-2006 at 07:23 AM.
    Si fractum non sit, noli id reficere.

  3. #3
    Registered User
    Join Date
    11-30-2006
    Posts
    57
    Quote Originally Posted by Bryan Hessey
    What sort of table, and why won't it work?

    ie, in Rows 1-12

    =COUNT(IF(MONTH(B$1:B$100)=ROW(),1))-IF(ROW()=1,COUNTBLANK(B$1:B$100),0)

    works for me.
    ---
    the table is in the form:

    Customer number/item Code/Date Out/Date in

    the dates are in the form mm/dd/yyyy and i think it may be the dates that are the problem, but i'm not sure. In the formula the date comes up as a number like 38975

  4. #4
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by Jymoz
    the table is in the form:

    Customer number/item Code/Date Out/Date in

    the dates are in the form mm/dd/yyyy and i think it may be the dates that are the problem, but i'm not sure. In the formula the date comes up as a number like 38975
    38975 is a natural form for a date of 15/Sep/2006, did the Countif work?

    ---

  5. #5
    Registered User
    Join Date
    11-30-2006
    Posts
    57
    yeah i got it working now

    thanks for your help

  6. #6
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by Jymoz
    yeah i got it working now

    thanks for your help
    good to see, and thanks for your response.
    ---

+ 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