I am trying to write a formula so that if three cells contain specific text, a number one will be put in a certain column.

For example:

Cell A1 contains an A

Cell B1 contains a B

Cell C1 contains a B

What formula would I need so that if this pattern exists a number 1 would appear in cell E1 for example?

Many thanks if you can help!