Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > Excel format question

Excel format question
Thread Tools
Junior Member
Join Date: Mar 2001
Status: Offline
Reply With Quote
Oct 21, 2004, 03:01 PM
 
I have a large Excel spreadsheet with about six hundred rows of information in 6 columns. Each row is organized like this:

Item A Item B Item C Item D Item E Item F

I need to create a text file with the information from the spreadsheet presented like this:

Item A Item B Item C Item D
Item E
Item F

Does anybody have any idea how to accomplish this easily (i.e. without reformatting each entry by hand)?

Thanks.
     
Mac Elite
Join Date: May 2001
Location: Manchester, UK
Status: Offline
Reply With Quote
Oct 21, 2004, 04:31 PM
 
This is quite easy if you are happy recording a macro. Basically, highlight the top left cell, turn on macro recording (relative references), and then insert two rows below, and cut and paste E and F into their new positions. Highlight the second cell A and then stop the recording.

Go into the macro editing bit and put a 'For i = 1 to 600' line first and 'Next i' at the end. Run the macro and everything should work.

You need to know about a bit of macro stuff to do this, but it will work a charm. Good luck
     
dylanw  (op)
Junior Member
Join Date: Mar 2001
Status: Offline
Reply With Quote
Oct 22, 2004, 01:24 PM
 
Originally posted by philm:
This is quite easy if you are happy recording a macro. Basically, highlight the top left cell, turn on macro recording (relative references), and then insert two rows below, and cut and paste E and F into their new positions. Highlight the second cell A and then stop the recording.

Go into the macro editing bit and put a 'For i = 1 to 600' line first and 'Next i' at the end. Run the macro and everything should work.

You need to know about a bit of macro stuff to do this, but it will work a charm. Good luck
That worked. Thanks!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:08 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2