PC Review


Reply
Thread Tools Rate Thread

Comparing Fields in Different Columns

 
 
Guggenheim
Guest
Posts: n/a
 
      18th Dec 2004
I was wondering if there is a way two compare the fields in 2 different
columns. Then if those fields are identical they would be removed. Is
there a basic function to do this or do I need to write a macro?
Thanks for the help.

 
Reply With Quote
 
 
 
 
CLR
Guest
Posts: n/a
 
      18th Dec 2004
Hi.........

Assuming your columns are A and B, in cell C1 put this formula and copy it
down column C

=IF(A1=B1,1,"")

then sort on column C and delete all the rows that have a 1 in column C

And, if you do this frequently, it could be recorded into a macro........

Vaya con Dios,
Chuck CABGx3


"Guggenheim" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I was wondering if there is a way two compare the fields in 2 different
> columns. Then if those fields are identical they would be removed. Is
> there a basic function to do this or do I need to write a macro?
> Thanks for the help.
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
comparing 2 columns rodchar Microsoft Excel Misc 2 24th Jun 2009 03:47 PM
Comparing columns Dave T Microsoft Excel Worksheet Functions 1 23rd May 2009 11:27 AM
Comparing two Columns dsc55 Microsoft Excel Discussion 1 23rd Nov 2004 10:26 PM
Comparing a day's fields with the previous day's fields Anon Microsoft Access Queries 1 18th Jan 2004 10:09 PM
comparing two columns MurderInk Microsoft Excel Discussion 1 20th Aug 2003 02:34 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:39 AM.