I'm trying to copy data from a number of columns into one column.
before.png
the pic above is what the data looks like currently. And the pic below is what I'm trying to do.
After.png
I'm trying to copy data from a number of columns into one column.
before.png
the pic above is what the data looks like currently. And the pic below is what I'm trying to do.
After.png
Last edited by 2wheeltraf; 02-18-2020 at 02:06 PM.
Insert a new column A.
In At put this formula:
=OFFSET($B$1, MOD(ROW()-ROW($A$1),ROWS($B$1:$B$5)), TRUNC((ROW()-ROW($A$1))/ROWS($B$1:$B$5)),1,1)
the red text is the amount of rows update accordingly.
Drag down the formula so all data is included. Copy and paste special values in column A. Then highlight column A and select Go to Special... from the Find & Select menu on the Home ribbon.
Select Constants and only have "Numbers" checked. Then hit OK.
This should highlight all the 0's as everything else you have listed is text technically. With all 0's highlighted delete cells and shift up.
<----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.
Maybe try assigning name to range called MyData then use the formula and drag down:
=INDEX(MyData,1+INT((ROW(A1)-1)/COLUMNS(MyData)),MOD(ROW(A1)-1+COLUMNS(MyData),COLUMNS(MyData))+1)
This user is no longer subscribed to this thread.
thank you for your help. I ended up finding the macro below.
![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks