Nested IF's with blank cells.
Good afternoon Community!
I'm working on a formula that will Assign a "New" or "Old" Cost center based on a date field. I have this functioning properly using the following formula:
=IF([Transaction Date]@row < DATE(2023, 3, 31), "Old - Cost Center", "New - Cost Center")
Now, I am trying to add in a feature that will leave the cost center field blank if [Transaction Date] is blank. I've tried nesting If's and using ISBLANK without any luck.
tyty
Best Answer
-
Hi @Coen ,
Give this a try.
=IF(ISBLANK([Transaction Date]@row), "", IF([Transaction Date]@row < DATE(2023, 3, 31), "Old - Cost Center", "New - Cost Center"))
Hope that helps,
Dave
Answers
-
Hi @Coen ,
Give this a try.
=IF(ISBLANK([Transaction Date]@row), "", IF([Transaction Date]@row < DATE(2023, 3, 31), "Old - Cost Center", "New - Cost Center"))
Hope that helps,
Dave
-
Dave! Thank you so much, this did the trick!!
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!