Spyderturbo007
New Member
- Joined
- Mar 11, 2022
- Messages
- 21
- Office Version
- 365
- Platform
- Windows
I'm trying to help a client with an exported CSV file from a website. Unfortunately, there is no way for me to change how the data is exported. You pretty much get what you get.
One cell contains a ton of data, but I only need the dollar amounts from that cell. Some cells don't have any dollar amounts and other cells can have 2 or more dollar amounts at different positions within the cell. I'm also dealing with HTML tags in the cell like   and <br>.
I've tried Text to Columns and it kind of works, but since the dollar amounts can appear anywhere in the cell I get tons of columns and the dollar amounts don't align so I can't delete entire columns of the data I don't need.
Essentially, I need to remove the dollar amounts from the cell and put each one in its own column and then delete everything else in the cell. So, column I would have the combined data and $X.XX from that cell would go in column J, $Y.YY would go in K and so on.
For example, here is the data in some of cells. I'm not sure how this will look once this post is posted, but I'll give it a shot. Each section is actually all the data in a single cell. Thanks so much for the help!
One cell contains a ton of data, but I only need the dollar amounts from that cell. Some cells don't have any dollar amounts and other cells can have 2 or more dollar amounts at different positions within the cell. I'm also dealing with HTML tags in the cell like   and <br>.
I've tried Text to Columns and it kind of works, but since the dollar amounts can appear anywhere in the cell I get tons of columns and the dollar amounts don't align so I can't delete entire columns of the data I don't need.
Essentially, I need to remove the dollar amounts from the cell and put each one in its own column and then delete everything else in the cell. So, column I would have the combined data and $X.XX from that cell would go in column J, $Y.YY would go in K and so on.
For example, here is the data in some of cells. I'm not sure how this will look once this post is posted, but I'll give it a shot. Each section is actually all the data in a single cell. Thanks so much for the help!
|