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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!