r/excel • u/Yoyomor • Sep 02 '20
solved How can I split cells with multiple data points into a separate column and laid out in rows?
Hi!
So I am struggling with creating a macro to find three arrays in a file and then copy and paste the arrays into their own column with 23 rows. In each file, the arrays are in range B40 to B51. Each array has 23 numbers that are of value. The "0:, 5:, 10:, etc" are not needed, so they shouldn't be included in the new column.
Attached are images of what the arrays look like when the files are imported and how I would like these arrays to be transformed.


If anyone can help or share tips, I will greatly appreciate it.
4
Upvotes
2
u/JoeWithoutAGun 77 Sep 02 '20
Hi,
A few questions:
1
u/PaulieThePolarBear 1929 Sep 02 '20
For your "H" array try this
Assumes your array is in B40 to B44
You can do similar for your I and J arrays, just update B40:B44 to reflect the location of this data
•
u/AutoModerator Sep 02 '20
/u/Yoyomor - please read this comment in its entirety.
Once your problem is solved, please reply to the answer(s) saying
Solution Verifiedto close the thread.Please ensure you have read the rules -- particularly 1 and 2 -- in order to ensure your post is not removed.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Decronym Sep 02 '20 edited Sep 11 '20
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
Beep-boop, I am a helper bot. Please do not verify me as a solution.
7 acronyms in this thread; the most compressed thread commented on today has 16 acronyms.
[Thread #275 for this sub, first seen 2nd Sep 2020, 23:44] [FAQ] [Full list] ^[Contact] [Source code]