Insert a hyphen in a cell display

acf -  
Mike-31 Posted messages 18405 Registration date   Status Contributeur Last intervention   -
Hello,
I would like to modify the display format of the content of a cell:
There are 10 alphanumeric digits (starting with 0) that I want to display by separating the last 2 with a hyphen.
Example: 0000562301 transformed into 00005623-01

Thank you in advance

Configuration: Windows 7 / Firefox 43.0

5 réponses

Fahora Posted messages 949 Status Membre 68
 
Hello,

=LEFT(A1,8)"-"&RIGHT(A1,2)

Best regards,

--
Our only limits are those we impose on ourselves.
Politeness and a thank you don't hurt. There is a button for "Resolved" to confirm that your issue is no longer one. Fahora
3