Need help with IFS function for a field that is NOT BLANK

lemery

New Member
Joined
Jul 31, 2014
Messages
36
Here is the formula I'm using: =IFS((A2="cleanse"),"Contact Append",(A2="enrich"),"Contact Append",(AND(A2="*",OR(AM2="highrisk",G2="mediumrisk"))),"Company Append",(AND(AM2="",OR(A2="highrisk",G2="mediumrisk"))),"Unknown")

The section I'm having trouble with is: (AND(A2="*",OR(AM2="highrisk",G2="mediumrisk"))),"Company Append"
When I have a scenario fitting the situation, the Answer comes back as N/A rather than Company Append.

I know A2="*" is the way to say 'if A2 is not blank'. From my research it looks like you can't do NOT BLANK for IFS statements. I saw: (AND(A2<>="*",OR(AM2="highrisk",G2="mediumrisk"))),"Company Append"
as an option, but I tried it and it came back with an error correcting it to (AND(A2<="*",OR(AM2="highrisk",G2="mediumrisk"))),"Company Append"
which didn't work.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,216,227
Messages
6,129,609
Members
449,520
Latest member
TBFrieds

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