text to columns isn't detecting space

mberow

New Member
Joined
Apr 6, 2011
Messages
8
I have Excel2007 running on Windows XP.

I'm trying to use text to columns to parse a column of data. When I check space as the delimiter, it doesn't parse. The third step just shows one column of data. Below is a cut/paste of one cell.

<table width="257" border="0" cellpadding="0" cellspacing="0"><col width="257"><tr height="19"> <td style="height: 14.65pt; width: 193pt;" width="257" height="19">ROCK TOP DRINK</td><td style="vertical-align: top;">
</td> </tr><tr><td style="vertical-align: top;"></td><td style="vertical-align: top;"></td></tr></table>
Could there be another character instead of the space separating the words? I also tried alt32 and alt032 with no luck.

The spreadsheet originated in Thailand.

Thanks
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
try in a spare cell try =code(MID(A1,5,1)) if your data is in A1, if it is a space you will get 32 in your spare cell, if not we move to plan B
 
Upvote 0
you can carefully copy with the mouse what appears to be a space, and then do DATA > TEXT to COLUMNS> tick other and then paste what you copied into the box
 
Upvote 0
try this - you can change the location yourself - I used cell A1 - the codes shown are the ASCII codes - so just look them up.

Code:
Public Sub asciiCharacters()
    Astr = Asc(Left(ActiveSheet.Range("A1"), 1))
    For i = 2 To Len(ActiveSheet.Range("A1"))
        Astr = Astr & "---" & Asc(Mid(ActiveSheet.Range("A1"), i, 1))
    Next i
    MsgBox ("ASCII values of each character=" & Astr)
End Sub
 
Upvote 0
Thank you all for the quick replies, but nothing works.

I copy/pasted in the character from a cell, tried the MID trick, and copied in the VB script. I now know that the pesky character is an alt160, but the column still won't split. I tried with both alt0160 and alt160.

If you have anything else in the bag of tricks, I'd appreciate it.

Thanks again.
 
Upvote 0

Forum statistics

Threads
1,224,509
Messages
6,179,192
Members
452,893
Latest member
denay

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