IF Statement with multiple dates an count.
Hello,
I have a large sheet that I am trying to calculate several dates to populate dependent on a Count in a row field (ie - a count of 0 would generate a date being pulled from one column, and a count of one generating a date from another column).
Columns in Question:
"Was Rejected" - this is a count on either it has text on a rejection reason column (generating a 1) or no text in the reason column (generating a 0)
"Date Requested" - I would want this to populate if it was a 0
"Date Rejected" - I would want this to populate if it was a 1
My current formula is "=IF([Was Rejected?]@row=0, [Date Requested]@row, [Date Rejected]@row) It is returning "#INVALID COLUMN VALUE". Any thoughts on what I am doing wrong?
Best Answer
-
Make sure all three columns are set as date type columns.
Answers
-
Make sure all three columns are set as date type columns.
-
Thank you!! That worked! I have never tried anything like this so still learning. I really appreciate your help.
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.2K Get Help
- 359 Global Discussions
- 198 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 135 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 444 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!