Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a worksheet with over 30K records.
I am using a Vlookup in Sheet A , for 4 columns and then dragging it down. (totallly 120K apprx) It looks something like this in the Macro : "=VLOOKUP(C[-2],acc!C[-5]:C[7],3,FALSE)" however, It slows the application a lot. Is there an alternative? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You may find it easier to add a column to be used for the index into that
column. For instance (your ranges will vary): =match(a2,acc!a:e,0) (say in C2) This will return the matching row. Then use that in the next 4 columns: In D2: =index(acc!b:b,c2) In E2: =index(acc!c:c,c2) in F2: =index(acc!d:d,c2) in g2: =index(acc!e:e,c2) Since you're only doing the matching once, you'll find that it's a little quicker. Maybe even acceptable??? I used A1 reference style--you'll have to modify those formulas if you're using R1C1 reference style. flow23 wrote: I have a worksheet with over 30K records. I am using a Vlookup in Sheet A , for 4 columns and then dragging it down. (totallly 120K apprx) It looks something like this in the Macro : "=VLOOKUP(C[-2],acc!C[-5]:C[7],3,FALSE)" however, It slows the application a lot. Is there an alternative? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using single cell reference as table array argument in Vlookup | Excel Worksheet Functions | |||
VLOOKUP Limitations | Excel Worksheet Functions | |||
Have Vlookup return a Value of 0 instead of #N/A | Excel Worksheet Functions | |||
vlookup data hidden within worksheet | Excel Worksheet Functions | |||
Vlookup info being used without vlookup table attached? | Excel Worksheet Functions |