Concatenate instead of adding days from a date?
Hi,
I am trying to add days from a date, depending on the value of another cell. Instead of adding the days it appears to be concatenating. In the screen shot below the desired result would be an Expected Sample Date of 04/01/21. Instead it is displaying 03/01/2132.
Here are the Columns I am using:
- Completed in Lab Date
- Number of Days (this is based on a column formula, so will vary)
- Expected Sample Date (Cell 1 + Cell 2)
The formula for Number of Days is:
=IF(Crop@row = "Cotton", "70", IF(Crop@row = "Soy", "32"))
This is the formula I'm using when I try to add Completed In Lab Date and Number of Days and what I'm getting below in a screenshot:
=[Completed in Lab Date]@row + [Number of Days]@row
When I add the number of days manually (no formula) everything behaves as it should.
Thanks in advance for any help!
Best Answer
-
I hope you're well and safe!
Try this for the Number of Days one.
=IF(Crop@row = "Cotton", 70, IF(Crop@row = "Soy", 32))
Did that work/help?
I hope that helps!
Be safe and have a fantastic weekend!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Answers
-
I hope you're well and safe!
Try this for the Number of Days one.
=IF(Crop@row = "Cotton", 70, IF(Crop@row = "Soy", 32))
Did that work/help?
I hope that helps!
Be safe and have a fantastic weekend!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
This worked perfectly @Andrée Starå! I had a feeling it was something super simple.
Have a wonderful weekend and stay safe also!
Jen
-
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.8K Get Help
- 406 Global Discussions
- 218 Industry Talk
- 457 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!