#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 440
Default Range question

On a large worksheet with approx 7000 rows which will be filled in as time
goes on, I have numerous formulae which refer to ranges; i.e. B7:B7000.
I would like to speed up calculations by having excel only calculate down to
the last cell which has data in it rather than all the way down to the end.
Is there a way to do this in a formula and also in vba code?
I.E.
=COUNTIF(Sheet1!B$7:B$7000,D2)

.....If Not Intersect(Target, Me.Range("O7:O7000")) Is Nothing Then.....

tia

--
Traa Dy Liooar

Jock
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 440
Default Range question

Thanks Don, I have set up the named range but I am unsure how to apply your
formula into mine.
--
Traa Dy Liooar

Jock


"Don Guillett" wrote:

Use a defined name such as myrng defined as
insertnamedefinename it myrngin the refers to box type
=offset($b$7,0,0,counta($b:$b)-6,1)
enternow use that in your formula

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Jock" wrote in message
...
On a large worksheet with approx 7000 rows which will be filled in as time
goes on, I have numerous formulae which refer to ranges; i.e. B7:B7000.
I would like to speed up calculations by having excel only calculate down
to
the last cell which has data in it rather than all the way down to the
end.
Is there a way to do this in a formula and also in vba code?
I.E.
=COUNTIF(Sheet1!B$7:B$7000,D2)

....If Not Intersect(Target, Me.Range("O7:O7000")) Is Nothing Then.....

tia

--
Traa Dy Liooar

Jock



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
Range Question Peter[_8_] Excel Discussion (Misc queries) 3 December 11th 07 02:37 AM
Range Question N.F[_2_] Excel Discussion (Misc queries) 5 July 28th 07 01:05 AM
sumproduct range question Edward Excel Worksheet Functions 2 October 5th 06 02:27 PM
Range question in '97 Adam Kroger Excel Discussion (Misc queries) 10 December 12th 05 03:44 AM
Question on LABEL Range Sarah Tanembaum Excel Discussion (Misc queries) 2 December 15th 04 11:49 PM


All times are GMT +1. The time now is 07:03 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"