Confused

twiley23

New Member
Joined
Oct 15, 2007
Messages
40
How can i write out a formula to show: bacon and eggs is yea , but eggs and bacon is no ? Bacon is listed in A1 and.eggs in B1 then eggs is listed in A2 and bacon is listed in B2
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Put this isn C1, Or the first cell of the column you want it to ruturn the value in, and drag down as far as needed.
Code:
=IF(AND(A1="Bacon",B1="Eggs"),"Yea","No")
 
Upvote 0
Perfect what if i threw in a 3rd option like pancakes so pankaces can work with bacon , but not eggs ? The keep adding and so forth
 
Upvote 0
Perfect what if i threw in a 3rd option like pancakes so pankaces can work with bacon , but not eggs ? The keep adding and so forth
then somebody else will need to jump in on this thread to help you because my expertise with formulas is very basic and very limited. But there are plenty of people who monitor the forum who can do wonders with formulas, if you can clearly state what you need.
 
Upvote 0
This statement concerns me

Then keep adding and so forth
I can imagine each time we come up with a solution, you will add a new criteria...."and so forth"

I'd suggest giving us a real time example of what you will need with ALL criteria included.

If the list of criteria is substantial, a lookup list or adjacent table may be a better option.....even a VBA solution maybe.
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,195
Members
453,021
Latest member
pingpong7117

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