+ Reply to Thread
Results 1 to 6 of 6

How to insert Dash - in between Numbers using existing formula

  1. #1
    Registered User
    Join Date
    09-23-2017
    Location
    Toronto, ON
    MS-Off Ver
    Microsoft Office 365 Subscription MSO (Version 2310 Build 16.0.1
    Posts
    52

    Exclamation How to insert Dash - in between Numbers using existing formula

    Good morning,

    How do I insert - (dash) between numbers in my existing formula?
    I appreciate your help so much.

    Thank You
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,434

    Re: How to insert Dash - in between Numbers using existing formula

    What do you mean? A dash where? There is only one number. Give us an example.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,148

    Re: How to insert Dash - in between Numbers using existing formula

    This ??

    ="Week of " &TEXT(MID(CELL("Filename",J1),FIND("]",CELL("Filename",J1))+1,31),"00-00-00") &" "& "Shipment"
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  4. #4
    Registered User
    Join Date
    09-23-2017
    Location
    Toronto, ON
    MS-Off Ver
    Microsoft Office 365 Subscription MSO (Version 2310 Build 16.0.1
    Posts
    52

    Exclamation Re: How to insert Dash - in between Numbers using existing formula

    Excellent John that's the number I would like to add - dash between.
    How do I convert those number to date in MMM-DD-YY format?
    I tried replacing 00-00-00 to MMM-DD-YY but it gives me date like Dec-09-74 instead of today's date.

    your help is very much appreciated.
    Thank You.
    Attached Images Attached Images

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,148

    Re: How to insert Dash - in between Numbers using existing formula

    Try

    ="Week of "&TEXT(DATEVALUE(TEXT(MID(CELL("Filename",J1),FIND("]",CELL("Filename",J1))+1,31),"00-00-00")),"mmm-dd-yy") &" "&"Shipment"

  6. #6
    Registered User
    Join Date
    09-23-2017
    Location
    Toronto, ON
    MS-Off Ver
    Microsoft Office 365 Subscription MSO (Version 2310 Build 16.0.1
    Posts
    52

    Re: How to insert Dash - in between Numbers using existing formula

    Excellent john.
    Thank you and appreciate your help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Insert hyphen/dash in the middle of numbers
    By noxious in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-08-2015, 10:19 PM
  2. [SOLVED] Formula/Code to remove first 3 numbers and dash
    By Legend Rubber in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-17-2015, 09:24 AM
  3. [SOLVED] Need to insert character (dash) between part numbers
    By BYizz in forum Excel General
    Replies: 3
    Last Post: 10-04-2012, 02:21 PM
  4. Zipcodes - some 5 digit, some 5+4 - formula to insert a dash
    By unclepicklenose in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-06-2008, 09:37 PM
  5. understanding dash dash in a excel formula
    By ldebner in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-31-2005, 10:05 AM
  6. Replies: 0
    Last Post: 08-08-2005, 01:05 PM
  7. [SOLVED] How to insert a repeating dash in phone numbers without dashes in.
    By LemonLiptonTea in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 02-05-2005, 02:06 PM

Tags for this Thread

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