Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Dynamic Cell References in Excel

Hello

Is there a way to generate cell references based on values from other cells?

What i would like to achieve
I have a formula like =SUM(A1:B5)
is there a way to set this references dynmacly via text in another cell?

like in the example below
the references should be read from the "fromcell" "tocell" entrys

A B C D E
1 1 1 from cell : A1
2 1 1 to cell: B4
3 1 1
4 1 1
5 1 1
6
7 10




  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Dynamic Cell References in Excel

=SUM(INDIRECT(E1&":"&E2))

So if E1 contains A1 and E2 contains B4, then function will give the same
results as =SUM(A1:B4)
--
Gary''s Student - gsnu200840


"nogga" wrote:

Hello

Is there a way to generate cell references based on values from other cells?

What i would like to achieve
I have a formula like =SUM(A1:B5)
is there a way to set this references dynmacly via text in another cell?

like in the example below
the references should be read from the "fromcell" "tocell" entrys

A B C D E
1 1 1 from cell : A1
2 1 1 to cell: B4
3 1 1
4 1 1
5 1 1
6
7 10




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Dynamic Cell References in Excel

Thanks for the answer!

"Gary''s Student" wrote:

=SUM(INDIRECT(E1&":"&E2))

So if E1 contains A1 and E2 contains B4, then function will give the same
results as =SUM(A1:B4)
--
Gary''s Student - gsnu200840


"nogga" wrote:

Hello

Is there a way to generate cell references based on values from other cells?

What i would like to achieve
I have a formula like =SUM(A1:B5)
is there a way to set this references dynmacly via text in another cell?

like in the example below
the references should be read from the "fromcell" "tocell" entrys

A B C D E
1 1 1 from cell : A1
2 1 1 to cell: B4
3 1 1
4 1 1
5 1 1
6
7 10




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
convert relative cell references to absolute cell references via amacro? Dave F[_2_] Excel Discussion (Misc queries) 1 May 15th 08 04:43 PM
Excel VBA, dynamic references [email protected] Excel Discussion (Misc queries) 6 November 26th 07 01:35 PM
Dynamic formulas including worksheet references lars22222 Excel Worksheet Functions 1 July 26th 05 02:33 PM
dynamic cell references excel novice Excel Worksheet Functions 2 July 12th 05 02:59 PM
Dynamic references in diagram source data? Olzki Excel Discussion (Misc queries) 0 March 1st 05 08:33 AM


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