Cell Formatting

R

Raja

I currently have cell which looks like this:
108131407004W400

and I would like it to look like this:
108/13-14-070-04W4/00

I tried some LEFT, &, RIGHT Statements, but I can't get
this format, any help would be greatly appreciated

Thanks,
Raj
 
J

J.E. McGimpsey

One way:

=TEXT(LEFT(A1,12)*1,"000\/00-00-000-00") & MID(A1,13,1) &
TEXT(RIGHT(A1,3)*1,"0\/00")
 
D

Dan E

Why should I be an investigator???

Raja said:
Hey Dan,

Thanks for your help I guess I missed the MID function

You should be an investigator
Thanks,
Raj


& "-" & MID(B12,8,3) & "-" & MID(B12,11,4) & "/" & RIGHT
(B12,2)
 

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