Using IF, AND, OR functions

swhitby

New Member
Joined
Oct 3, 2017
Messages
5
Hello,

I am trying to create a functions that says:

IF(c2=no) AND(B2= reactive or Ab reactive or unigold) it will return the value of cell a2.

I know how to right if, or, and functions but can you use all 3? Or am I missing another way to do it.

Thanks
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Welcome to the board.

Try =IF(AND(C2="no",OR(B2="reactive",B2="Ab reactive", B2="unigold")),A2,"")
 
Upvote 0
You could omit the AND:
=IF(C2="no",IF(OR(B2="reactive",B2="Ab reactive",B2="unigold"),A2,""),"")
 
Upvote 0
I tried using both formulas but I keep getting an error.

Here is what I'm trying to do: =if(and('Accessioning Worksheet'!E2="no",if(or('Accessioning Worksheet'!D2="reactive",'Accessioning Worksheet'!D2="ab reactive",'Accessioning Worksheet'!D2="unigold +"))),'Accessioning Worksheet'!B2,"")

I keep getting the try not typing a formula error.
 
Upvote 0
Thanks so much I actually figured it out!! But now I need to make a conditional formatting for the same cells. I tried modifying the formula but I can't figure it out
 
Upvote 0
Thanks so much I actually figured it out!! :) But now I need to make a conditional formatting for the same cells. I tried modifying the formula but I can't figure it out
 
Upvote 0

Forum statistics

Threads
1,226,120
Messages
6,189,082
Members
453,524
Latest member
AshJames

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