How can I get this formula to return a value when two criteria are met?
Initially, I used the formula below to return the Payment Term value from my Contract & Exhibit Tracker where the vendor #s match between my source sheet and output sheet. And it worked.
=IF(ISBLANK([Vendor #]@row), "No Match Found", IFERROR(INDEX({Contract & Exhibit Tracker - Payment Terms}, MATCH([Vendor #]@row, {Contract & Exhibit Tracker - Vendor #}, 0)), "No Match Found"))
HOWEVER, the Contract/Exhibit Tracker contains "inactive" contracts that I want to ignore, so using the AI formula generator and attempted to use this formula:
=IF(ISBLANK([Vendor #]@row), "No Match Found", IFERROR(INDEX({Contract & Exhibit Tracker - Payment Terms}, MATCH([Vendor #]@row, {Contract & Exhibit Tracker - Vendor #}, 0), IF(OR({Contract & Exhibit Tracker - Status} = "ACTIVE", {Contract & Exhibit Tracker - Status} = "DRAFT"), 1, 0)), "No Match Found"))
Now all rows are coming back "No Match Found" instead of returning the Payment Term value where there is a match.
Can anyone help me troubleshoot? I have exhausted my skillset
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.6K Get Help
- 403 Global Discussions
- 215 Industry Talk
- 455 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 56 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!