+ Reply to Thread
Results 1 to 7 of 7

Countif based on month

  1. #1
    Forum Contributor
    Join Date
    03-09-2007
    Location
    Australia
    MS-Off Ver
    Office 10
    Posts
    371

    Countif based on month

    With help from the forum the amounts are calculated in the attached worksheet but I am doing something wrong with the count situation
    again assistance appreciated
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    03-09-2007
    Location
    Australia
    MS-Off Ver
    Office 10
    Posts
    371

    Re: Countif based on month

    Just noticed that the amount cols are also incorrect - altering the date to other than the 1st makes the amount vanish so that formula is incorrect also

    again assistance apprecialed

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Countif based on month

    I think you need this, not just count()...
    =COUNTIFS(Entry!$C$11:$C$133,$B8,Entry!$A$11:$A$133,Summary!F$6)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Contributor
    Join Date
    03-09-2007
    Location
    Australia
    MS-Off Ver
    Office 10
    Posts
    371

    Re: Countif based on month

    Thanks I have tried the formula but it does not appear to work

  5. #5
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Countif based on month

    hi bnwash. try this for E8:
    =COUNTIFS(Entry!$C:$C,$B8,Entry!$A:$A,">="&F$6,Entry!$A:$A,"<="&EOMONTH(F$6,0))

    this for F8:
    =SUMIFS(Entry!$E:$E,Entry!$C:$C,$B8,Entry!$A:$A,">="&F$6,Entry!$A:$A,"<="&EOMONTH(F$6,0))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Countif based on month

    Quote Originally Posted by bnwash View Post
    Thanks I have tried the formula but it does not appear to work
    what did you get and what did you expect? I got an answer of 1 in E8, and checking Entry sheet, that is what you have there too

  7. #7
    Forum Contributor
    Join Date
    03-09-2007
    Location
    Australia
    MS-Off Ver
    Office 10
    Posts
    371

    Re: Countif based on month

    Thanks appreciate your assistance

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Determine work days in current month or next month based on day of the month
    By sbrnard in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-29-2014, 05:14 PM
  2. [SOLVED] countif based on month
    By superboy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-20-2013, 04:42 AM
  3. CountIF based on Month in call and Name in Cell
    By djsouljah in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-01-2013, 02:20 PM
  4. VBA: Piviot table Month auto select based on current month?
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-21-2013, 07:18 AM
  5. Replies: 12
    Last Post: 02-08-2013, 02:26 PM

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