Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi All
I would like to implement a value lookup from a range using VBA, not a cell formula. Was toying with something like: for I = 6 to 3000 for J = 6 to 3000 Sheets("MAIN DATA").Range("AG" & i).Value = LOOKUP( 'SUPPORT DATA'!$D$11:$J$1000,'SUPPORT DATA'!$G$11:$G$1000, 'MAIN DATA'.Range("I" & J)) Sheets("MAIN DATA").Range("AH" & i).Value = LOOKUP( 'SUPPORT DATA'!$D$11:$J$1000,'SUPPORT DATA'!$H$11:$H$1000, 'MAIN DATA'.Range("I" & J)) Next I Next J Of course, I am acutely aware the syntax is way wrong, just hoping someone can rearrange it so it can make sense.. Thanks heaps Mick. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
vLookup with multiple lookup value in table array | Excel Worksheet Functions | |||
table, index, array, match, lookup? | Excel Worksheet Functions | |||
Variable Table Array in Lookup Function | Excel Worksheet Functions | |||
How do I delete a lookup table array name? | Excel Worksheet Functions | |||
how to lookup one source with alot of table array? | Excel Programming |