Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi, this is something I will quite often have to do. Where I havea range of data, and want to put, say, a VLOOKUP in column and have the macro automatically copy the VLOOKUP down to ever row that has data - how can I acheive this? my example. I need a macro to insert two columns C and D the data spans from A to AB. once they have been inserted, i need to put the following in C2 an then copy it down. =VLOOKUP(B2,[sheamcat.xls]Sheet1!C1:C4, 3, 0) and a similar thing into D2 =VLOOKUP(B2,[sheamcat.xls]Sheet1!C1:C4, 4, 0) any ideas -- matp ----------------------------------------------------------------------- matpj's Profile: http://www.excelforum.com/member.php...fo&userid=2107 View this thread: http://www.excelforum.com/showthread.php?threadid=48178 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
A single SUMPRODUCT Excel formula cover four worksheets | New Users to Excel | |||
If statement to cover range | Excel Worksheet Functions | |||
?set up a print range to cover multiple pages in excel | Excel Worksheet Functions | |||
HELP! Single cell formula to calculate weeks cover of stock on forward sales. | Excel Worksheet Functions | |||
how to cover the formula | Excel Worksheet Functions |