Help with iferror
Hi,
I have this formula that i have written. It works fine, but I am getting blank fields, when I was expecting N/A.
The product line row has EBS, JDE, SAP.
The TLR Scope is Financials, HR, Payroll
For EBS I want values returned and N/A for the other product lines.
=IFERROR(IF(AND($[Product Line]@row = "EBS", $[TLR Scope]@row = "Financials"), INDEX({Add-on}, MATCH($Country@row, {Country}, 0))), "N/A")
What am i missing?
Thanks,
Peggy
Comments
-
Hi Peggy,
You have no "Value if False" for your IF statement which then defaults to blank.
So if the Product line isn't EBS or the TLR Scope isn't Financials, then it will return blank... it won't even go on to the INDEX(MATCH formula because it will only do that if the previous criteria are met.
Try adding in N/A as part of the IF statement as well:
=IFERROR(IF(AND($[Product Line]@row = "EBS", $[TLR Scope]@row = "Financials"), INDEX({Add-on}, MATCH($Country@row, {Country}, 0)), "N/A"), "N/A")
Let me know if that makes sense!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.7K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 468 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 64 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!