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 / Programming / March 2006

Tip: Looking for answers? Try searching our database.

Small Macro

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tbobo - 23 Mar 2006 18:01 GMT
I need help with a small program to arrange a data file:

This is the data file:

data
A
B
C
D
data
1
2
3
4
data
D
E
F
G
data
5
6
7
8

I need the data to be arrange as shown below:

data A B C D
data 1 2 3 4
data D E F G
data 5 6 7 8

Thanks
Carim - 23 Mar 2006 18:18 GMT
Hi tbobo,

You dont need a macro ...
Just Edit Copy
Edit PasteSpecial  Transpose

HTH
Carim
Ardus Petus - 23 Mar 2006 18:35 GMT
This can be done with a formula.
See example: http://cjoint.com/?dxsKNTriB0

HTH
--
AP

> I need help with a small program to arrange a data file:
>
[quoted text clipped - 29 lines]
>
> Thanks!
Gary''s Student - 23 Mar 2006 18:38 GMT
Macro not needed:

If you data is in column A, then in B1 enter:

=INDIRECT("A" & ROW()*5-6+COLUMN())

Then copy B1 to C1 thru F1.
Then copy B1 thru F1 down as far as you need.
Signature

Gary's Student

> I need help with a small program to arrange a data file:
>
[quoted text clipped - 29 lines]
>
> Thanks!
 
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.