Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ArthurN
 
Posts: n/a
Default How to reference cells dynamically

There're some times when I want to reference the cell dynamically in a
function: avg(A1:(the cell not known or changes)) I would like to achieve
something like this: avg(A1:address(R1C1)) or avg(A1:F(address(R1C1)), which
doesn't of course work, when the address function or some other borrows the
cell reference from the value of another cell. Can I achieve this result
without using a macro?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default How to reference cells dynamically

Yes:

Checkout the INDIRECT() function in Help.
--
Gary''s Student


"ArthurN" wrote:

There're some times when I want to reference the cell dynamically in a
function: avg(A1:(the cell not known or changes)) I would like to achieve
something like this: avg(A1:address(R1C1)) or avg(A1:F(address(R1C1)), which
doesn't of course work, when the address function or some other borrows the
cell reference from the value of another cell. Can I achieve this result
without using a macro?

  #3   Report Post  
Posted to microsoft.public.excel.misc
paul
 
Posts: n/a
Default How to reference cells dynamically

the indirect function and named ranges are very useul here
--
paul
remove nospam for email addy!



"ArthurN" wrote:

There're some times when I want to reference the cell dynamically in a
function: avg(A1:(the cell not known or changes)) I would like to achieve
something like this: avg(A1:address(R1C1)) or avg(A1:F(address(R1C1)), which
doesn't of course work, when the address function or some other borrows the
cell reference from the value of another cell. Can I achieve this result
without using a macro?

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
Excel should be able to map which cells reference each other. URCHE Excel Worksheet Functions 1 October 11th 05 03:23 AM
changing multiple cells from relative to absolute reference Mike Excel Discussion (Misc queries) 4 March 10th 05 02:11 PM
My formula screws up other reference cells... Jambruins Excel Discussion (Misc queries) 2 February 28th 05 02:57 PM
I Need to change reference sheet for all cells on a form Brent E Excel Discussion (Misc queries) 1 February 11th 05 01:36 AM
3 cells are named - how to refere to them in one reference field in a chart Marie J-son Charts and Charting in Excel 2 December 2nd 04 04:52 PM


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