Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2004

Tip: Looking for answers? Try searching our database.

Move selected cells to new destination via macro / formula / VB ed

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Electroplastik - 25 Oct 2004 05:39 GMT
I have a workbook that has multiple sheets with different information in each
sheet that needs to move to new results sheet contained in the same workbook.
I need to take the following cells c9 e9 g9 i9 c10 e10 etc from the all of
the
sheets contained in the workbook (108 sheets in total) and put the results
of the cells into a new sheet going accross the page. The following sheets
have the data in the same places as the first sheet c9 e9 g9 etc. but the
results need to be placed in the next line(s) down so that none of the
information is overwritten and is displaying all of the sheets in one sheet
in the workbook. Would a formula or a macro be better for this
and what would the formula look like ?

Cheers Shaun
Electroplastik - 25 Oct 2004 05:51 GMT
as in :
sheet1 c9 e9 g9 i9 c10 e10
sheet2 c9 e9 g9 i9 c10 e10
sheet3 c9 e9 g9 i9 c10 e10

to sheet 4
row 1 (sheet1) c9 e9 g9 i9 c10 e10
row 2 (sheet2) c9 e9 g9 i9 c10 e10
row 3 (sheet3) c9 e0 g0 i9 c10 e10

> I have a workbook that has multiple sheets with different information in each
> sheet that needs to move to new results sheet contained in the same workbook.
[quoted text clipped - 9 lines]
>
> Cheers Shaun
Max - 25 Oct 2004 08:04 GMT
One way to set it up ..

In Sheet4
-------------
Put in B1:G1  : c9, e9, g9, i9, c10, e10
(these cell refs act as the "column" headers)

Put in A2:A4  : Sheet1, Sheet2, Sheet3
(these sheetnames will be the "row" headers)

Put in B2: =INDIRECT("'"&$A2&"'!"&B$1)

Copy B2 across to G1, fill down to G3
to populate the table

B2:G4 will return what you want

Adapt and extend to suit ..
Signature

--
Rgds
Max
xl 97
---
Please respond in thread
xdemechanik <at>yahoo<dot>com
----

> as in :
> sheet1 c9 e9 g9 i9 c10 e10
[quoted text clipped - 19 lines]
> >
> > Cheers Shaun
Max - 25 Oct 2004 16:52 GMT
Sorry, some typos just detected ..
(but maybe obvious? <g>)

Lines
> Copy B2 across to G1, fill down to G3
> to populate the table

should read as:
> Copy B2 across to G2, fill down to G4
> to populate the table

Signature

Rgds
Max
xl 97
--
Please respond, in newsgroup
xdemechanik <at>yahoo<dot>com
---

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.