If and Index Match
Hi, I'm trying to use an If statement in my index match formula to skip rows that are pulling from a blank to not overwrite them. I want to skip over pulling from the blank demand ID rows and not overwrite the SubTower row. The below formula doesn't work, should I be using IFERROR function?
=IF(ISBLANK([Demand ID]@row, " ",INDEX({SubTower}, MATCH([Demand ID]@row, {Demand Sort}, 0)), "")))
Answers
-
It looks like your parenthesis are off.
=IF(ISBLANK([Demand ID]@row), " ",INDEX({SubTower}, MATCH([Demand ID]@row, {Demand Sort}, 0)))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Hi thanks for the help Paul. This formula worked but it still made the subtower column input blank. I want to keep what is already in the subtower column if Demand ID is blank. Only use index match if demand ID has criteria. should I be using IFERROR or no ISBLANK?
-
@Paul Newcome This formula worked but it still made the subtower column input blank. I want to keep what is already in the subtower column if Demand ID is blank. Only use index match if demand ID has criteria. should I be using IFERROR or no ISBLANK?
-
You cannot have manual entry and a formula in the same cell. You will need to put the formula in a different column to maintain manual entry in the Subtower column.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!