Solved

Excel Formula

Posted on 2014-10-03
2
235 Views
Last Modified: 2014-10-03
Is there a formula I can use to convert row A to display as in row B ?
 
Data
0
Comment
Question by:Gareth_Pointon
2 Comments
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 total points
ID: 40359111
=if(len(a2)<11,a2,left(a2,10)&"-"&mid(a2,11,999))

Open in new window

0
 
LVL 49

Expert Comment

by:Rgonzo1971
ID: 40359116
Hi,

Maybe

=IF(LEN(A2)>10,LEFT(A2,8)&"-"&RIGHT(A2,2),A2)

Regards
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question