Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Take a value from several worksheets and put it in a column

I have a work book with 74 worksheets. These sheets are arranged exactly the
same way so that all data has a particular address. I want to take cell B3
from all sheets and populate a column of the master worksheet. I want to do
this with several of the cells. What is the fastest way to do this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Take a value from several worksheets and put it in a column

List the sheet names that you want to take data from in column A of
your summary sheet, then use this formula in column B:

=INDIRECT("'"&A1&"'!B3")

Copy this down as required.

Hope this helps.

Pete

On Oct 7, 6:56*pm, pstepp wrote:
I have a work book with 74 worksheets. These sheets are arranged exactly the
same way so that all data has a particular address. I want to take cell B3
from all sheets and populate a column of the master worksheet. I want to do
this with several of the cells. What is the fastest way to do this?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Take a value from several worksheets and put it in a column

If the sheets are named Sheet1, Sheet2 etc. enter in A1 of summary sheet.

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

If unique names, go with Pete's method and formula.

To easily get a list of all sheets except first(summary) into column A of
summary sheet run this macro.

Sub CreateListOfSheetsOnFirstSheet()
Dim ws As Worksheet
For i = 2 To Worksheets.Count
With Worksheets(1)
Set ws = Worksheets(i)
.Cells(i - 1, 1).Value = ws.Name
End With
Next i
End Sub


Gord Dibben MS Excel MVP


On Tue, 7 Oct 2008 10:56:04 -0700, pstepp
wrote:

I have a work book with 74 worksheets. These sheets are arranged exactly the
same way so that all data has a particular address. I want to take cell B3
from all sheets and populate a column of the master worksheet. I want to do
this with several of the cells. What is the fastest way to do this?


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Take a value from several worksheets and put it in a column

Thanks that is what I was looking for.

"Gord Dibben" wrote:

If the sheets are named Sheet1, Sheet2 etc. enter in A1 of summary sheet.

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

If unique names, go with Pete's method and formula.

To easily get a list of all sheets except first(summary) into column A of
summary sheet run this macro.

Sub CreateListOfSheetsOnFirstSheet()
Dim ws As Worksheet
For i = 2 To Worksheets.Count
With Worksheets(1)
Set ws = Worksheets(i)
.Cells(i - 1, 1).Value = ws.Name
End With
Next i
End Sub


Gord Dibben MS Excel MVP


On Tue, 7 Oct 2008 10:56:04 -0700, pstepp
wrote:

I have a work book with 74 worksheets. These sheets are arranged exactly the
same way so that all data has a particular address. I want to take cell B3
from all sheets and populate a column of the master worksheet. I want to do
this with several of the cells. What is the fastest way to do this?



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
compare two worksheets and return a corresponding column Sai Krishna[_2_] Excel Discussion (Misc queries) 3 June 24th 08 09:16 PM
Referencing a column across worksheets Bob Excel Worksheet Functions 1 July 11th 06 11:27 PM
VLookup using 2 worksheets, whole column reference ROSIE Excel Worksheet Functions 1 February 22nd 06 12:50 AM
How do I set up a column to repeat on other worksheets in Excel danmc1000 Excel Discussion (Misc queries) 2 January 27th 06 03:25 PM


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