Hi team, may I have help with the IF formula below?
=IF([Rank]@row = "1", [Request Date]@row + 5,""), IF([Rank]@row = "2", [Request Date]@row + 7,""), IF([Rank]@row = "3", [Request Date]@row + 9,""), IF([Rank]@row = "4", [Request Date]@row + 11,""), IF([Rank]@row = "#NO MATCH", [Request Date]@row + 11, "")))))
I'm trying to add an IF formula based on the rank column and create a due date depending on the rank column. However, I'm receiving the "UNPARSEABLE" error.
Thank you for any help!
Answers
-
You only need the final: , "" and also, when you are looking at a #, then quotes around the number are not needed.
Try this:
=IF([Rank]@row = 1, [Request Date]@row + 5, IF([Rank]@row = 2, [Request Date]@row + 7, IF([Rank]@row = 3, [Request Date]@row + 9, IF([Rank]@row = 4, [Request Date]@row + 11, IF([Rank]@row = "#NO MATCH", [Request Date]@row + 11, "")))))
-
Hi @knc1008a,
Give this a try (untested).
=IF(Rank@row = 1, [Request Date]@row + 5, IF(Rank@row = 2, [Request Date]@row + 7, IF(Rank@row = 3, [Request Date]@row + 9, IF(Rank@row = 4, [Request Date]@row + 11, IF(Rank@row = "#NO MATCH", [Request Date]@row + 11, "")))))
Hope this helps,
Dave
-
Thank you, I tried both but still receiving "UNPARSEABLE".
=IF([Rank]@row = 1, [Request Date]@row + 5), IF([Rank]@row = 2, [Request Date]@row + 7), IF([Rank]@row = 3, [Request Date]@row + 9), IF([Rank]@row = 4, [Request Date]@row + 11), IF([Rank]@row = "#NO MATCH", [Request Date]@row + 11, "")))))
-
You are getting "UNPARSEABLE" because you are closing the IF statements - if you look at the examples we gave, we only have closing parens ")" at the very end of the formula, you have them throughout.
Remove those parens, only leave the ones at the end, and you should be good.
-
Thank you for your help. I removed the extra parenthesis. I'm getting the "invalid column value" error now. Is this error because the Rank column has a Vlookup formula in it? The Vlookup generates the Rank 1-4.
-
You are getting the error because of the '#no match' this is an error and not an actual column value. instead do an iferror to make the '#no match' be something else. Then you will be able to correct everything
If you found this comment helpful. Please respond with any of the buttons below. Awesome🖤, Insightful💡, Upvote⬆️, or accepted answer. Not only will this help others searching for the same answer, but help me as well. Thank you.
-
Instead try this.
=IFERROR(IF(ISBLANK(Rank@row), "", IF(Rank@row = 1, [Request Date]@row + 5, IF(Rank@row = 2, [Request Date]@row + 7, IF(Rank@row = 3, [Request Date]@row + 9, IF(Rank@row = 4, [Request Date]@row + 11))))), [Request Date]@row + 11)
ALSO be sure to have the column that the formula is in be a date column this could also cause the invalid column value error
If you found this comment helpful. Please respond with any of the buttons below. Awesome🖤, Insightful💡, Upvote⬆️, or accepted answer. Not only will this help others searching for the same answer, but help me as well. Thank you.
-
Thank you all for your quick responses! It is working now :)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.4K Get Help
- 464 Global Discussions
- 156 Industry Talk
- 509 Announcements
- 5.4K Ideas & Feature Requests
- 86 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 518 Show & Tell
- 35 Member Spotlight
- 3 SmartStories
- 307 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!