Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002: Can I compare 4 cells at one time ?

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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Excel 2002: Can I compare 4 cells at one time ?

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

regards
FSt1

"Mr. Low" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Excel 2002: Can I compare 4 cells at one time ?

Hi Low,

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

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Mr. Low" wrote in message ...
| 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


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Excel 2002: Can I compare 4 cells at one time ?

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

"Mr. Low" wrote in message
...
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



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 81
Default Excel 2002: Can I compare 4 cells at one time ?

=if(and(a1=b1, a1=c1, a1=d1, a1=d1),"ok","error")

Bob Flanagan
Macro Systems
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

"Mr. Low" wrote in message
...
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





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002: Can I compare 4 cells at one time ?

Dear Sir,

Thanks for the formula.

Low

--
A36B58K641


"Mr. Low" wrote:

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

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002: Can I compare 4 cells at one time ?

Hello Neik,

Thanks for the formula.

Low


--
A36B58K641


"Niek Otten" wrote:

Hi Low,

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

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Mr. Low" wrote in message ...
| 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



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002: Can I compare 4 cells at one time ?

Hello Bob,

Thanks for the formula.

Low


--
A36B58K641


"Bob Flanagan" wrote:

=if(and(a1=b1, a1=c1, a1=d1, a1=d1),"ok","error")

Bob Flanagan
Macro Systems
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

"Mr. Low" wrote in message
...
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




  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002: Can I compare 4 cells at one time ?

Hello David,

Thanks for the formula.

Low


--
A36B58K641


"David Biddulph" wrote:

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

"Mr. Low" wrote in message
...
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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2002 : How to eliminate the time value after the date ? Mr. Low Excel Discussion (Misc queries) 8 May 3rd 07 05:53 PM
Is arithmetic on time data possible in Excel 2002? sleeplessinnewjersey Excel Discussion (Misc queries) 1 April 26th 07 06:12 PM
time v cost calculation in Excel 2002 (XP) matelodave Excel Discussion (Misc queries) 4 December 10th 06 12:19 PM
How do I compare cells and if FALSE compare to next cell in EXCEL Cindie Excel Worksheet Functions 0 March 24th 06 05:29 PM
How can I add up time, say 18:00 + 18:00 hrs in excel 2002 Malcolm Judge Excel Discussion (Misc queries) 1 January 31st 05 10:11 AM


All times are GMT +1. The time now is 04:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"