formula to remove leading space - data from dbase.

hawilder

New Member
Joined
Sep 1, 2010
Messages
27
Hi-

I did copy/paste lots and lots of pages from an online database into excel and the data all has a hidden leading space that is not recognized when i do find and replace or =trim. Any suggestions? I am trying to compare this data against other data in excel and all the formulas are "false" unless i remove that space manually -- has to be a better way.
Help is appreciated.
Holly:rolleyes:
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Keying in a Non-breaking space CHAR(160) <small>(#nbsp)</small>

To manually Replace a Char(160) value which is known as a non-breaking space ( ) in HTML or a required blank (RBL) in rich text formatted documents use one of the following:
on a desktop Ctrl+H then
Find what -- hold the Alt and key in 0160 with Alt+0160 on the numeric keypad (Not the number row)
Replace with -- leave the to field empty and use Replace All

on a laptop Ctrl+H then
Find what -- hold the Alt and key in 0160 with Fn+0160 on the numeric keypad
Replace with -- leave the to field empty and use Replace All

this is located at
Shortcut Keys in Excel 2000 through 2007
 
Upvote 0

Forum statistics

Threads
1,216,113
Messages
6,128,905
Members
449,477
Latest member
panjongshing

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