Do All Cells in a Row Match?

R

RayportingMonkey

I'm a little stumped on this one...

I need to know if all the cells in a row match the value in the first cell.

I tried match, index and killed nested ifs as the cols are A:EB

For example, Cell A1 is XXY1 and A2 is also XXY1, but A3 is ZZZ3. I need to
know that there is a cell that doesn't match A1. A simple "TRUE / FALSE" is
fine.

These are alpha-numeric strings.

My guess is this is an array formula of sorts, but I had trouble figuring it
out!

Any help is appreciated!
 
T

T. Valko

Something like this should work:

=COUNTIF(A1:A10,A1)=10

Assuming that *every* cell in the range must contain an entry (even though
they may not all match).
 
T

Tom Hutchins

No array formula needed. Try

=(COUNTIF(A1:EB1,A1)=COLUMN(EB1))

Hope this helps,

Hutch
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top