ASCII code behaviour and special characters in Excel

Haui

Board Regular
Joined
Apr 5, 2009
Messages
210
Hi all, I've read a fair bit about special characters, ASCII code, code/char functions etc. in Excel but still have a couple of understanding questions where I was hoping someone could shed a little light on them or point me to a direction for further reading:

(using the num keypad only):

- In Excel: Why does ALT+32 yield the same result as ALT+032 or ALT+0032 but this is not the case for ALT+160 vs. ALT+0160? (I understand ALT+xxx refers to IBM Code Page 437 whereas ALT+0xxx refers to Windows Code Page 1252 - not sure if there's anything more to this or even what this means/why this was implemented in Excel like this?)

- The mathminus unicode is 8722: why does it produce the correct mathminys symbol in MS Word with ALT+8722 but not in Excel where the same code/key combination produces an up/down-arrow (↕) which is created by the UNICODE charater 8597. (However, =unichar(8722) correctly produces the mathminus in Excel.)

- How can the non-printable characters that the CLEAN-function cannot remove be replicated/inserted in Excel, if possible at all? This includes to my knowledge the UNICODE-Characters U+0000 to U+001F - equivalent to the first 32 ASCII characters ALT+000 to ALT+031 and characters represented by ALT+127/129/141/143/144/157?
E.g. =char(10) or ALT+Enter (if used in-cell) replicates the line feed of ALT+010 / U+000A. I am not aware similar methods exist for any other of these characters (possibly because they are less 'tangible' in Excel word than the line feed, e.g. ALT+127 = DEL (Delete)).

Thanks
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
- How can the non-printable characters that the CLEAN-function cannot remove be replicated/inserted in Excel, if possible at all? This includes to my knowledge the UNICODE-Characters U+0000 to U+001F - equivalent to the first 32 ASCII characters ALT+000 to ALT+031 and characters represented by ALT+127/129/141/143/144/157?
E.g. =char(10) or ALT+Enter (if used in-cell) replicates the line feed of ALT+010 / U+000A. I am not aware similar methods exist for any other of these characters (possibly because they are less 'tangible' in Excel word than the line feed, e.g. ALT+127 = DEL (Delete)).

Thanks


Check here some proposals.
https://www.mrexcel.com/forum/excel...d-help-replacing-invalid-characters-cell.html
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,114
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