Excel 2002: Can I compare 4 cells at one time ?

M

Mr. Low

Dear Sir,

If I want column E to return with "OK" when cells at each row has identical
entry from column A to D, otherwise return with "Error".


A B C D E
1 K21 K21 K21 K21 OK
2 RQ1 RQ1 RX3 RQ1 Error
3 H6U K8Y K8Y H6U Error

What formula must I input at cell E1 and copy down to get the answer?


Thanks

Low
 
F

FSt1

hi
try something like this....
=IF(AND(A1=B1,B1=C1,C1=D1),"OK","Error")

regards
FSt1
 
N

Niek Otten

Hi Low,

=IF(AND(A1=B1,B1=C1,C1=D1),"OK","Error")

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

| Dear Sir,
|
| If I want column E to return with "OK" when cells at each row has identical
| entry from column A to D, otherwise return with "Error".
|
|
| A B C D E
| 1 K21 K21 K21 K21 OK
| 2 RQ1 RQ1 RX3 RQ1 Error
| 3 H6U K8Y K8Y H6U Error
|
| What formula must I input at cell E1 and copy down to get the answer?
|
|
| Thanks
|
| Low
|
| --
| A36B58K641
 

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