Compare two dates in the two cells.
Hi,
I want to compare two dates, if the dates are different in the two cells I want them to glow red.
What formula do I have to use and where to put it ?
Answers
-
Hi @Jacek Filip
You’ll need to add a so-called helper column, and then use conditional formatting.
For example, a checkbox column called, Date Compare.
Add the following formula to that column. (change the column names to match yours)
=IF(OR([Date1]@row = ""; [Date2]@row = ""); 0; IF([Date1]@row = [Date2]@row; 0; 1))
Did that work/help?
I hope that helps!
Be safe and have a fantastic week!
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.
-
@Andrée Starå How to create/add helper column ?
-
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.
-
i have similar query,
i have two columns with date in it and i want to compare, if both are matching i need to return date and if its not matching then i need to return the one is not matching. is it possible? i have tried to do lot of possiblities.
for ex. i have two column t1 and t2 and T2 is the master one and data in T1 is coming from Forms, if its not matching i need T1 as output.
-
Hi @Nilesh
I hope you're well and safe!
Try something like this.
=IF([Date 1]@row = [Date 2]@row, [Date 2]@row, [Date 1]@row)
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 support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. 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.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!