+ Reply to Thread
Results 1 to 4 of 4

Formula that can calculate Year to Date % success across multiple years

  1. #1
    Registered User
    Join Date
    09-23-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    19

    Formula that can calculate Year to Date % success across multiple years

    Hi guys,

    I was wondering if you could help me. I have been able to calculate a % success rate of steps within a particular month, but haven't found a way to average the monthly success rates so far (year to date).
    Issue is that the averaging needs to restart when a new year begins.
    Would any of you know what formula to use for this?

    Attached is a sample of what I'm trying to achieve.

    Thanks for your help,
    Allard
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Formula that can calculate Year to Date % success across multiple years

    In D2
    =IF(COUNTIFS($A2:$A$100,$A2,$B2:$B$100,$B2)=1,COUNTIFS($A$2:$A$100,$A2,$B$2:$B$100,$B2,$C$2:$C$100,"Pass"),"")

    In E2
    =IF(COUNTIFS($A2:$A$100,$A2,$B2:$B$100,$B2)=1,COUNTIFS($A$2:$A$100,$A2,$B$2:$B$100,$B2,$C$2:$C$100,"Fail"),"")

    In F2
    =IFERROR(D2/SUM(D2:E2),"")

    In G2
    =IF(ISNUMBER(F2),IF(COUNTIF($B2:$B$100,$B2)=1,AVERAGEIF($B$2:$B$100,B2,$F$2:$F$100),F2),"")

    Copy down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    09-23-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Formula that can calculate Year to Date % success across multiple years

    Thanks Ace_XL, that works brilliantly!

    Allard

  4. #4
    Registered User
    Join Date
    09-23-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Formula that can calculate Year to Date % success across multiple years

    Thanks Ace_XL, that works brilliantly!

    Allard

+ 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] Formula to calculate years of service for next year (2015)
    By Kimston in forum Excel General
    Replies: 4
    Last Post: 12-03-2014, 04:48 AM
  2. Year To Date Filter - Multiple Years
    By andyrow in forum Excel General
    Replies: 4
    Last Post: 01-11-2013, 09:03 AM
  3. [SOLVED] Formula to calculate years of service for next year
    By Kimston in forum Excel General
    Replies: 9
    Last Post: 12-13-2012, 06:40 PM
  4. Replies: 3
    Last Post: 08-14-2012, 05:14 AM
  5. Replies: 0
    Last Post: 01-23-2012, 05:15 PM
  6. Calculate year over revenue percentage based on daynamic years
    By karinos57 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-17-2009, 02:22 PM
  7. [SOLVED] excel how do I calculate income indexed each year for 15 years
    By zapie in forum Excel General
    Replies: 2
    Last Post: 03-28-2006, 05:00 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