lots of arguments?

bpflyr

Board Regular
Joined
Nov 7, 2005
Messages
116
I am trying to get Excel to do this:

If B3="one", then C3="good"
If B3="two", then C3="good"
If B3="three", then C3="bad"
If B3="four", then C3="bad"

I am new to Excel and just can't seem to get it to do this. Can anyone help?

Thank you.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Here's one way:

=IF(B3="one","Good",IF(B3="two","Good",IF(B3="three","Bad",IF(B3="four","Bad",""))))

Although if you're going to add more options, VLOOKUP would start looking pretty good and be more efficient.

Hope that helps,

Smitty
 
Upvote 0
bpflyr said:
I am trying to get Excel to do this:

If B3="one", then C3="good"
If B3="two", then C3="good"
If B3="three", then C3="bad"
If B3="four", then C3="bad"

I am new to Excel and just can't seem to get it to do this. Can anyone help?

Thank you.

=IF(OR(B3={"one","two"}),"good",IF(OR(B3={"three","four"}),"bad","No Idea"))
 
Upvote 0

Forum statistics

Threads
1,214,784
Messages
6,121,538
Members
449,038
Latest member
Guest1337

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