Frage

I would like to create a cell format in Excel without using formulas. The input is for example 03E02B and the output to be displayed is: 03-E-02-B

User will typ in value and after Enter, the value will have the cells format. Searched Google and this topic but can't find any answers.

If it would be numbers only it can be done using this: ##"-"##"-"##"-"##

But the value is actually all texts and I can't get it to work with text.

Thanks in advance!

War es hilfreich?

Lösung

No, you cannot do this. It works only with numeric data formats (numbers, decimal, currency date etc.)

Also consider (if applicable) translating the user input into another cell with a formula:

=MID(A1,1,2)&"-"&MID(A1,3,1)&"-"&MID(A1,4,2)&"-"&MID(A1,6,1)
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top