Interesting Text to Columns Anomaly (hyphen moved from after to before text)

RBusiness

Board Regular
Joined
Sep 18, 2010
Messages
189
Hello all,

I'm having an interesting issue with text to columns. I am converting the following URL with a / delimiter, but the output for the last column is -17 instead of the expected 17- (hyphen is before instead of after number). My format is text, I've also tried general, and I've also trimmed and not trimmed the original data.

Does anyone know why this would happen? Thank you in advance for your time and insights.

https://www.website.com/pp/category-name/17-
 
Last edited by a moderator:

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
That's because Xl thinks it's a negative number & so converts it.
To stop that, on the 3rd page of the wizard, select the last column & then select "Text"
 
Upvote 0
Solution
That's because Xl thinks it's a negative number & so converts it.
To stop that, on the 3rd page of the wizard, select the last column & then select "Text"
Thank you, this was the solution.

I noticed something that I hadn't prior. When using text to columns, each column must be defined individually. I never realized this before where I would simply select "text" and believed it was applying to everything. This is not the case, it must be done at the column level. Thank you again because this made me look deeper.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,260
Members
452,627
Latest member
KitkatToby

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