Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Cell references within formulae

I want to reference a particular cell (call it N1018) from within an array
contained in a formula so that the starting row for the array is determined
by the number located within the cell N1018, e.g., the formula might read as
follows: =median(p(n1018):p37) where the value of N1018 is the row number
of cell p(N1018) That is, I want the formula to read =MEDIAN(p15:p37) if the
value in N1018 is 15. If the value of N1018 was 6, then the formula would be
=MEDIAN(p6:p37), etc.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Cell references within formulae

Try

=MEDIAN(INDIRECT("P" & N1018 &":P37"))

Mike

"Jodyeph" wrote:

I want to reference a particular cell (call it N1018) from within an array
contained in a formula so that the starting row for the array is determined
by the number located within the cell N1018, e.g., the formula might read as
follows: =median(p(n1018):p37) where the value of N1018 is the row number
of cell p(N1018) That is, I want the formula to read =MEDIAN(p15:p37) if the
value in N1018 is 15. If the value of N1018 was 6, then the formula would be
=MEDIAN(p6:p37), etc.

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
Changing multiple worksheet references in formulae kippers Excel Discussion (Misc queries) 2 March 6th 09 04:09 PM
convert relative cell references to absolute cell references via amacro? Dave F[_2_] Excel Discussion (Misc queries) 1 May 15th 08 04:43 PM
References to worksheets in formulae andyiain Excel Discussion (Misc queries) 3 July 14th 06 06:27 PM
How to rename references from range names to cell references Abbas Excel Discussion (Misc queries) 1 May 24th 06 06:18 PM
Searching TEXT in formulae, rather than results of formulae AndyE Excel Worksheet Functions 1 July 15th 05 10:57 AM


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