ISBLANK and INDEX MATCH
HI
Having an issue with this function. Im trying to return a certain accounting code of which the index is going to look up. but it only needs to run if the Shopify ID is blank.
IF shopify id is blank perform index match function, if not blank return a value
I keep getting unparseable errors
=IF(ISBLANK([Shopify ID]@row), (INDEX({Client Delivery Database v2 Range 1}), MATCH([Customer Input]@row, {Client Delivery Database v2 Range 2}, 0), "207")
What am I doing wrong
Cheers
Chris
Best Answer
-
Hey Chris
As a small tweak to Ayelet's suggestion above, if that suggestion doesn't work, try
=IF(ISBLANK([Shopify ID]@row), INDEX({Client Delivery Database v2 Range 1}, MATCH([Customer Input]@row, {Client Delivery Database v2 Range 2}, 0)), 207)
This removes the inadvertent leading parenthesis in front of Index and also removes the quotes around a number. Numbers shouldn't have quotes around them, otherwise smartsheet will treat them as text.
Kelly
Answers
-
=IF(ISBLANK([Shopify ID]@row), (INDEX({Client Delivery Database v2 Range 1}), MATCH([Customer Input]@row, {Client Delivery Database v2 Range 2}, 0), "207")
Try removing the ) after the first range within your INDEX and add a ) after the search type in your MATCH portion. See if that works.
=IF(ISBLANK([Shopify ID]@row), (INDEX({Client Delivery Database v2 Range 1}, MATCH([Customer Input]@row, {Client Delivery Database v2 Range 2}, 0)), "207")
-
Hey Chris
As a small tweak to Ayelet's suggestion above, if that suggestion doesn't work, try
=IF(ISBLANK([Shopify ID]@row), INDEX({Client Delivery Database v2 Range 1}, MATCH([Customer Input]@row, {Client Delivery Database v2 Range 2}, 0)), 207)
This removes the inadvertent leading parenthesis in front of Index and also removes the quotes around a number. Numbers shouldn't have quotes around them, otherwise smartsheet will treat them as text.
Kelly
-
thanks team, looks like some pretty amateur mistakes. Thanks for your help
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!