Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dwinmac
 
Posts: n/a
Default Referencing Variables

I would like to set up two cells that contain a begin number and an end
number representing a range of rows. I want to then concatenate a column
letter onto the start and end number so that I can average the values in the
range.
For Example:
If Column A contains values in rows 1 through 10 I would like to Name
"Start" equal to A11 and put 1 in A11 and Name "End" = A12 and put 10 in A12
and then do something like
=AVERAGE("A" & Start & ":" & "A" & End) to get the average of cells A1
through A10. I get #VALUE! indication
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
=AVERAGE(INDIRECT("A" & Start & ":" & "A" & End))

and 'name' these cells with 'Insert - Name - Define'

--
Regards
Frank Kabel
Frankfurt, Germany

"Dwinmac" schrieb im Newsbeitrag
...
I would like to set up two cells that contain a begin number and an

end
number representing a range of rows. I want to then concatenate a

column
letter onto the start and end number so that I can average the values

in the
range.
For Example:
If Column A contains values in rows 1 through 10 I would like to Name
"Start" equal to A11 and put 1 in A11 and Name "End" = A12 and put 10

in A12
and then do something like
=AVERAGE("A" & Start & ":" & "A" & End) to get the average of cells

A1
through A10. I get #VALUE! indication


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
Cell Referencing Silver Excel Discussion (Misc queries) 2 January 11th 05 05:24 PM
Two variables Blackcat Excel Discussion (Misc queries) 7 January 7th 05 12:13 PM
Use variables for a chart Fysh Charts and Charting in Excel 4 December 9th 04 08:45 PM
vlookup function in excel referencing an access table AJN Excel Worksheet Functions 1 November 7th 04 07:09 PM
Graphs and sheet referencing? Graham Excel Worksheet Functions 2 October 31st 04 11:37 PM


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