Forum Discussion
MeredithMoore1
8 years agoQrew Cadet
I am trying a similar thing, but not having any luck.
If(
(not IsNull([Date Completed]) and [Status]="Completed"),[Date Completed],[Date Modified])
This is what it says:
The types of the arguments or the number of arguments supplied do not meet the requirements of the function If.
The function is defined to be If (Boolean condition1, result1, ..., else-result).
You may need to do one of the following to fix the problem:
If(
(not IsNull([Date Completed]) and [Status]="Completed"),[Date Completed],[Date Modified])
This is what it says:
The types of the arguments or the number of arguments supplied do not meet the requirements of the function If.
The function is defined to be If (Boolean condition1, result1, ..., else-result).
You may need to do one of the following to fix the problem:
- Choose the right number and type of arguments.
- Use a type conversion function to convert the arguments you are using to the correct type.
- Choose a different function.