G
Gary Thomson
This is the third time I have asked this question, please
help!!!
I have the following range in Sheet1:
A B C D E ....
1 Unit 1-Feb 2-Feb 3-Feb 4-Feb ....
2 Maths b fgh
3 English e d m
4 Music x qaz j
5 P.E.
6 Geography
7 History
8 Drama
9 Science p
.. .
.. .
(Note: Any letter can appear in a cell EXCEPT "y", and
for the moment consider that each letter can only appear
once - i.e. there cannot be two cells that contain an "a")
And I also have the following range in sheet 2:
A B C D E ....
1 Unit 1-Feb 2-Feb 3-Feb 4-Feb ....
2 Maths y
3 English y y
4 Music y y
5 P.E. y
6 Geography
7 History
8 Drama
9 Science y
.. .
.. .
.. .
I want to do the following test:
Find the cell reference in Sheet1 that contains an "a" in
it, then look in the corresponding cell in Sheet2 to see
if it contains a "y".
i.e. for the above example, "a" is found in cell C4 in
Sheet1, and there IS a "y" in cell C4 of Sheet2, so the
answer would be TRUE.
Also in the above example, "b" is found in cell B2 in
Sheet1, and there is NO "y" in cell B2 of Sheet2, so the
answer would be FALSE.
Also in the above example, "c" is not found in Sheet1, so
I want the answer returned to be FALSE (not #VALUE! or
anything).
If this can be done, how can I change the formula so that
if there are 2 cells that contain an "a", I can locate the
cell references of BOTH these cells, and check if their
corresponding cells in Sheet2 contain a "y"? (note that
in this case, I also have a "Number of Occurences" Column
which tells me how many times each letter appears in the
range).
Many Thanks
help!!!
I have the following range in Sheet1:
A B C D E ....
1 Unit 1-Feb 2-Feb 3-Feb 4-Feb ....
2 Maths b fgh
3 English e d m
4 Music x qaz j
5 P.E.
6 Geography
7 History
8 Drama
9 Science p
.. .
.. .
(Note: Any letter can appear in a cell EXCEPT "y", and
for the moment consider that each letter can only appear
once - i.e. there cannot be two cells that contain an "a")
And I also have the following range in sheet 2:
A B C D E ....
1 Unit 1-Feb 2-Feb 3-Feb 4-Feb ....
2 Maths y
3 English y y
4 Music y y
5 P.E. y
6 Geography
7 History
8 Drama
9 Science y
.. .
.. .
.. .
I want to do the following test:
Find the cell reference in Sheet1 that contains an "a" in
it, then look in the corresponding cell in Sheet2 to see
if it contains a "y".
i.e. for the above example, "a" is found in cell C4 in
Sheet1, and there IS a "y" in cell C4 of Sheet2, so the
answer would be TRUE.
Also in the above example, "b" is found in cell B2 in
Sheet1, and there is NO "y" in cell B2 of Sheet2, so the
answer would be FALSE.
Also in the above example, "c" is not found in Sheet1, so
I want the answer returned to be FALSE (not #VALUE! or
anything).
If this can be done, how can I change the formula so that
if there are 2 cells that contain an "a", I can locate the
cell references of BOTH these cells, and check if their
corresponding cells in Sheet2 contain a "y"? (note that
in this case, I also have a "Number of Occurences" Column
which tells me how many times each letter appears in the
range).
Many Thanks