Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ridemore
 
Posts: n/a
Default designate one cell as the variable N to be used for calc...

how can i designate one cell as a variable to be used in moving average or
max/min formulas?
  #2   Report Post  
Trevor Shuttleworth
 
Posts: n/a
Default

I guess you could either name it or use absolute reference to it, for
example $D$3

Regards

Trevor


"ridemore" wrote in message
...
how can i designate one cell as a variable to be used in moving average or
max/min formulas?



  #3   Report Post  
ridemore
 
Posts: n/a
Default

thanks for responding - let me clarify - i want to be able to get a max for a
dataset but i want the max to reference a variable number of cells in the
data set that i can change on the fly in one cell - so if the column has 1000
rows and i want the max value from cells 1 thru 50 then i want the max from 1
thru 60 or 1 thru "N", can i have an absolute reference that gives the number
of the cells "N" i wish to include in the max data set?

"Trevor Shuttleworth" wrote:

I guess you could either name it or use absolute reference to it, for
example $D$3

Regards

Trevor


"ridemore" wrote in message
...
how can i designate one cell as a variable to be used in moving average or
max/min formulas?




  #4   Report Post  
JulieD
 
Posts: n/a
Default

Hi

=MAX(INDIRECT("A1:A" & C1 & ""))

where C1 contains the value of "N"

Cheers
JulieD


"ridemore" wrote in message
...
thanks for responding - let me clarify - i want to be able to get a max
for a
dataset but i want the max to reference a variable number of cells in the
data set that i can change on the fly in one cell - so if the column has
1000
rows and i want the max value from cells 1 thru 50 then i want the max
from 1
thru 60 or 1 thru "N", can i have an absolute reference that gives the
number
of the cells "N" i wish to include in the max data set?

"Trevor Shuttleworth" wrote:

I guess you could either name it or use absolute reference to it, for
example $D$3

Regards

Trevor


"ridemore" wrote in message
...
how can i designate one cell as a variable to be used in moving average
or
max/min formulas?






  #5   Report Post  
ridemore
 
Posts: n/a
Default

excellent - thank you!

"JulieD" wrote:

Hi

=MAX(INDIRECT("A1:A" & C1 & ""))

where C1 contains the value of "N"

Cheers
JulieD


"ridemore" wrote in message
...
thanks for responding - let me clarify - i want to be able to get a max
for a
dataset but i want the max to reference a variable number of cells in the
data set that i can change on the fly in one cell - so if the column has
1000
rows and i want the max value from cells 1 thru 50 then i want the max
from 1
thru 60 or 1 thru "N", can i have an absolute reference that gives the
number
of the cells "N" i wish to include in the max data set?

"Trevor Shuttleworth" wrote:

I guess you could either name it or use absolute reference to it, for
example $D$3

Regards

Trevor


"ridemore" wrote in message
...
how can i designate one cell as a variable to be used in moving average
or
max/min formulas?








  #6   Report Post  
JulieD
 
Posts: n/a
Default

you're welcome and thanks for the feedback

"ridemore" wrote in message
...
excellent - thank you!

"JulieD" wrote:

Hi

=MAX(INDIRECT("A1:A" & C1 & ""))

where C1 contains the value of "N"

Cheers
JulieD


"ridemore" wrote in message
...
thanks for responding - let me clarify - i want to be able to get a max
for a
dataset but i want the max to reference a variable number of cells in
the
data set that i can change on the fly in one cell - so if the column
has
1000
rows and i want the max value from cells 1 thru 50 then i want the max
from 1
thru 60 or 1 thru "N", can i have an absolute reference that gives the
number
of the cells "N" i wish to include in the max data set?

"Trevor Shuttleworth" wrote:

I guess you could either name it or use absolute reference to it, for
example $D$3

Regards

Trevor


"ridemore" wrote in message
...
how can i designate one cell as a variable to be used in moving
average
or
max/min formulas?








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
How do I use a variable in a cell reference? BraveFencerPawson Excel Discussion (Misc queries) 1 April 1st 05 06:35 PM
Cell reference - for the sheet name, can I use a variable? Matt Lawson Excel Discussion (Misc queries) 4 December 13th 04 02:31 PM
problem with cell reference in =sum(offset(cell reference,x,y,z,a)). Want cell ref to be variable. [email protected] Excel Worksheet Functions 2 December 11th 04 12:05 AM
Problem with =sum(offset(cell reference,w,x,y,z). I want cell reference to be variable [email protected] Excel Worksheet Functions 2 December 11th 04 12:00 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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