Removing Non Printable Hex Characters

Leane Messervey

New Member
Joined
Apr 9, 2019
Messages
2
Is there a formula that can be used to remove printable hexadecimal characters from a cell? It appears that CLEAN only removes non printable characters. I am trying to load data into a business system from an excel template and it is erroring on Hex characters so I was hoping there was an easy way to remove them in excel so we don't have to touch the code in the ERP system.

Thanks in advance for an assistance on this one!
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi Leane,

So you are trying to remove hexadecimal characters from your cell because they won't print?
Could you load a screenshot or specify which are the offending characters? The way I'm envisioning it now, is as 00 - FF style, which could be converted to binary or decimal with the HEX2BIN or HEX2DEC formulas.

Another method of removing unwanted characters is to select them, press Ctrl + H, and paste the item into the first cell, then press Alt + A to remove all from the document.

I may be misunderstanding you though.
 
Upvote 0
Hi gravanoc,

I have an excel file that has a printable hex character in it that i want to strip out of the column. We are using a excel template to load a vendor price list into Dynamics NAV and the load is failing because some of the description fields have characters like a degree symbol in them. I don't really want them doing any coding to Dynamics to resolve this so i was hoping there was a formula in excel that we could execute to clean the data before we load it. CLEAN works but that is only for non printable characters it seems and something like a degree symbol is printable. I just want to get rid of any hex character en masse if possible.

Hope that makes sense!

Thanks,

Leanne
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,154
Members
453,021
Latest member
Justyna P

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