D4V1D0
New Member
- Joined
- Feb 8, 2024
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
Hi All,
First post and hoping it's not too much of a basic question to start my forum career as a drain on your collective knowledge....
I've been asked to look at improving a spreadsheet/process that involves taking rows of data and manipulating it into another format.
The cells are generally not in a consistent format, but I can work with the reporting system to rectify this over time and manually correct any errors until the source data is uniform.
In short, we're asked to take a cell and convert it in the following way:
Cell:
Required Result:
I've scratched my head and haven't managed to come up with a decent solution.
I did look at "Text to columns" using the "x" as a delimiter, then removing the "x" columns, which leaves me with this:
From here, I'm stuck as to how I can produce the desired result. Not sure if the above actually improves anything!
Any advice would be appreciated
First post and hoping it's not too much of a basic question to start my forum career as a drain on your collective knowledge....
I've been asked to look at improving a spreadsheet/process that involves taking rows of data and manipulating it into another format.
The cells are generally not in a consistent format, but I can work with the reporting system to rectify this over time and manually correct any errors until the source data is uniform.
In short, we're asked to take a cell and convert it in the following way:
Cell:
2x apple 4x pear 1x banana |
Required Result:
apple |
apple |
pear |
pear |
pear |
pear |
banana |
I've scratched my head and haven't managed to come up with a decent solution.
I did look at "Text to columns" using the "x" as a delimiter, then removing the "x" columns, which leaves me with this:
2 | apple | 4 | pear | 1 | banana |
From here, I'm stuck as to how I can produce the desired result. Not sure if the above actually improves anything!
Any advice would be appreciated