Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VLOOKUP hang-time...

I seem to be having an issue with VLOOKUP and mucho data.

My Excel spreadsheet opens and asks for user input as to the location
of a .CSV file that is in the vacinity of 6500+ records. It adds this
as a new sheet and uses the VLOOKUP function to process the records
into human readable form: (From the macro that copies the formula down
the column)

ActiveCell.FormulaR1C1 =
"=IF(ISNA(VLOOKUP(RC[-1],ZipCodes!R2C2:R33108C3,2,FALSE))," & """NOT
FOUND""" & ",VLOOKUP(RC[-1],ZipCodes!R2C2:R33108C3,2,FALSE))"

The VLOOKUP has to reference a zipcode sheet that contains
approximately 32,000 zipcodes/state references.

CPU usage pegs out at 100% and Excel freezes. Am I asking too much
from it? Should I move to Access?

Thanks for any pointers...

JC
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default VLOOKUP hang-time...

Hi
so you have 6500 VLOOKUP formulas. If yes this could probably be a
little bit too much.
Try first: Disable automatic calculation and only manually
re-calculate.
Also paste the results afterwards with 'Edit - Paste Special - Values'
as values to remove the formulas

--
Regards
Frank Kabel
Frankfurt, Germany

"John Croson" schrieb im Newsbeitrag
om...
I seem to be having an issue with VLOOKUP and mucho data.

My Excel spreadsheet opens and asks for user input as to the location
of a .CSV file that is in the vacinity of 6500+ records. It adds this
as a new sheet and uses the VLOOKUP function to process the records
into human readable form: (From the macro that copies the formula

down
the column)

ActiveCell.FormulaR1C1 =
"=IF(ISNA(VLOOKUP(RC[-1],ZipCodes!R2C2:R33108C3,2,FALSE))," & """NOT
FOUND""" & ",VLOOKUP(RC[-1],ZipCodes!R2C2:R33108C3,2,FALSE))"

The VLOOKUP has to reference a zipcode sheet that contains
approximately 32,000 zipcodes/state references.

CPU usage pegs out at 100% and Excel freezes. Am I asking too much
from it? Should I move to Access?

Thanks for any pointers...

JC


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
Excel Application hang Ray Excel Discussion (Misc queries) 1 September 18th 09 12:53 AM
Spreadsheets hang! winniegirl29 Excel Discussion (Misc queries) 0 April 12th 09 08:54 AM
Excel Attachments Hang teenzbutler Excel Discussion (Misc queries) 1 March 30th 07 01:54 AM
Long time to launch/open/hang Excel 2003 Looking for help in NJ Excel Discussion (Misc queries) 0 January 13th 07 02:43 PM
excel hang inenewbl Excel Discussion (Misc queries) 1 July 13th 06 12:37 PM


All times are GMT +1. The time now is 03:50 AM.

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"