LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Converting two column compare macro to vba in Excel

I have the below macro that in essence, without physically doing so,
joins together together and compares if there are duplicate versions
of each combination and flags them all as duplicate. Can someone help
me create a VBA version of this so I can run it on the fly instead of
having to paste it down a column to run? By the way, object_name and
object_type are column headers for A and B and since this is a macro
A1 and B1 keep incrementing right now as they go down the rows.
Thanks.

=IF(AND(COUNTIF(object_name,A1)1,COUNTIF(object_t ype,B1)1),"<<Duplicated
Value","")

JR
 
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
macro for converting excel to adobe pdf matt Excel Discussion (Misc queries) 1 February 22nd 07 06:53 PM
HOW TO COMPARE COLUMN VALUES IN EXCEL? New2Excel Excel Worksheet Functions 0 September 28th 06 07:39 PM
Converting a row or column in excel to a Javascript array ncikusa Excel Discussion (Misc queries) 0 April 4th 06 10:04 PM
compare data from one column with another and compare result to yet another Matt Williamson[_3_] Excel Programming 1 September 25th 03 08:54 PM
macro for converting text file to excel tomhaddock[_3_] Excel Programming 0 September 5th 03 11:40 AM


All times are GMT +1. The time now is 08:53 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"