IF statement with 2 variables, cannot get it to work
Hello!
I have a large sheet that I am working with. I want to create a formula that returns an "X" if the following criteria are met:
- Column "Date" is less than today (in the past)
- Column "Project ID" is blank/not populated
I currently have the following formula that is returning an Incorrect Argument Set:
=IF(AND([Date]@row < TODAY(), [Project ID]@row, "X", ""))
Any help would be appreciated!
Best Answer
-
Hi @SASardy,
The formula you would want for this is:
=IF(AND(ISBLANK([Project ID]@row), (Date@row < TODAY())), "X", "")
Sample:
Hope this helps. If you've any questions etc. then just post! 😊
Answers
-
Hi @SASardy,
The formula you would want for this is:
=IF(AND(ISBLANK([Project ID]@row), (Date@row < TODAY())), "X", "")
Sample:
Hope this helps. If you've any questions etc. then just post! 😊
-
This did it Nick! Thank you for the quick response. I tried ISBLANK first and it was not working either but your version did!
-
No problem, happy to have helped! 😊
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!