Please Help

J

Josè

I have a column in a sheet of Excel, with 8 digits in all cells of the
column.
I want insert a dash between the fourth and the fifth digit in all cells of
this column.
How can I proceed ?
Make me an example please.
Thanks in advance :)

Se qualcuno parla Italiano....
Ho una colonna in un foglio di Excel, con 8 caratteri in tutte le celle di
questa colonna.
Vorrei inserire un trattino tra il 4° e il 5° carattere di ogni cella di
questa colonna.
Come posso fare? Per favore fatemi un esempio.
Grazie in anticipo :)
 
G

Guest

if the dash is just for dispaly and they are all numbers, use
<format><cells><number> select custom and enter 0000-0000
if the digets are text use a helper cell and
=left(A1,4)&"-"& right(A1,4)
 
G

Guest

Hi,

Please use this formula

=LEFT(A1,4)& "-" & RIGHT(A1,LEN(A1)-4)

where A1 contains your data
 
G

Guest

You can put a formula in column B assuming that your column is A.

=CONCATENATE(LEFT(A1,4),"-",RIGHT(A1,4))

Then copy column B and paste value in column A.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top