+ Reply to Thread
Results 1 to 10 of 10

COUNTIF Formula with Multiple Criteria based on Weekly Occurence

  1. #1
    Registered User
    Join Date
    04-11-2015
    Location
    Brisbane, QLD
    MS-Off Ver
    Excel 2013
    Posts
    7

    COUNTIF Formula with Multiple Criteria based on Weekly Occurence

    Hi everyone, I'm looking for a formula that can keep a running count of a task that:
    1) has a particular status (Outstanding, In-progress or Completed)
    2) is linked to a particular stage (Pre-construction, Compliance, Plan, Maintenance, Post or Others)
    3) is linked to a particular area (GF, YAR, CS, NH)
    4) and occurred in that week

    So basically, I can see on a weekly basis, how many items are (Outstanding, In-progress or Completed), in a particular stage (Pre-construction, Compliance, Plan, Maintenance, Post or Others), in that specific area (GF, YAR, CS, NH).

    I can't see how I can do it without two different tables (which is fine) but I'd prefer to keep it in the one table.

    Thanks in advance for your help and Merry Christmas.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: COUNTIF Formula with Multiple Criteria based on Weekly Occurence

    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.

    Show a before and after situation with manually calculated results, explaining which information is data and which is results, and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  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,929

    Re: COUNTIF Formula with Multiple Criteria based on Weekly Occurence

    I echo Richard's comments, and will also add - did you try countifS() yet?
    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
    Registered User
    Join Date
    04-11-2015
    Location
    Brisbane, QLD
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: COUNTIF Formula with Multiple Criteria based on Weekly Occurence

    Hi all, I've attached a copy of what I'm after, the left hand table is all the data, the right hand tables are where I need the count to be populated according to the area (YAR, GF etc). I've tried a COUNTIFS but I seem to have only managed to work it out on less criteria than what I need to sort out here.
    Attached Files Attached Files

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: COUNTIF Formula with Multiple Criteria based on Weekly Occurence

    Please try this in K9:M25
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Then copy that range and paste into cells Q9 and W9.
    Last edited by FlameRetired; 12-23-2018 at 11:13 PM. Reason: error in formula
    Dave

  6. #6
    Registered User
    Join Date
    04-11-2015
    Location
    Brisbane, QLD
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: COUNTIF Formula with Multiple Criteria based on Weekly Occurence

    Thanks mate, works a charm. I'll play around with it for a bit and let you know if I need any more help.

    Merry Christmas!

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: COUNTIF Formula with Multiple Criteria based on Weekly Occurence

    You're welcome. Thanks for the feedback.

  8. #8
    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,929

    Re: COUNTIF Formula with Multiple Criteria based on Weekly Occurence

    Thanks for the feedback

  9. #9
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: COUNTIF Formula with Multiple Criteria based on Weekly Occurence

    Glad to have helped and thanks for the rep.

  10. #10
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: COUNTIF Formula with Multiple Criteria based on Weekly Occurence

    Since the suggestions seem to have taken care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. VBA Countif in Multiple criteria based on range
    By JhayPericles in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-16-2018, 06:35 AM
  2. [SOLVED] Find the second to the last occurence of a value in a column with multiple criteria
    By queenamidala in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-07-2013, 03:41 AM
  3. Occurence based on criteria (Formula)
    By adyan76 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-02-2012, 08:20 AM
  4. countif based on multiple criteria
    By fabrecass in forum Excel General
    Replies: 2
    Last Post: 09-23-2011, 08:57 AM
  5. Find nth occurence in a table with multiple criteria
    By efernandes67 in forum Excel General
    Replies: 2
    Last Post: 02-01-2011, 05:36 PM
  6. Countif based on multiple criteria
    By dmt2 in forum Excel General
    Replies: 1
    Last Post: 10-07-2010, 03:38 PM
  7. Using CountIf based on multiple criteria
    By lriddle in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-04-2007, 05:01 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