Help with Formular with two criteria adding to date value
Hello,
I am assisting a team in moving from an excel sheet to Smartsheet. The formula they currently use to perform a calculated function isn't working and I am getting INVALID DATA TYPE as the error. I admit I am not the best formula writer.
Basically if the new row meets he two criteria only then should the cell populate by adding 60 days to the Date Received value.
=IF([Review Type]@row = "Employee Requested", (AND([Current REPR]@row = "OAH", [Date Received]@row + 60, 0))
Thank you for your help!
Answers
-
Hey @Nancy K
I think this is what you're asking for
=IF(AND([Review Type]@row = "Employee Requested", [Current REPR]@row = "OAH"), [Date Received]@row + 60, 0)
Did you mean that if the criteria was not met for the value to be zero? Or did you mean that zero would be added to the [Date Received] value if the criteria was not met? As written the False value returns a zero.
Kelly
-
@Kelly Moore Thank you! I am hoping it will add 60 days to Date Received if met or leave blank if not.
I just remembered " " is actually blank so I fixed it but I can't seem to get the +60 to work. It is giving me INVALID COLUMN VALUE as the error.
-
Hey
The column type for [Date Received] is a date column, correct? If yes, how is the [Date Received] entered into the sheet?
Kelly
-
Yes it is a date column. 2 digit month/day/year
-
The column that houses this formula is also a Date column, correct?
-
@Kelly Moore Thank you so much!!! I swear sometimes its the little things!
-
Lol, yes, you are so right. I'm glad it was something easy to fix.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!