2023-05-15 11:01 PM
When creating a Expression with 2 IFS i get the error "the number of arguments is not correct for this function". What dose this mean and how can i solve this
Solved! Go to Solution.
2023-05-16 03:01 AM
Make sure it is following the correct format.
IFS(argument_1, result_1, argument_2, result_2, argument_3, result_3)
You can add as many arguments/results as you want.
Barry.
2023-05-16 03:01 AM
Make sure it is following the correct format.
IFS(argument_1, result_1, argument_2, result_2, argument_3, result_3)
You can add as many arguments/results as you want.
Barry.
2024-03-20 08:51 PM - last edited on 2024-03-26 08:26 PM by Laszlo Nagy
Hi, I'm getting the same error and I think the syntaxis is ok. Can you help me with this?
Jim
2024-03-21 02:47 AM - edited 2024-03-21 02:47 AM
What happens when you remove the last ... ,0
It is not part of the argument.
Barry.
2024-03-21 09:04 AM - edited 2024-03-21 09:05 AM
As additional information:
if you like to add a result (0 in your expression), if none of the other conditions are met, you can do it by adding a TRUE as last argument:
IFS ( TRANSECTO = "T3", 3, TRANSECTO = "T4", 4, TRANSECTO = "T5", 5, TRUE, 0 )
2024-03-21 04:40 PM
Thank you so much. Indeed I wanted the "0" as the result if any of the conditions were true.