Formula to count all cells with a date and provide a percentage.

RKS2nd

New Member
Joined
Aug 4, 2015
Messages
26
Office Version
  1. 365
Platform
  1. Windows
I am tracking completion of a task across 40+ tasks, looking for a percentage of tasks completed. Previously, I looked for a "x", we have been asked to change to entering the date task was completed. My formulas is below.

=SUM(IF(N4="x",1,0),IF(N5="x",1,0),IF(N6="x",1,0),IF(N7="x",1,0),IF(N8="x",1,0),IF(N9="x",1,0),IF(N10="x",1,0),IF(N11="x",1,0),IF(N12="x",1,0),IF(N13="x",1,0),IF(N14="x",1,0),IF(N15="x",1,0),IF(N16="x",1,0),IF(N17="x",1,0),IF(N18="x",1,0),IF(N19="x",1,0),IF(N20="x",1,0),IF(N21="x",1,0),IF(N22="x",1,0),IF(N23="x",1,0),IF(N24="x",1,0),IF(N25="x",1,0),IF(N26="x",1,0),IF(N27="x",1,0),IF(N28="x",1,0),IF(N29="x",1,0),IF(N30="x",1,0),IF(N31="x",1,0),IF(N32="x",1,0),IF(N33="x",1,0),IF(N34="x",1,0),IF(N35="x",1,0),IF(N36="x",1,0),IF(N37="x",1,0),IF(N38="x",1,0),IF(N39="x",1,0),IF(N40="x",1,0),IF(N41="x",1,0),IF(N42="x",1,0),IF(N43="x",1,0),IF(N44="x",1,0),IF(N45="x",1,0),IF(N46="x",1,0),IF(N47="x",1,0))/44)

Thanks for the assist. I d not know VBA.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
How about
Excel Formula:
=COUNTIFS(N4:N47,"<>")/44
 
Upvote 0
You're welcome & thanks for the feedback.
Thanks also for updating your profile. (y)
 
Upvote 0

Forum statistics

Threads
1,215,093
Messages
6,123,067
Members
449,090
Latest member
fragment

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top