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:​

[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Team Name[/TD]
[TD]Dex Code[/TD]
[TD]Sense 1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Green[/TD]
[TD]GreenYes[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Green
[/TD]
[TD]GreenNo[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Blue[/TD]
[TD]BlueYes[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Blue[/TD]
[TD]BlueNo[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Orange[/TD]
[TD]OrangeYes[/TD]
[TD]Yes[/TD]
[/TR]
</tbody>[/TABLE]

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

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
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
Team NameDex CodeSense 1
GreenGreenYesYes
GreenGreenNoNo
BlueBlueYesYes
BlueBlueNoNo
OrangeOrangeYesYes

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:83px;"><col style="width:83px;"><col style="width:83px;"></colgroup><tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]

[TD="bgcolor: #cacaca, align: center"]2[/TD]

[TD="bgcolor: #cacaca, align: center"]3[/TD]

[TD="bgcolor: #cacaca, align: center"]4[/TD]

[TD="bgcolor: #cacaca, align: center"]5[/TD]

[TD="bgcolor: #cacaca, align: center"]6[/TD]

</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,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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