Nested IF with multiple functions included returning unparseable
I have a complex sheet along with a Metadata sheet and wanting to add certain results according to the following formula. =IF(UPN@row <> "", (IF(CONTAINS("VFD", [Equipment ID]@row), "1823", (INDEX({Cardinal Metadata - UPN & UPI List 'WBS'}, (MATCH({Cardinal Metadata - UPN & UPI List 'UPN'},@row, 0), 0))), "") No matter where I think the error is its kicking my brain this morning. The desired outcome is either an empty cell 1823 if the id contains VFD or WBS number matching its UPN per the Metadata sheet.
In advance thanks for any help that can move me forward
Best Answer
-
It looks like there are some extra parenthesis throughout, the column to match on wasn't specified, and there are a few syntax issues. Give this a try:
=IF(UPN@row <> "", IF(CONTAINS("VFD", [Equipment ID]@row), "1823", INDEX({Cardinal Metadata - UPN & UPI List 'WBS'}, MATCH(UPN@row, {Cardinal Metadata - UPN & UPI List 'UPN'}, 0))), "")
Answers
-
It looks like there are some extra parenthesis throughout, the column to match on wasn't specified, and there are a few syntax issues. Give this a try:
=IF(UPN@row <> "", IF(CONTAINS("VFD", [Equipment ID]@row), "1823", INDEX({Cardinal Metadata - UPN & UPI List 'WBS'}, MATCH(UPN@row, {Cardinal Metadata - UPN & UPI List 'UPN'}, 0))), "")
-
Thankyou kind sir I appreciate the assistance with this, Chris
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 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
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!