How do I make a cell contain a particular word, when two separate cells contain two separate words?

eleanorhayes86

New Member
Joined
Sep 3, 2013
Messages
2
I am creating a database in Excel 2010, where we have many job positions that need to be filled.

I would like to have a column that lists the positions that are required and a column beside it that will have a formula, which will say the word "Filled" in it if one cell contains the word "PM" as well as another cell having the word " Yes".

The A column has the list of Positions including PM, and B column has whether we the candidate is employed, Yes or No.

I think that the formula should look as written below, but it does not work. Is there any way of doing this?:confused:

=IF(AND(A1="PM")*(B1="Yes"),"Filled","")

Thanks :)
 
Hi DeusXv,

Not sure why you flipped the "PM" and "Yes" on the OP? :)

I had the reply button clicked while I was messing around with it so I couldn't see other posts and I ended mine with NA() cos that's the only way I know how did know you could use "" to end an if.

But to avoid any hassle I will report mine and get it removed, I should just refresh next time before I post.
 
Upvote 0

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