Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default comparing 3 columns

How do I compare 3 columns? Need to know the data in all 3 columns are the
same.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default comparing 3 columns

Hi,

Let's say that your data is set up like this in range A1:C4.

1 4 6
2 5 1
3 6 7
4 1 8

Now while in cell A1, go to Format Conditional formatting type the foll.
formula in "Formula is" =COUNTIF($B$1:$C$4,$A1)=1. Select the font color
desired.


--
Regards,

Ashsih Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Ukiuki" wrote in message
...
How do I compare 3 columns? Need to know the data in all 3 columns are
the
same.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default comparing 3 columns

=AND(A2=B2,B2=C2)
returns True if A2=B2=C2
Fill it down as necessary!

Regards,
Stefi

€˛Ukiuki€¯ ezt Ć*rta:

How do I compare 3 columns? Need to know the data in all 3 columns are the
same.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default comparing 3 columns

=AND(A2:A9=B2:B9,B2:B9=C2:C9)
as an array formula (confirmed with Ctrl+Shift+Enter) gives true if all
cells in the three columns are equal.
Stefi


€˛Stefi€¯ ezt Ć*rta:

=AND(A2=B2,B2=C2)
returns True if A2=B2=C2
Fill it down as necessary!

Regards,
Stefi

€˛Ukiuki€¯ ezt Ć*rta:

How do I compare 3 columns? Need to know the data in all 3 columns are the
same.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default comparing 3 columns

I forgot to mention to adjust ranges!
Stefi


€˛Stefi€¯ ezt Ć*rta:

=AND(A2:A9=B2:B9,B2:B9=C2:C9)
as an array formula (confirmed with Ctrl+Shift+Enter) gives true if all
cells in the three columns are equal.
Stefi


€˛Stefi€¯ ezt Ć*rta:

=AND(A2=B2,B2=C2)
returns True if A2=B2=C2
Fill it down as necessary!

Regards,
Stefi

€˛Ukiuki€¯ ezt Ć*rta:

How do I compare 3 columns? Need to know the data in all 3 columns are the
same.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default comparing 3 columns

Thanks! :)

"Stefi" wrote:

=AND(A2=B2,B2=C2)
returns True if A2=B2=C2
Fill it down as necessary!

Regards,
Stefi

€˛Ukiuki€¯ ezt Ć*rta:

How do I compare 3 columns? Need to know the data in all 3 columns are the
same.

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default comparing 3 columns

You are welcome! Thanks for the feedback!
Stefi

€˛Ukiuki€¯ ezt Ć*rta:

Thanks! :)

"Stefi" wrote:

=AND(A2=B2,B2=C2)
returns True if A2=B2=C2
Fill it down as necessary!

Regards,
Stefi

€˛Ukiuki€¯ ezt Ć*rta:

How do I compare 3 columns? Need to know the data in all 3 columns are the
same.

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
comparing columns mel New Users to Excel 2 November 20th 07 02:44 PM
Comparing Two Columns Candy Excel Discussion (Misc queries) 3 November 9th 07 04:03 PM
Comparing two columns Sharon Excel Worksheet Functions 13 August 13th 07 06:24 PM
Comparing two columns of information with 2 new columns of informa cbuck Excel Discussion (Misc queries) 1 January 16th 07 09:49 PM
comparing columns dfeld71 Excel Discussion (Misc queries) 2 July 14th 05 11:00 AM


All times are GMT +1. The time now is 11:41 PM.

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

About Us

"It's about Microsoft Excel"