Jyggalag

Active Member
Joined
Mar 8, 2021
Messages
422
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi all,

I currently have a very messy sheet that looks like this:

1660155304471.png


Essentially, row 1 is the heading, row 2-3 is the results that I want to produce through a text to columns, and rows 24-45 are the data that I currently have.

The issue is that my cells have become messed up, so for every cell I will need to have the variable "Number" that ends with an X (see cell J2 and J3 above).

Every single cell must contain a value from the variable "Number" (column J). However, some of these cells have been split across different rows, so for example cell A38 and A39 should be in one cell that says Z,32595932Z,X,Medium,529 rather than the structure that they have now.

My question is therefore: Does anybody know of a way in which I can join all the cells together in column A? Essentially, the formula should join everything into one cell UNTIL it reaches a number with no letters, for example 503.52, after which it should go on to the next cell and join everything together in that one until it reaches another number.

I hope this makes sense, otherwise please let me know if you want to elaborate.

I can do this manually, but it would takes ages, and some sort of automated solution would be amazing!

Thank you so much everybody :)

Please feel free to ask questions too!

Kind regards,
Jyggalag
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Open to any kind of solution by the way, whether it be by formula, VBA, macro or something else - although I imagine a formula might be easiest?
 
Upvote 0
Update: A simpler photo showcasing what I would like to obtain:

1660203443035.png
 
Upvote 0

Forum statistics

Threads
1,216,041
Messages
6,128,467
Members
449,455
Latest member
jesski

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top