Receiving INCORRECT ARGUMENT SET when using an IFERROR
This is the error I'm receiving on my sheet summary page. Please note that the sheet is "set up" with columns and necessary formulas, there is just no information entered yet.
Every time I open this sheet, I get the error above. To fix this problem, I just copy the formula, delete it, then re-paste it.
This is after I re-pasted the same exact formula that was giving me an error.
The formula I am using is this. =IFERROR(MEDIAN([Contract Amount]:[Contract Amount]), "Calculation error. Contact Admin.")
This is the formula that I am using. I've looked it over it numerous times, it seems like a pretty simple formula that is hard to mess up on. Does IFERROR not account for #INCORRECT ARGUMENT SET? And why does repasting the same formula in the same exact field "fix the problem"? Shouldn't there also be a 0 in that field as well, since it's calculating nothing? Or should there be my message "Calculation error. Contact Admin."?
Any feedback is appreciated! Thanks!
Best Answers
-
If the sheet is completely blank/unused, then the cells are not just empty. They essentially do not exist. What happens if you put a number in a cell in the column you are pulling into the MEDIAN function?
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
IFERROR does not work on ALL errors. I used to have a list, but I can't seem to find it anymore. Basically it works for most, but there are some that will still push through such as the one you are experiencing, unparseable, and blocked.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
If the sheet is completely blank/unused, then the cells are not just empty. They essentially do not exist. What happens if you put a number in a cell in the column you are pulling into the MEDIAN function?
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
If I enter a number in the referenced column, it calculates correctly.
-
Ok. In that case you can either leave it empty until the template is actually used knowing that the error will go away once in production, or you can insert a "placeholder row" that just holds fake data in the template.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Interesting. So I guess my question now is why is IFERROR not accounting for that? Does IFERROR only work when there is data inputted into the referenced range?
-
IFERROR does not work on ALL errors. I used to have a list, but I can't seem to find it anymore. Basically it works for most, but there are some that will still push through such as the one you are experiencing, unparseable, and blocked.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Got it, I did not know that. That is definitely useful information that I can use in the future.
Thanks!
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!