+ Reply to Thread
Results 1 to 4 of 4

Inserting Dashes in a Column

  1. #1
    cbanks
    Guest

    Inserting Dashes in a Column

    12356789 in column a1

    I want to put in column a2 123-567-89

    Whats the formula to put dashed in between the numbers without havin to
    retype 20000 numbers.

    Thanks



  2. #2
    PCLIVE
    Guest

    Re: Inserting Dashes in a Column

    Try changing the format for your cells. Select your cells. Right-click on
    them and select Format Cells. Under Category, select Custom. Type the
    following:

    ###-###-##

    Hope this helps,
    Paul

    "cbanks" <[email protected]> wrote in message
    news:[email protected]...
    > 12356789 in column a1
    >
    > I want to put in column a2 123-567-89
    >
    > Whats the formula to put dashed in between the numbers without havin to
    > retype 20000 numbers.
    >
    > Thanks
    >
    >




  3. #3
    Fred Smith
    Guest

    Re: Inserting Dashes in a Column

    If you actually want the dashes stored in a cell, the formula would look like:

    =left(a1,3)&"-"&mid(a1,4,3)&"-"&right(a1,2)

    --
    Regards,
    Fred


    "PCLIVE" <[email protected]> wrote in message
    news:[email protected]...
    > Try changing the format for your cells. Select your cells. Right-click on
    > them and select Format Cells. Under Category, select Custom. Type the
    > following:
    >
    > ###-###-##
    >
    > Hope this helps,
    > Paul
    >
    > "cbanks" <[email protected]> wrote in message
    > news:[email protected]...
    >> 12356789 in column a1
    >>
    >> I want to put in column a2 123-567-89
    >>
    >> Whats the formula to put dashed in between the numbers without havin to
    >> retype 20000 numbers.
    >>
    >> Thanks
    >>
    >>

    >
    >




  4. #4
    bigwheel
    Guest

    RE: Inserting Dashes in a Column

    You need to format the cell. Click Format>Cell>Number>Custom then under Type
    create your format thus:- 000-000-00

    "cbanks" wrote:

    > 12356789 in column a1
    >
    > I want to put in column a2 123-567-89
    >
    > Whats the formula to put dashed in between the numbers without havin to
    > retype 20000 numbers.
    >
    > Thanks
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1