ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Linking Formula (https://www.excelbanter.com/excel-discussion-misc-queries/260283-linking-formula.html)

Don S[_2_]

Linking Formula
 
I have a workbook with multiple data sheets. Each data sheet has a sum total
in cell B4. I created a summary sheet to pull all the totals into it. I
entered the following linking formula: ='(1)'!$B$4, now I want to drag this
formula down and have it automatically change to the next sheet. For example
='(2)'!$B$4, ='(3)'!$B$4, ='(4)'!$B$4 and so on€¦ Is this possible?

Gord Dibben

Linking Formula
 
In A1 of summary sheet.

=INDIRECT(ROW()&"!B4")

Copy down.

Assumes your sheets are named 1, 2, 3, 4 etc.

If named Sheet1, Sheet2 etc.

=INDIRECT("Sheet" & (ROW()) & "!B4")


Gord Dibben MS Excel MVP


On Tue, 30 Mar 2010 12:10:01 -0700, Don S <Don
wrote:

I have a workbook with multiple data sheets. Each data sheet has a sum total
in cell B4. I created a summary sheet to pull all the totals into it. I
entered the following linking formula: ='(1)'!$B$4, now I want to drag this
formula down and have it automatically change to the next sheet. For example
='(2)'!$B$4, ='(3)'!$B$4, ='(4)'!$B$4 and so on… Is this possible?



Teethless mama

Linking Formula
 
=INDIRECT("'("&ROW(A1)&")"&"'!B4")

copy down



"Don S" wrote:

I have a workbook with multiple data sheets. Each data sheet has a sum total
in cell B4. I created a summary sheet to pull all the totals into it. I
entered the following linking formula: ='(1)'!$B$4, now I want to drag this
formula down and have it automatically change to the next sheet. For example
='(2)'!$B$4, ='(3)'!$B$4, ='(4)'!$B$4 and so on€¦ Is this possible?



All times are GMT +1. The time now is 12:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com