Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jan Jan is offline
external usenet poster
 
Posts: 159
Default VSB more efficient then standard functions?

hi,

i have linked 1 worksheet to 2 other worksheets (all 3 in the same file)
using VLOOKUP

this in total pulls over 3 different cells into 3 different columns for all
65536 rows.
a update will take 30 minutes. i assume thsi could be more efficient,
however i don't know how to do that. any suggestions?

thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default VSB more efficient then standard functions?

65536 seems a little excessive. Can you limit the tables to less than this
value??
--
Gary''s Student - gsnu200805


"jan" wrote:

hi,

i have linked 1 worksheet to 2 other worksheets (all 3 in the same file)
using VLOOKUP

this in total pulls over 3 different cells into 3 different columns for all
65536 rows.
a update will take 30 minutes. i assume thsi could be more efficient,
however i don't know how to do that. any suggestions?

thanks.

  #3   Report Post  
Posted to microsoft.public.excel.programming
Jan Jan is offline
external usenet poster
 
Posts: 159
Default VSB more efficient then standard functions?

i might but still require a large number of rows. i use this to track/report
time entries from a large group of people over time.




"Gary''s Student" wrote:

65536 seems a little excessive. Can you limit the tables to less than this
value??
--
Gary''s Student - gsnu200805


"jan" wrote:

hi,

i have linked 1 worksheet to 2 other worksheets (all 3 in the same file)
using VLOOKUP

this in total pulls over 3 different cells into 3 different columns for all
65536 rows.
a update will take 30 minutes. i assume thsi could be more efficient,
however i don't know how to do that. any suggestions?

thanks.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default VSB more efficient then standard functions?

Trying to relate that that many cells is a problem for XL. One problem is you
blow through the 65,536 dependancy tree limit making all formulas act
volatile. The other is just the sheer number of calculations is overwhelming.
VBA or VBS is not going to help you in this case as they will operate slower
than vlookup. Your best option would probably be to use a relational database
which is designed for exactly this purpose.

Here is a link to calculation and general speed and memory performance...
http://www.decisionmodels.com/index.htm
--
HTH...

Jim Thomlinson


"jan" wrote:

hi,

i have linked 1 worksheet to 2 other worksheets (all 3 in the same file)
using VLOOKUP

this in total pulls over 3 different cells into 3 different columns for all
65536 rows.
a update will take 30 minutes. i assume thsi could be more efficient,
however i don't know how to do that. any suggestions?

thanks.

  #5   Report Post  
Posted to microsoft.public.excel.programming
Jan Jan is offline
external usenet poster
 
Posts: 159
Default VSB more efficient then standard functions?

Jim,

is there a way to identify the last record in a worksheet, in that case i
see possibilities to limit it to those.

"Jim Thomlinson" wrote:

Trying to relate that that many cells is a problem for XL. One problem is you
blow through the 65,536 dependancy tree limit making all formulas act
volatile. The other is just the sheer number of calculations is overwhelming.
VBA or VBS is not going to help you in this case as they will operate slower
than vlookup. Your best option would probably be to use a relational database
which is designed for exactly this purpose.

Here is a link to calculation and general speed and memory performance...
http://www.decisionmodels.com/index.htm
--
HTH...

Jim Thomlinson


"jan" wrote:

hi,

i have linked 1 worksheet to 2 other worksheets (all 3 in the same file)
using VLOOKUP

this in total pulls over 3 different cells into 3 different columns for all
65536 rows.
a update will take 30 minutes. i assume thsi could be more efficient,
however i don't know how to do that. any suggestions?

thanks.



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default VSB more efficient then standard functions?

You can use a dynamic named range. Keep in mind that it uses the offest
function which is volatile...

http://www.cpearson.com/excel/excelF.htm#DynamicRanges
--
HTH...

Jim Thomlinson


"jan" wrote:

Jim,

is there a way to identify the last record in a worksheet, in that case i
see possibilities to limit it to those.

"Jim Thomlinson" wrote:

Trying to relate that that many cells is a problem for XL. One problem is you
blow through the 65,536 dependancy tree limit making all formulas act
volatile. The other is just the sheer number of calculations is overwhelming.
VBA or VBS is not going to help you in this case as they will operate slower
than vlookup. Your best option would probably be to use a relational database
which is designed for exactly this purpose.

Here is a link to calculation and general speed and memory performance...
http://www.decisionmodels.com/index.htm
--
HTH...

Jim Thomlinson


"jan" wrote:

hi,

i have linked 1 worksheet to 2 other worksheets (all 3 in the same file)
using VLOOKUP

this in total pulls over 3 different cells into 3 different columns for all
65536 rows.
a update will take 30 minutes. i assume thsi could be more efficient,
however i don't know how to do that. any suggestions?

thanks.

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default VSB more efficient then standard functions?

Rather than use 65536, use a method to determine the last used row, such as

LastRow = Cells(Rows.Count, "A").End(xlUp).Row

and use that to determine the size of the data to be processed.

--
__________________________________
HTH

Bob

"jan" wrote in message
...
hi,

i have linked 1 worksheet to 2 other worksheets (all 3 in the same file)
using VLOOKUP

this in total pulls over 3 different cells into 3 different columns for
all
65536 rows.
a update will take 30 minutes. i assume thsi could be more efficient,
however i don't know how to do that. any suggestions?

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
More Efficient IF David Excel Programming 1 September 28th 07 12:23 PM
Can I use standard Functions with MS Query? CJ Excel Programming 1 December 17th 06 08:10 PM
Three new functions that should be part of your standard set Darren Oakey Excel Worksheet Functions 4 May 12th 06 11:56 PM
standard functions not renognized itarnak[_8_] Excel Programming 1 October 24th 05 11:44 AM
Want to use standard excel functions in vb Mark Excel Programming 3 May 18th 05 03:22 AM


All times are GMT +1. The time now is 09:15 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"