#N/A Return in nested IFS formula

mcgonma

Board Regular
Joined
Nov 2, 2011
Messages
156
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

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,213,536
Messages
6,114,208
Members
448,554
Latest member
Gleisner2

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