Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Thomas Pike
 
Posts: n/a
Default dynamic defined ranges

Dear ALL,

I have a spreadsheet with a single column of numbers. There are 1000
numbers. I need to perform a count if formula on these numbers if they
are above .5. Now sometimes I need to group these numbers in groups of
10 or 20, or 50.

Right now I am doing this by changing the ranges manually in my COUNTIF
statements. Is there a way that I can select a cell, say L1 that isn't
used and place my offset number there?

So my current range in one summary cell is =COUNTIF(J1:J10,".5") then
the next summary cell has =COUNTIF(J11:J21,".5") for groups of 10. Now
if I were to change the value in cell L1 to 20, I would like to see my
statements change to =COUNTIF(J1:J20,".5"), =COUNTIF(J21:J40,".5"),
etc.

Any ideas?

T

  #2   Report Post  
Harlan Grove
 
Posts: n/a
Default

Thomas Pike wrote...
....
So my current range in one summary cell is =COUNTIF(J1:J10,".5") then
the next summary cell has =COUNTIF(J11:J21,".5") for groups of 10. Now
if I were to change the value in cell L1 to 20, I would like to see my
statements change to =COUNTIF(J1:J20,".5"), =COUNTIF(J21:J40,".5"),
etc.


If the first formula were in cell X99 and the second in cell X100, you
could try the following formula in cell X99

X99:
=COUNTIF(OFFSET($J$1,(ROWS(X$99:X99)-1)*$L$1,0,$L$1,1),".5")

then fill X99 down into X100.

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
dependent drop down boxes and dynamic ranges philcud Excel Worksheet Functions 2 September 1st 05 01:03 PM
Solver and dynamic ranges tim Excel Worksheet Functions 0 May 5th 05 01:29 AM
Indirect and dynamic ranges Sam Excel Worksheet Functions 3 January 24th 05 07:01 AM
dynamic ranges Sam Excel Worksheet Functions 2 January 21st 05 07:46 PM
Named dynamic ranges, copied worksheets and graph source data WP Charts and Charting in Excel 1 November 28th 04 05:19 PM


All times are GMT +1. The time now is 10:46 AM.

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"