Error: the number of arguments is not correct for this function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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.
- Labels:
-
Classifications & Properties
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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
 

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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 )
Intel i9-9900K / 64GB RAM / nVidia GeForce RTX 2080 Ti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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.