+ Reply to Thread
Results 1 to 7 of 7

Count if all weekly tasks completed

  1. #1
    Registered User
    Join Date
    10-14-2015
    Location
    Perth
    MS-Off Ver
    2010
    Posts
    58

    Count if all weekly tasks completed

    Hi all

    I hope someone can help me with a formula I am trying to create.

    I have a list of scheduled tasks which each have to be done at least once per week. All I want to to do is use a count formula to check whether each task was marked as completed ("yes") at least once throughout the week.

    What makes it more complicated though is that I want to use a formula to first find the term "Weekly Tasks" in column A, and when it finds it offset down and across to start the count from column B. I would like the formula to continue to count each row until it reaches the term "Other Tasks". At this point the formula is to stop counting in this manner.

    If the formula determines that all rows in the range contain at least one "yes" for the week then it should return "complete", if not all weekly tasks were completed (i.e. one or more rows does not contain at least one "yes" per row the return value should be "check"

    I have attached a work sheet with a mocked up example for reference.

    Thank you all
    Attached Files Attached Files

  2. #2
    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: Count if all weekly tasks completed

    I have a feeling that your sample file is far too simple, relative to your working document?

    Will there always only ever be 1 yes per row?
    Because if so, a simple =COUNTIF($B5:$H5,"yes")=1 should work for you?
    Last edited by FDibbins; 03-29-2019 at 01:15 AM.
    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

  3. #3
    Registered User
    Join Date
    03-19-2019
    Location
    London
    MS-Off Ver
    2003-2016/2016 Mac
    Posts
    57

    Re: Count if all weekly tasks completed

    This formula should do

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    10-14-2015
    Location
    Perth
    MS-Off Ver
    2010
    Posts
    58

    Re: Count if all weekly tasks completed

    Hi both

    Many thanks for your replies however I cannot see how this formula would perform the first and last part of the calculation which is to find the term "Weekly Tasks" in column A and then start the count and then stop when the heading "Other Tasks" in column A is found. I will be performing the calculation over multiple worksheets and in some cases the term "Weekly Tasks" will start at different row numbers.

    Thank you

  5. #5
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Count if all weekly tasks completed

    Ciao

    please refer to the attachment: the formula in K4 needs to be array entered (control+shift+enter) to return "ok" or "review"


    Please Login or Register  to view this content.
    Regards
    Attached Files Attached Files
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  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: Count if all weekly tasks completed

    Upload a more representative sample of your WB please.

  7. #7
    Registered User
    Join Date
    10-14-2015
    Location
    Perth
    MS-Off Ver
    2010
    Posts
    58

    Re: Count if all weekly tasks completed

    Hi all

    Apologies for the delay.

    Thanks for the upload Canapone, your formula hit the nail on the head as it does exactly what I need it to do.

    I will need to find out what the MMULT does as I have not used it before.

    Thanks again to everyone else who made a contribution, its very much appreciated!

+ 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] Lookup tasks and sort by date and exclude completed tasks
    By AlexSchmidt in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 10-19-2017, 04:47 PM
  2. Macro for completed tasks and priority
    By ElPedro in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-30-2016, 10:35 AM
  3. Automatically regenerate updated form once weekly and clear completed tasks
    By sfahlman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-03-2014, 07:00 PM
  4. Workout overall percentage of completed tasks
    By aamarb in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2013, 08:30 AM
  5. Transferring completed tasks! HELP!
    By zirk95 in forum Excel General
    Replies: 10
    Last Post: 04-18-2012, 05:35 PM
  6. Calculate % of tasks completed
    By sanlen in forum Excel General
    Replies: 2
    Last Post: 08-30-2010, 08:43 AM
  7. how do i prepare reports for tasks completed
    By Anjali in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-15-2006, 07:15 AM

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