Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default indirect reference to a formula?

can i enter a formula on on 1 worksheet, and then refference it on the 2nd,
as indirect(), with the intentions of having it actually calculate the
refferencing worksheet?

ex:
sheet1, A9 contains: = sum(A1:A8)
sheet2, F30 contains: =indirect('sheet1'!A9) 'with the intention of the sum
of cells A1:A8 ON SHEET2 being displayed in sheet2, F30

thanks in advance,
mark


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default indirect reference to a formula?

All you need is:

=Sheet1!A9



--
Gary's Student


"mark kubicki" wrote:

can i enter a formula on on 1 worksheet, and then refference it on the 2nd,
as indirect(), with the intentions of having it actually calculate the
refferencing worksheet?

ex:
sheet1, A9 contains: = sum(A1:A8)
sheet2, F30 contains: =indirect('sheet1'!A9) 'with the intention of the sum
of cells A1:A8 ON SHEET2 being displayed in sheet2, F30

thanks in advance,
mark



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default indirect reference to a formula?

i need to use the indirect refernce because of a row insertion thing that
happens...


"Gary''s Student" wrote in message
...
All you need is:

=Sheet1!A9



--
Gary's Student


"mark kubicki" wrote:

can i enter a formula on on 1 worksheet, and then refference it on the
2nd,
as indirect(), with the intentions of having it actually calculate the
refferencing worksheet?

ex:
sheet1, A9 contains: = sum(A1:A8)
sheet2, F30 contains: =indirect('sheet1'!A9) 'with the intention of the
sum
of cells A1:A8 ON SHEET2 being displayed in sheet2, F30

thanks in advance,
mark





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default indirect reference to a formula?

No, you can't use indirect in that way to change which sheet the formula
=sum(A1:A8) refers to.

I think the closest you could come is

in A9 of sheet1

=sum(indirect(Sheet2!B1 & "!A1:A8"))
where B1 on sheet2 contains the word Sheet2

--
Regards,
Tom Ogilvy


"mark kubicki" wrote:

i need to use the indirect refernce because of a row insertion thing that
happens...


"Gary''s Student" wrote in message
...
All you need is:

=Sheet1!A9



--
Gary's Student


"mark kubicki" wrote:

can i enter a formula on on 1 worksheet, and then refference it on the
2nd,
as indirect(), with the intentions of having it actually calculate the
refferencing worksheet?

ex:
sheet1, A9 contains: = sum(A1:A8)
sheet2, F30 contains: =indirect('sheet1'!A9) 'with the intention of the
sum
of cells A1:A8 ON SHEET2 being displayed in sheet2, F30

thanks in advance,
mark






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
Array Formula + Indirect Reference davey11372 Excel Worksheet Functions 0 December 15th 09 03:52 AM
"indirect" formula reference ORLANDO VAZQUEZ[_2_] Excel Discussion (Misc queries) 11 October 2nd 09 01:52 PM
Indirect reference ice Excel Worksheet Functions 2 July 22nd 09 02:54 PM
Can INDIRECT function reference a cell that contains a formula Steve E Excel Worksheet Functions 13 August 23rd 06 10:49 PM
Help with an Indirect formula to reference sheet names PCLIVE Excel Programming 4 August 4th 05 05:12 PM


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