Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Comparing values in two columns
Hi Is there a simple way to do the following with a macro? I have two columns of data, for each value in column A I want to find out if the corresponding entry in column B is always the same. E.g. Column A Column B Ann 2 Ann 2 Ann 2 Ann 2 Bill 5 Bill 5 Bill 6 **** Bill 5 Bill 5 David 1 David 1 Catherine 3 Catherine 3 Catherine 3 Catherine 3 David 3 **** Emily 4 Emily 4 Emily 4 Emily 4 Emily 4 I want to find the entries in column B where I've added an ***. Thanks. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Comparing values in two columns
Hi
I'm not sure about your example as for me column B seems to be empty?. _But you may take a look at http://www.cpearson.com/excel/duplic...tractingCommon for a non-macro solution -- Regards Frank Kabel Frankfurt, Germany nicoll wrote: Hi Is there a simple way to do the following with a macro? I have two columns of data, for each value in column A I want to find out if the corresponding entry in column B is always the same. E.g. Column A Column B Ann 2 Ann 2 Ann 2 Ann 2 Bill 5 Bill 5 Bill 6 **** Bill 5 Bill 5 David 1 David 1 Catherine 3 Catherine 3 Catherine 3 Catherine 3 David 3 **** Emily 4 Emily 4 Emily 4 Emily 4 Emily 4 I want to find the entries in column B where I've added an ***. Thanks. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Comparing values in two columns
My post didn't format the same as it appeared on my screen.
Column A contains the names, column B contains the numbers. Thanks for your help. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Comparing values in two columns
In column C (New helper Column) enter =a1&b1 and Copy Down.
In Column D enter =IF(SUM(1/COUNTIF($C$1:$C$23,$C$1:$C1))=1,"***","") and Copy Down. HTH "nicoll" wrote in message ... My post didn't format the same as it appeared on my screen. Column A contains the names, column B contains the numbers. Thanks for your help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
comparing two columns for partial values | Excel Worksheet Functions | |||
Comparing two columns of text values | Excel Discussion (Misc queries) | |||
comparing text values in two columns | Excel Discussion (Misc queries) | |||
Comparing values in two columns | Excel Discussion (Misc queries) | |||
Comparing values in columns | Excel Worksheet Functions |