not sure which formula to use for this ...

twiley23

New Member
Joined
Oct 15, 2007
Messages
40
Hello all, I'm stuck trying to figure out if this is even possible in excel. Basically what im trying to set up is a chart that will give me a yes or no answer. sounds simple enough but where i'm struggling is this. in cell A1 there will be a drop down list of all 50 states. same goes in cell B1. What i would like to do is show some states will show a yes or no for different state combinations, for example , California and Arizona would get a "yes", where as California and New York would get a "No" any ideas ?? Thanks
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
So you would have 2,450 possible outcomes in those 2 cells (or 2,500 if the same state can be selected in both cells).
Do you have a list of all those outcomes and what the expected result for each is somewhere in your workbook?

Also, does CA & AZ always get the same result as AZ & CA?
 
Upvote 0
yes, CA and AZ would get the same result as AZ and CA, I'm working on a list of which states will work with each other , and which states wont work together, i haven't quite put all the info together yet, but i have some of it
 
Upvote 0
Then you could set up something like this.
- Lookup table in columns E:F. If you have Ohio|Utah, there is no need to also have Utah|Ohio as the C2 formula checks both. If you want, this table could go on another sheet or be hidden on this sheet.
- Drop-down choices in A1 and B1 as you described.

Excel Workbook
ABCDEF
1CaliforniaArizonaYesAlaska|CaliforniaNo
2Ohio|UtahYes
3Arizona|CaliforniaYes
4Ohio|New YorkNo
5
Yes No
 
Upvote 0
Thank you so much for your help , i was also wondering what if some didnt match , example az to ca is fine but ca to az is no good
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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