Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 71
Default Macro to copy a VLOOKUP formula - Data 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
macro to copy Vlookup formula to some cells with a filter on Maria Excel Discussion (Misc queries) 0 March 22nd 10 04:06 PM
Filter, Cell Reference formula and copy formula on filter data umpire_43 Excel Programming 0 July 9th 09 03:38 PM
macro to find data and filter it and copy to another worksheet kay Excel Programming 1 October 18th 08 09:30 PM
Macro to filter 3 columns and then copy data then do the same again........ Stuart[_3_] Excel Programming 1 March 1st 07 10:31 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 06:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"