MULTIPLE IF STATEMENTS - RETURNING #INVALID OPERATION
Hi
I am trying to do a multiple IF statement but it keeps returning #INVALID OPERATION. I have had a search through the community and it seems that my formula is correct (it works perfectly well in Excel 😅)
=IF([Date Returned]128 > [Date Furloughed]128, [Date Returned]128, IF([Date Returned]128 < [Date Furloughed]128, "", IF([Date Returned]128 = "", "")))
Am I missing something blatantly obvious. HELP!
Many thanks,
JW
Answers
-
Hi @Jacqué Whitlock
Hope you are fine, please try the following:
=IF([Date Returned]@row > [Date Furloughed]@row, [Date Returned]@row,"")
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
Try this. I swapped the order of your IFs and converted your row numbers to @row. Using @row whenever you don't have to refer to a specific cell is a best practice in smartsheet.
=IF([Date Returned]@row = "", "", IF([Date Returned]@row > [Date Furloughed]@row, [Date Returned]@row, IF([Date Returned]@row < [Date Furloughed]@row, "")))
cheers
-
Thank you for your reply.
Unfortunately the suggested formula also returns #INVALID OPERATION.
I have also tried
=IF([Date Returned]128 = "", "", IF([Date Returned]128 > [Date Furloughed]128, [Date Returned]128, "")) which works perfectly fine if there is a date in the Date Returned cell but returns #INVALID OPERATION if the Date Returned cell is blank.
JW
-
Is your column restricted to Dates only? Double click on the column header to check this
-
Did you get your formula to work? If not, try this
=IFERROR(IF(ISDATE([Date Returned]@row), IF([Date Returned]@row > [Date Furloughed]@row, [Date Returned]@row, IF([Date Returned]@row < [Date Furloughed]@row, ""))), "")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!