Forum Discussion
DabriFo
Nov 02, 2023Copper Contributor
Status Date
I am batteling with the following formula in MS Project: IIf([Status Date]=#2023/01/31#,[Actual Cost],0) Can somebody please tell my why it keeps on returning 0 even if the Status Date is set as 202...
- Nov 02, 2023Time part is missing in the date literal #2023/01/31#. Either exclude the times in the comparison expression or add them to both sides. That is, either use Int( [Status Date] ) = #2023/01/31# or [Status Date] = #2023/01/31 17:00# assuming that the status time is 17:00 based on the default end time.
ismet_kocaman
Nov 02, 2023Brass Contributor
Time part is missing in the date literal #2023/01/31#. Either exclude the times in the comparison expression or add them to both sides. That is, either use Int( [Status Date] ) = #2023/01/31# or [Status Date] = #2023/01/31 17:00# assuming that the status time is 17:00 based on the default end time.
- DabriFoNov 11, 2023Copper ContributorThanks - problem solved.
- ismet_kocamanNov 11, 2023Brass Contributor
You're welcome. And thanks for the feedback.