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
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- 10.7K Get Help
- 63 Global Discussions
- 68 Industry Talk
- 385 Announcements
- 3.5K Ideas & Feature Requests
- 55 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 7.3K Forum Archives
Check out the Formula Handbook template!