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.4K Get Help
- 447 Global Discussions
- 144 Industry Talk
- 479 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 151 Just for fun
- 72 Community Job Board
- 490 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 302 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!