Forum Discussion
creativekat26
Jun 30, 2023Copper Contributor
calculating percentage between two dates
Hello - I am trying to show a percentage complete between two dates. I am using the formula: =MIN(1, (DATEDIF(B2,TODAY(),"d")+1)/(DATEDIF(B2,C2,"d")+1)) which is working great and leaves the p...
- Jun 30, 2023
creativekat26 I think the problem is the separators between the function arguments. The example I've provided is ";"(this is my separator). If you have ","(comma) as a separator please replace ";" with "," in my formula.
leoperdia
Jun 30, 2023Brass Contributor
creativekat26 Meaby I do not get you correctly, but the formula I've shared in the previous post is a combination of both:
IFERROR(MIN(1; (DATEDIF(B4;TODAY();"d")+1)/(DATEDIF(B4;C4;"d")+1));"not started")
The example I've shared is using this formula. The behavior is the following:
-If range date in the future--> not started
-If today is within the range date---> % of progress
-If range date in the past--> 100%
Regards
https://www.upwork.com/freelancers/~01cf0fc8446b00f44c
creativekat26
Jun 30, 2023Copper Contributor
The formula you showed would not work for me. It says there is an Inconsistent calculated column formula.
I double checked and the version of Excel I am using is
Microsoft® Excel® for Microsoft 365 MSO (Version 2305 Build 16.0.16501.20074) 64-bit
would that have anything to do with why I can't get your formula to work?
I double checked and the version of Excel I am using is
Microsoft® Excel® for Microsoft 365 MSO (Version 2305 Build 16.0.16501.20074) 64-bit
would that have anything to do with why I can't get your formula to work?