Trying to Thread Multiple IF-AND Formulas together

jprimalion

New Member
Joined
Nov 10, 2014
Messages
3
Hi there, I've already tried researching and experimenting on different ways to fix the problem that I have with my workbook. I am trying to nest together multiple IF AND formulas together.
Scenario:​

ABC
1Team NameDex CodeSense 1
2GreenGreenYesYes
3Green
GreenNoNo
4BlueBlueYesYes
5BlueBlueNoNo
6OrangeOrangeYesYes

<tbody>
</tbody>

So, in this example, let's say:
IF "Team Name"/A2 = "Green" and "Sense 1"/C2 = "Yes", Then "Dex Code" / B2 = "GreenYes", ELSE "Dex Code" / B2 = "GreenNo".
IF "Team Name"/A2 = "Blue" and "Sense 1"/C2 = "Yes", Then "Dex Code" / B2 = "BlueYes", ELSE "Dex Code" / B2 = "BlueNo".
etc.

So basically what I am trying to achieve is to have one formula that the selections will validate all of them in just one cell.

Can anyone help?

Thanks in advance!
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Thanks JoeMo but let's say that everything in Row B will need to go through a validation process.
Like:
IF “Team Name” = “Green”
AND “Sense 1” = “Yes”
THEN “Dex Code” = “GreenYes”
OTHERWISE “Dex Code”=”GreenNo”
BUT IF “Team Name” = “Blue”
AND “Sense 1” = “Yes”
THEN “Dex Code” = “BlueYes”
OTHERWISE “Dex Code”=”BlueNo”
BUT IF “Team Name” = “Orange”
AND “Sense 1” = “Yes”
THEN “Dex Code” = “OrangeYes”
OTHERWISE “Dex Code”=”OrangeNo”

So the thread keeps going on and on until you can get an exact match and I can add up as many conditions if needed.

Did I make any sense on what I'm trying to accomplish????? :biggrin:
 
Upvote 0
Thanks JoeMo but let's say that everything in Row B will need to go through a validation process.
Like:
IF “Team Name” = “Green”
AND “Sense 1” = “Yes”
THEN “Dex Code” = “GreenYes”
OTHERWISE “Dex Code”=”GreenNo”
BUT IF “Team Name” = “Blue”
AND “Sense 1” = “Yes”
THEN “Dex Code” = “BlueYes”
OTHERWISE “Dex Code”=”BlueNo”
BUT IF “Team Name” = “Orange”
AND “Sense 1” = “Yes”
THEN “Dex Code” = “OrangeYes”
OTHERWISE “Dex Code”=”OrangeNo”

So the thread keeps going on and on until you can get an exact match and I can add up as many conditions if needed.

Did I make any sense on what I'm trying to accomplish????? :biggrin:
You can't apply all those mutually exclusive conditions. If Team Name is not Green or Sense 1 is not Yes, your first condition says return GreenNo. So if, for example, Team Name is Blue then your first condition returns GreenNo which is not what you want.
 
Upvote 0
I don't understand how Joe's suggestion would not work for this



Sheet2

*ABC
1Team NameDex CodeSense 1
2GreenGreenYesYes
3GreenGreenNoNo
4BlueBlueYesYes
5BlueBlueNoNo
6OrangeOrangeYesYes

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:83px;"><col style="width:83px;"><col style="width:83px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
B2=A2&C2
B3=A3&C3
B4=A4&C4
B5=A5&C5
B6=A6&C6

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4

One way to find out. Maybe I need to playaround with my worksheet a little more. I thought that there was an easier way to make it more complicated LMAO.thanks for the advise guys.
 
Upvote 0

Forum statistics

Threads
1,214,522
Messages
6,120,025
Members
448,939
Latest member
Leon Leenders

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