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.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!