Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
jcottam
 
Posts: n/a
Default Cell Variables and Ranges


Hi There,

I'm looking to make a worksheet as dynamic as possible.

I want to define a range of ROWS (rows 15 - 30) in table cells (ex: A1=
15 , A2= 30)

I then want to reference these definitions in a formula like the one
below:

=SUM(COUNTIF(DataWorkSheet!L$*15*:L$*30*,$A16)/$B$10)

Unfortunately I don't know how to reference variables "15" and "30" to
make the formula above dynamic. My dream is to input row numbers
(range) into cells A1 and A2 and then reference the "VALUES" of these
cells in the formula above. Basically, I don't want to hard code "15"
and "30" into the formula above.

Any suggestions? Thanks!


--
jcottam
------------------------------------------------------------------------
jcottam's Profile: http://www.excelforum.com/member.php...o&userid=33049
View this thread: http://www.excelforum.com/showthread...hreadid=528643

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Cell Variables and Ranges

=COUNTIF(INDIRECT("DataWorkSheet!L$"&A1&":L$"&A2&" ,$A16"))/$B$10



--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"jcottam" wrote in
message ...

Hi There,

I'm looking to make a worksheet as dynamic as possible.

I want to define a range of ROWS (rows 15 - 30) in table cells (ex: A1=
15 , A2= 30)

I then want to reference these definitions in a formula like the one
below:

=SUM(COUNTIF(DataWorkSheet!L$*15*:L$*30*,$A16)/$B$10)

Unfortunately I don't know how to reference variables "15" and "30" to
make the formula above dynamic. My dream is to input row numbers
(range) into cells A1 and A2 and then reference the "VALUES" of these
cells in the formula above. Basically, I don't want to hard code "15"
and "30" into the formula above.

Any suggestions? Thanks!


--
jcottam
------------------------------------------------------------------------
jcottam's Profile:

http://www.excelforum.com/member.php...o&userid=33049
View this thread: http://www.excelforum.com/showthread...hreadid=528643



  #3   Report Post  
Posted to microsoft.public.excel.misc
jcottam
 
Posts: n/a
Default Cell Variables and Ranges


Thanks !! : )


--
jcottam
------------------------------------------------------------------------
jcottam's Profile: http://www.excelforum.com/member.php...o&userid=33049
View this thread: http://www.excelforum.com/showthread...hreadid=528643

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
displaying ranges iart Excel Discussion (Misc queries) 15 September 10th 05 02:02 PM
Finding a function in Excel JSK Excel Worksheet Functions 1 August 18th 05 09:59 PM
How do you populate the X variables in Regression analysis for mo. tjp32 Excel Worksheet Functions 1 April 4th 05 09:29 PM
How do I automatically plot different ranges of data in different. 3D-charting Charts and Charting in Excel 1 February 2nd 05 02:40 PM
Named Cell Ranges Blackcat Excel Discussion (Misc queries) 7 December 9th 04 01:59 PM


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