#1   Report Post  
Posted to microsoft.public.excel.misc
Andrianna
 
Posts: n/a
Default converging tabs

I have one column of numbers on a spreadsheet with about 10 different
tabs. I would like all of the columns to sit next to eachother on one
tab.

Thanks for your help!
Andrianna

  #2   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default converging tabs

"Andrianna" wrote:
I have one column of numbers on a spreadsheet with about 10 different
tabs. I would like all of the columns to sit next to each other on one
tab.


Assuming data is all within say A1:A10 in each of the 10 source sheets

Enter the 10 source sheetnames into B1:K1
(Sheetname entry order is immaterial, your design/placement choice)

Then put in B2:
=OFFSET(INDIRECT("'"&B$1&"'!A1"),INT((ROW(A1)-1)/10)+MOD(ROW(A1)-1,10),)
Copy B2 to K2, fill down to K11 to populate the table

The above will return the required results, ie extract what's within A1:A10
from each source sheet and place it under the sheetname col header

Ensure that the sheetnames entered into B1:K1 match exactly (except for
case) with what's on the tabs, otherwise we'd get #REF!. Watch out for
inconsistencies: typos, extra white spaces, etc.

Empty source cells if any, will be returned as zeros.
For a neater look, we can suppress the display of extraneous zeros in the
sheet via clicking: Tools Options View tab Uncheck "Zero values" OK

Adapt to suit: change the "10" within the INT(..) and MOD(..) to a number
corresponding to the number of cells within the source range, then copy the
formula down accordingly by that number of rows ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #3   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default converging tabs

Oops, correction to the formula ..

.. in B2:
=OFFSET(INDIRECT("'"&B$1&"'!A1"),INT((ROW(A1)-1)/10)+MOD(ROW(A1)-1,10),)


Put in B2:
=OFFSET(INDIRECT("'"&B$1&"'!A1"),MOD(ROW(A1)-1,10),)

(the INT part wasn't necessary here)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
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
In Excel make the tabs a the bottom stack vertically. Brian Excel Discussion (Misc queries) 0 March 23rd 06 08:49 PM
Sheet tabs are hidden...option is checked okamico Excel Discussion (Misc queries) 4 January 12th 06 09:14 PM
Tabs accross of bottom of sheet are not showing robert Excel Discussion (Misc queries) 3 April 22nd 05 09:29 PM
Hidding Tabs Aviator Excel Discussion (Misc queries) 1 December 15th 04 04:55 PM
Sheet tabs disappear sometimes in Internet Explorer Jan Nordgreen Excel Discussion (Misc queries) 0 December 6th 04 01:34 AM


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