#N/A Return in nested IFS formula

mcgonma

Board Regular
Joined
Nov 2, 2011
Messages
158
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
Column G has Country codes in it (US,CA,LU,BE,NL,IT,ES,GB,DE,CZ,SK,FR,IE,AU,NZ,JP,CN,SG,KR).

In column AT I have an IFS formula to tell me if Column G has any of the country initials for the EMEA region (LU,BE,NL,IT,ES,GB,DE,CZ,SK,FR,IE) so I can identify if a person is part of any of those countries.

=IFS(G20785="lu","YES",G20785="be","YES",G20785="nl","YES",G20785="it","YES",G20785="es","YES",G20785="gb","YES",G20785="de","YES",G20785="CZ","YES",G20785="sk","YES",G20785="fr","YES",G20785="ie","YES")


Two questions:
1) I am getting a #N/A if the cell in G does not meet the condition, how do I modify this so that it returns something else like a blank or "-"?
2) Is there a better formula to accomplish this instead of the IFS?
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,215,103
Messages
6,123,103
Members
449,096
Latest member
provoking

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top