Eriktoinfinity
New Member
- Joined
- Apr 1, 2014
- Messages
- 6
I know you technically can't have numbers AND text in a cell but let's say I have the following cells in the first column:
[TABLE="class: grid, width: 400, align: left"]
<tbody>[TR]
[TD]004 BRD HSE[/TD]
[TD]004[/TD]
[/TR]
[TR]
[TD]PLT BRD SD[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]040 RPL CUS[/TD]
[TD]040[/TD]
[/TR]
</tbody>[/TABLE]
And I want to pull the 3 leftmost characters into the next column only if they are numbers (as shown). Is that possible?
Related to this is I want it to convert them to a number so there are no leading "0"s.
I created a very basic macro that pulled back numbers and then "paste special - values" to get rid of the formulas, but the leading "0"s stayed and I can't get rid of them even when I select them and convert to number through right-clicking and "Format Cells". Any help would be appreciated.
[TABLE="class: grid, width: 400, align: left"]
<tbody>[TR]
[TD]004 BRD HSE[/TD]
[TD]004[/TD]
[/TR]
[TR]
[TD]PLT BRD SD[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]040 RPL CUS[/TD]
[TD]040[/TD]
[/TR]
</tbody>[/TABLE]
And I want to pull the 3 leftmost characters into the next column only if they are numbers (as shown). Is that possible?
Related to this is I want it to convert them to a number so there are no leading "0"s.
I created a very basic macro that pulled back numbers and then "paste special - values" to get rid of the formulas, but the leading "0"s stayed and I can't get rid of them even when I select them and convert to number through right-clicking and "Format Cells". Any help would be appreciated.