Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 661
Default How do i use the same cell name accross multiple tab names in a wo

I am to create a main worksheet as "accounts"
I have 40 "client" tabs (all the same)

i wish to list the same cell ref across all 40 sheets into a verticle listing

eg

"accounts" sheet cell b1 would have "client1" cell a3
"accounts" sheet cell b2 would have "client2" cell a3

i have listed "client1" name in accounts sheet cell a1, and client2 in a2 etc.






--
Thanks

Paul
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do i use the same cell name accross multiple tab names in a wo


Why not have one data sheet with a column for Account name and then use
a PivotTable?


--
royUK

Hope that helps, RoyUK
For tips & examples visit my 'web site' (http://www.excel-it.com/)
------------------------------------------------------------------------
royUK's Profile: http://www.thecodecage.com/forumz/member.php?userid=15
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=41401

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 896
Default How do i use the same cell name accross multiple tab names in awo

Sub d()

For Each ws In ActiveWorkbook.Worksheets
counter = counter + 1
Cells(counter, 2).Formula = "=" & ws.Name & "!A3"
Next ws

End Sub

press ALT+F11, Insert-Module, copypaste this code
then click Run, Run Sub

On 16 Gru, 12:24, Paul wrote:
I am to create a main worksheet as "accounts"
I have 40 "client" tabs (all the same)

i wish to list the same cell ref across all 40 sheets into a verticle listing

eg

"accounts" sheet cell b1 would have "client1" cell a3
"accounts" sheet cell b2 would have "client2" cell a3

i have listed "client1" name in accounts sheet cell a1, and client2 in a2 etc.

--
Thanks

Paul


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 661
Default How do i use the same cell name accross multiple tab names in

Thanks Roy, but i am not used to pivottables.

must be an easy way to copy and paste and pick up "client1" tab, and client2
tab etc




--
Thanks

Paul


"royUK" wrote:


Why not have one data sheet with a column for Account name and then use
a PivotTable?


--
royUK

Hope that helps, RoyUK
For tips & examples visit my 'web site' (http://www.excel-it.com/)
------------------------------------------------------------------------
royUK's Profile: http://www.thecodecage.com/forumz/member.php?userid=15
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=41401


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 896
Default How do i use the same cell name accross multiple tab names in awo

sorry, should be:

Cells(counter, 2).Formula = "="ws.Name & "!A3"

On 16 Gru, 12:37, Jarek Kujawa wrote:
Sub d()

For Each ws In ActiveWorkbook.Worksheets
counter = counter + 1
Cells(counter, 2).Formula = "=" & ws.Name & "!A3"
Next ws

End Sub

press ALT+F11, Insert-Module, copypaste this code
then click Run, Run Sub

On 16 Gru, 12:24, Paul wrote:



I am to create a main worksheet as "accounts"
I have 40 "client" tabs (all the same)


i wish to list the same cell ref across all 40 sheets into a verticle listing


eg


"accounts" sheet cell b1 would have "client1" cell a3
"accounts" sheet cell b2 would have "client2" cell a3


i have listed "client1" name in accounts sheet cell a1, and client2 in a2 etc.


--
Thanks


Paul- Ukryj cytowany tekst -


- Poka¿ cytowany tekst -




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 661
Default How do i use the same cell name accross multiple tab names in

excuse my ignorance is this within a macro?


--
Thanks

Paul


"Jarek Kujawa" wrote:

sorry, should be:

Cells(counter, 2).Formula = "="ws.Name & "!A3"

On 16 Gru, 12:37, Jarek Kujawa wrote:
Sub d()

For Each ws In ActiveWorkbook.Worksheets
counter = counter + 1
Cells(counter, 2).Formula = "=" & ws.Name & "!A3"
Next ws

End Sub

press ALT+F11, Insert-Module, copypaste this code
then click Run, Run Sub

On 16 Gru, 12:24, Paul wrote:



I am to create a main worksheet as "accounts"
I have 40 "client" tabs (all the same)


i wish to list the same cell ref across all 40 sheets into a verticle listing


eg


"accounts" sheet cell b1 would have "client1" cell a3
"accounts" sheet cell b2 would have "client2" cell a3


i have listed "client1" name in accounts sheet cell a1, and client2 in a2 etc.


--
Thanks


Paul- Ukryj cytowany tekst -


- Pokaż cytowany tekst -



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default How do i use the same cell name accross multiple tab names in awo

Put this formula in B1 of accounts sheet:

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

then copy down to B40.

Hope this helps.

Pete

On Dec 16, 11:24*am, Paul wrote:
I am to create a main worksheet as "accounts"
I have 40 "client" tabs (all the same)

i wish to list the same cell ref across all 40 sheets into a verticle listing

eg

"accounts" sheet cell b1 would have "client1" cell a3
"accounts" sheet cell b2 would have "client2" cell a3

i have listed "client1" name in accounts sheet cell a1, and client2 in a2 etc.

--
Thanks

Paul


  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do i use the same cell name accross multiple tab names in a wo


You don't need VBA, use the formula approach from Pete, but I would
definitely recommend reading up on PivotTables

'Pivot Tables' (http://www.excel-it.com/pivot_tables.htm)

'Excel FAQ - Pivot Tables and Pivot Charts'
(http://www.contextures.com/xlfaqPivot.html)

'Macromedia Flash (SWF) Movie Created by Camtasia Studio 2'
(http://www.datapigtechnologies.com/f...es/pivot1.html)


--
royUK

Hope that helps, RoyUK
For tips & examples visit my 'web site' (http://www.excel-it.com/)
------------------------------------------------------------------------
royUK's Profile: http://www.thecodecage.com/forumz/member.php?userid=15
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=41401

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 661
Default How do i use the same cell name accross multiple tab names in a wo

I WORKED IT OUT

=INDIRECT($A2&"!$B$4")

note cell A2 has the tab names in it, and B4 has the data from that tab.




--
Thanks

Paul


"Paul" wrote:

I am to create a main worksheet as "accounts"
I have 40 "client" tabs (all the same)

i wish to list the same cell ref across all 40 sheets into a verticle listing

eg

"accounts" sheet cell b1 would have "client1" cell a3
"accounts" sheet cell b2 would have "client2" cell a3

i have listed "client1" name in accounts sheet cell a1, and client2 in a2 etc.






--
Thanks

Paul

  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default How do i use the same cell name accross multiple tab names in awo

Note that as the reference to B4 is in quotes, and therefore treated
as text, you do not need the $ symbols as it will not change when you
copy it to other cells.

Also, your cell references differ from what you first posted.

Hope this helps.

Pete

On Dec 16, 1:41*pm, Paul wrote:
I WORKED IT OUT

=INDIRECT($A2&"!$B$4")

note cell A2 has the tab names in it, and B4 has the data from that tab.

--
Thanks

Paul



"Paul" wrote:
I am to create a main worksheet as "accounts"
I have 40 "client" tabs (all the same)


i wish to list the same cell ref across all 40 sheets into a verticle listing


eg


"accounts" sheet cell b1 would have "client1" cell a3
"accounts" sheet cell b2 would have "client2" cell a3


i have listed "client1" name in accounts sheet cell a1, and client2 in a2 etc.


--
Thanks


Paul- Hide quoted text -


- Show quoted text -




  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 661
Default How do i use the same cell name accross multiple tab names in

Roy

thanks i will, some xmas homework for me.



--
Thanks

Paul


"royUK" wrote:


You don't need VBA, use the formula approach from Pete, but I would
definitely recommend reading up on PivotTables

'Pivot Tables' (http://www.excel-it.com/pivot_tables.htm)

'Excel FAQ - Pivot Tables and Pivot Charts'
(http://www.contextures.com/xlfaqPivot.html)

'Macromedia Flash (SWF) Movie Created by Camtasia Studio 2'
(http://www.datapigtechnologies.com/f...es/pivot1.html)


--
royUK

Hope that helps, RoyUK
For tips & examples visit my 'web site' (http://www.excel-it.com/)
------------------------------------------------------------------------
royUK's Profile: http://www.thecodecage.com/forumz/member.php?userid=15
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=41401


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
Linking Cells accross Workbooks using Column Names Jimmy944 Excel Discussion (Misc queries) 0 July 17th 08 10:23 AM
COUNTIF: unique names and values accross several columns. SW Excel Worksheet Functions 2 July 5th 08 03:29 AM
Vlookup accross multiple worksheets Excelcrazy Excel Worksheet Functions 3 December 20th 05 11:32 PM
Countif accross multiple questions. golden Excel Discussion (Misc queries) 1 October 28th 05 05:59 PM
Sumproduct accross multiple sheets guilbj2 Excel Discussion (Misc queries) 1 September 10th 05 12:11 AM


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