I have a macro for comparing two columns using MATCH, IF,ISNA - TopicsExpress



          

I have a macro for comparing two columns using MATCH, IF,ISNA functions .I have to run this macro for many workbooks of which no.of entries in columns may vary from files to files. So I put common range from 2 to 20000. Can I set a range from 2 to the last data cell of each columns? Range(Q2).Select ActiveCell.FormulaR1C1 = =MATCH(RC[-16],C[-9],0) Range(Q2).Select Selection.AutoFill Destination:=Range(Q2:Q20000), Type:=xlFillDefault Range(Q2:Q20000).Select Range(D2).Select ActiveCell.FormulaR1C1 = =IF(ISNA(RC[13]),MISSING,MATCHED) Range(D2).Select Selection.AutoFill Destination:=Range(D2:D20000), Type:=xlFillDefault Range(D2:D20000).Select
Posted on: Wed, 01 Oct 2014 19:07:49 +0000

Trending Topics



ody" style="min-height:30px;">
Am at it again, it is a must read. If you are a Nigerian youth and
Welp!!! UAPB HC2k14 is officially in the books. It was great
Queridos compañeros de sector ....... tomad aire que voy ...
TIP #2 I found an all natural facial scrub that cost pennies on
Ditadura... como tenho lido no facebook essa palavra nos últimos
I never knew until this moment why I loved my city..... IT DONT
Just watched an extraordinary film on Netflix that I recommend to
ภารกิจคืนนี้ ปั่นงาน /
WOW! 5 YEARS IN ON LINE BUSINESS AND I FINALLY MADE IT! ONLY IN
Paladin Commercial Group: THIEVES דָּן יָדִין (via

Recently Viewed Topics




© 2015