Book1 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | |||
1 | |||||||||||||
2 | A | C | E | ||||||||||
3 | B | D | F | ||||||||||
4 | |||||||||||||
5 | A | B | C | D | E | 1 | 1 | 0 | |||||
6 | F | G | H | I | J | ||||||||
7 | |||||||||||||
8 | B | C | D | E | F | 0 | 1 | 1 | |||||
9 | G | H | I | J | K | ||||||||
10 | |||||||||||||
11 | C | D | E | F | G | 0 | 1 | 1 | |||||
12 | H | I | J | K | L | ||||||||
13 | |||||||||||||
14 | Z | Y | X | W | V | 0 | 0 | 0 | |||||
15 | U | T | S | R | Q | ||||||||
16 | |||||||||||||
Sheet1 |
I need formulas in the shaded cells.
Cell H2 contains "A" and H3 contains "B". The formula in H5 should look for "A" and "B" both in the range B5:F6. If found, show "1" else show "0".
The same thing should happen with all the shaded cells.
Can this be done?