No it doesn't... there is a flaw in it. It will show a pass if there is the
same number of empty cells as there are characters that are not an R or T.
Rick
"Michelle" wrote in message
...
Works perfectly! Thank you all for your help.
--
Michelle
"Rick Rothstein (MVP - VB)" wrote:
This array-entered** formula appears to work...
=IF(COUNT(--FIND(A1:A10,"RT"))=COUNTA(A1:A10),"Pass","Fail")
** Commit the formula using Ctrl+Shift+Enter, not just Enter by itself
Rick
"Michelle" wrote in message
...
Thank you for your replies, but I obviously didn't make myself clear.
Am
trying to create a formula whe if the range of cells has the letter
"R"
or "T" in the cells, then the result will be "pass", but if any cell is
blank
or has a different letter in it, then the result will be "fail".
Thanks,
--
Michelle
"T. Valko" wrote:
I'm assuming you mean if *any* cell in the range contains a R or T.
Assume the range in question is A1:A10...
=IF(SUM(COUNTIF(A1:A10,{"R","T"})),"Pass","Fail")
If *every* cell in the range is empty the result of the formula will
be
Fail. Don't know if that's what you want.
--
Biff
Microsoft Excel MVP
"Michelle" wrote in message
...
Am trying to create a formula that will tell me: if the range of
cells
has
the single letter "R" or the single letter "T" in the individuals
cells,
it
will return the word "Pass", or otherwise will return the word
"Fail".
Thanks,
--
Michelle