Can you post an example of your data layout and expected results
VBA Noob
Can you post an example of your data layout and expected results
VBA Noob
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
Hi VBA noob
OK. My data layout is a column which I need to break up into a table with several columns. The original layout has empty cells where it is supposed to start a new column. So:
entry1
entry2
entry3
entry4
entry5
entry6
entry7
entry8
should become a table with two columns and 4 rows:
entry1entry6entry2entry7entry3entry8entry4entry9Can this be done without writing a macro?
- Marco![]()
Where did entry5 go and how did you get entry9
What are the cell references
Easier if you attach a file.
VBA Noob
ooops correction, the output should be (2 columns, 4 rows):
entry1 entry5
entry2 entry6
entry3 entry7
entry4 entry8
may be ...
P.S. replace 5 by 4 for your last example ...![]()
=OFFSET($A$1,MOD(ROW()-1,5)+(COLUMN()-1)*5,0)
Last edited by Carim; 03-05-2007 at 06:05 AM.
AHHH YES!
That worked, thanks a lot
Sorry I didn't attach the xls file, the upload failed...
- Marco
Glad your problem is fixed ...
Thanks for the feedback
I have a list generated by a proprietary software. It has taken the entire address list for people and put them one after the other in a single column.
How can I move these rows out to separate columns using a macro or other step that will keep me from going through 11,000 rows to correct this data?
Marion
PS I am told that this is the only way this software can generate this list, so I will be dealing with this over and over again.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks