Unparseable error
Hi Team
I’m getting this error with this formula
=IF(OR(Area@row = "Grading", Area@row = "Flock"), (([Grading Records for Flock and Day]@row > 1, "Check for Double GRADING Entries"),IF([Flock Records for Flock and Day]@row > 1, "Check for Double Up FLOCK Entries"), IF([Grading Records for Flock and Day]@row < 1, "Alert:No Grading records loaded"), IF([Flock Records for Flock and Day]@row < 1, "Alert:No Grading records loaded")),"No Data Issues")
to me all the parameters are met. Or function returns true then perform the data error messages but if false return “no data issue”
What am I missing. When I click along various parts the helper knows where I am
Cheers
Chris
Best Answer
-
Hey @Chris Martin
See if this works
=IF(OR(Area@row = "Grading", Area@row = "Flock"), IF([Grading Records for Flock and Day]@row > 1, "Check for Double GRADING Entries", IF([Flock Records for Flock and Day]@row > 1, "Check for Double Up FLOCK Entries", IF([Grading Records for Flock and Day]@row < 1, "Alert:No Grading records loaded", IF([Flock Records for Flock and Day]@row < 1, "Alert:No Grading records loaded")))), "No Data Issues")
Did this clear your error and yield expected results?
Kelly
Answers
-
You first test this condition:
OR(Area@row = "Grading", Area@row = "Flock")
That's cool, it is a true or false question.
If true, then ([Grading Records for Flock and Day]@row > 1, "Check for Double GRADING Entries")
But that is not a logically resolvable question. Are you missing an IF in front of that? If so, then that closed paren is in the wrong place, as the formula expects a FALSE, so if the next string is the FALSE, remove that closed paren. My brain can't really process the rest of this of this without help, so if you tell me what this TRUE result is supposed to accomplish I can see if I can unpack the rest.
What I do when I have this problem is I put all of my IF statements in their own column, and I put 999 in the FALSE position. When everything is working I paste each alternative result over the 999 in the previous nest.
-
OFcourse that makes sense have no IF really stuffed it up the rest. But now i’m getting an incorrect argument set
-
So what i have is two columns recording number of entries in certain “areas”. there are two key areas, Grading and Flock, so if those two areas either record more than one entry or no entries i woudl like to be told.
-
=IF(OR(Area@row = "Grading", Area@row = "Flock"), (IF([Grading Records for Flock and Day]@row > 1, "Check for Double GRADING Entries"), IF([Flock Records for Flock and Day]@row > 1, "Check for Double Up FLOCK Entries"), IF([Grading Records for Flock and Day]@row < 1, "Alert:No Grading records loaded"), IF([Flock Records for Flock and Day]@row < 1, "Alert:No Grading records loaded")), "No Data Issues")
Fixed the incorrect argument error but back to unparseable
-
Hey @Chris Martin
See if this works
=IF(OR(Area@row = "Grading", Area@row = "Flock"), IF([Grading Records for Flock and Day]@row > 1, "Check for Double GRADING Entries", IF([Flock Records for Flock and Day]@row > 1, "Check for Double Up FLOCK Entries", IF([Grading Records for Flock and Day]@row < 1, "Alert:No Grading records loaded", IF([Flock Records for Flock and Day]@row < 1, "Alert:No Grading records loaded")))), "No Data Issues")
Did this clear your error and yield expected results?
Kelly
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!