+ Reply to Thread
Results 1 to 3 of 3

Add Dashes Between Numbers

  1. #1
    Registered User
    Join Date
    03-24-2011
    Location
    NJ
    MS-Off Ver
    Excel 2000
    Posts
    15

    Add Dashes Between Numbers

    Hello,

    I'm combining two cells to create a third number in a separate cell using the formula =A1&B1. It works fine but what I'd like to do is add a dash between the two numbers to make it easier to read.

    For example: =A1&B1 combines 2 and 3 to make 23 in cell C1 but what I'd rather see in C1 is 2-3 or whatever the case may be.

    Thanks Chris
    Last edited by chrisnat; 04-01-2011 at 11:06 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,487

    Re: Add Dashes Between Numbers

    =A1&"-"&B1

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    03-24-2011
    Location
    NJ
    MS-Off Ver
    Excel 2000
    Posts
    15

    Re: Add Dashes Between Numbers

    That's easy 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