Forum Discussion
Excel Help--Finding the Average Duration within the past month
mtarler I have another part to this that I am getting stumped.
My final calculation is to obtain a percentage of completed projects in the last month where another column of legacy data is not blank.
I was able to do the calculation for a timeframe of all time projects and successfully got a percentage.
=COUNTA('Onboarding Interface Tracker'!AG6:AG285)/COUNTA('Onboarding Interface Tracker'!AI6:AI285)
I counted the number of cells that had dates in the legacy column and divided that by number of cells that had dates in the completed projects column.
This is where I am getting stuck because I need to add a condition to the completed projects column from the past month. That column is the AI6:AI285 one.
I tried this, but I am getting 600% as an answer:
=(COUNTA('Onboarding Interface Tracker'!AG6:AG285))/(COUNTIF('Onboarding Interface Tracker'!AI6:AI285,">"&DATE(YEAR(TODAY()),MONTH(TODAY())-1,0))-COUNTIF('Onboarding Interface Tracker'!AI6:AI285,">"&TODAY()-DAY(TODAY())))