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
- Customer Resources
- 65.9K Get Help
- 429 Global Discussions
- 147 Industry Talk
- 487 Announcements
- 5.2K Ideas & Feature Requests
- 86 Brandfolder
- 151 Just for fun
- 74 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!