+ Reply to Thread
Results 1 to 6 of 6

Calculating what %age of items completed within 30 days

  1. #1
    Registered User
    Join Date
    04-29-2021
    Location
    Leicester, England
    MS-Off Ver
    365
    Posts
    45

    Calculating what %age of items completed within 30 days

    Hi all,

    I have a report that contains the date an item was created, the date it was closed and a closed flag, and I need to work out what percentage of items were completed within 30 days on a month by month basis (the target is 80% within 30 days). I'm not sure if I can do it in a pivot or a power pivot (a haven't had much experience with power pivot). I've attached some sample data, could anyone give me any pointers please?
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,524

    Re: Calculating what %age of items completed within 30 days

    This proposal adds two columns to the source data:
    1. Closed 2: =IF([@[Closed Flag]]="Closed",1,"")
    2. <=30 Days: =IF(DAYS([@Closed],[@Created])<=30,1,"")
    3. The two new fields are placed in the Values area of the pivot table
    4. A calculated field is added: ='<=30 Days' /'Closed 2'
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    04-29-2021
    Location
    Leicester, England
    MS-Off Ver
    365
    Posts
    45

    Re: Calculating what %age of items completed within 30 days

    HI, thanks for the reply and sorry for not coming back sooner.

    There was an error with the sample I updated, it didn't include the unique reference associated to each entry, I'm not sure if that changes the solution you proposed? I've uploaded another sample with the unique ref included.

    Thanks!
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,524

    Re: Calculating what %age of items completed within 30 days

    I am away from my computer for a few days. Will look at this when I get a chance.

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,524

    Re: Calculating what %age of items completed within 30 days

    No changes needed.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,039

    Re: Calculating what %age of items completed within 30 days

    Added 3 helper columns and using PivotTable.

+ 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] Moved Completed items to completed sheet
    By VBAhelp1 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-14-2022, 03:34 PM
  2. Categorize items by status of completed, open
    By michael35 in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 01-23-2019, 10:43 AM
  3. [SOLVED] CountIF for total of completed on time items
    By Justair07 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-14-2014, 02:56 PM
  4. Replies: 2
    Last Post: 08-13-2014, 09:48 AM
  5. Move Completed Items to a new worksheet.
    By Linzela42300 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-30-2013, 01:48 PM
  6. gray out and move completed items to different worksheet
    By kirstenpolley in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-10-2012, 01:28 PM
  7. Calculating the Percentage Completed
    By KyrithAZ in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-13-2006, 03:40 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