If function with And as well.

wallyxl

Board Regular
Joined
Apr 24, 2011
Messages
100
Hi everyone,
I don't think this is a hard question, I just can't seem to find it on the net.

I want to do a basic if function which incorporates AND.

Cell A1 value equals x
Cell A2 value equals x

Formula for A3 to read, if A1 is x and A2 is x then return "MATCH",""

I'll kick myself when I see it, any help will be great.

Thanks.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Code:
=IF(AND(A1="x",A2="x"),"MATCH","NO MATCH")
 
Upvote 0
Sektor,
THANK YOU.

I was trying to put the AND between A1 and A2, I knew I would kick myself.

Have a good day buddy.
 
Upvote 0

Forum statistics

Threads
1,224,551
Messages
6,179,476
Members
452,915
Latest member
hannnahheileen

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