Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 71
Default macro to copy Vlookup formula to some cells with a filter on

Hello,

I was wondering if somebody could help me with this macro€¦

I have some data with a filter on, so that only the rows with blank cells
are showing.
I want to enter a VLOOKUP in the cell, and copy it down to all the blank
cells. I tried just recording a macro, but when I run the macro it doesnt
work.

Any ideas of how to do it?

Example:

1)
Before the filter:

Colums A -B - C
A x x - 1st Row
A - 2nd Row
A x x - 3rd Row
A - 4th row
A x x - 5th row

2)
After the filter (filter €“ blanks):

Colums A -B - C
A - 2nd Row
A - 4th row

3)
Enter VLOOKUP in A2,B2 and copy it down to B4 and C4

Hope I made sense...

Thanks!

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
Do I use a formula or a macro to copy cells? ak_edm Excel Discussion (Misc queries) 3 April 7th 09 08:47 PM
How do i copy a vlookup formula into other cells going right km440 Excel Worksheet Functions 1 December 12th 08 10:53 AM
Copy only visible cells after filter is applied/ sum after filter MAM Excel Worksheet Functions 0 April 9th 08 04:09 AM
Macro to copy and paste into a custom filter Jtmturner Excel Discussion (Misc queries) 6 February 1st 07 07:14 PM
A formula to filter data and copy it from one worksheet to another GeneR Excel Worksheet Functions 6 October 25th 06 03:32 AM


All times are GMT +1. The time now is 09:53 AM.

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"