Combining formulas for multiple countries eg =IF(AND(Country="USA",(TaxID<>"")),"Registered","Not Registered")

rando123

New Member
Joined
Feb 9, 2016
Messages
9
Hi All

My company has an extremely convoluted tax ID process and I've demonstrated in table below what the report looks like. I can't change any of the columns but trying to create a desired column G if possible, which is based off the information in the other columns.

Basically I'm having issues combining formulas. I can think of the formula for each situation but just not sure how to nest/combine them together or if that is possible. Anyone know the structure or could help ?

1st situation: There are some countries, like UNITED STATES, COLOMBIA, RUSSIAN FEDERATION, where IF tax ID is NOT blank, Final Registration Status = Registered.

=IF(AND($B2="UNITED STATES",($C2<>"")),"Registered","Not Registered")

2nd situation: Special Country like Australia, Column E = YES, if YES Final Registration Status = Registered. If Verified this means that country is registered regardless of other columns.

=IF(AND($B2="AUSTRALIA",($E2="YES")),"Registered","")

3rd situation: Special Country like Canada, Verified Column E = YES, if Column D = NO, then Not Registered. If Column D = YES, then Registered.

=IF(AND($B2="CANADA",($D2="YES")),"Registered","Not Registered")

ABCDEFG
1CompanyCountry NameTax ID (Optional)Registered (Australia and Canada Only)Verified (Australia and Canada Only)?Other Countries RegisteredDesired Column "Final Registration Status"
2Company AUNITED STATES123123123RegisteredRegistered
3Company BCOLOMBIA09992222222RegisteredRegistered
4Company CAUSTRALIA12312312322YESYESRegistered
5Company DCANADANOYESNot Registered
6Company ERUSSIAN FEDERATION51984988489RegisteredRegistered
7Company FCANADA99999999999eYESYESRegistered
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
so for the country Australia & Canada , to show registered isn't it JUST column D = YES that's the decision, or does both D & E have to be YES
FOR ALL OTHER COUNTRIES, just need an ID column C to be NON blank

=IF ( AND ( OR( B2 <> "AUSTRALIA" , B2 <> "CANADA") , C2 ="" ) , "NOT REGISTERED" , IF ( AND ( OR( B2 <> "AUSTRALIA" , B2 <> "CANADA") , C2 <>"" ) , "REGISTERED" , IF ( AND ( D2 = "YES", E2 = "YES" ) , "REGISTERED", "NOT REGISTERED" )))
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,561
Members
449,089
Latest member
Motoracer88

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