+ Reply to Thread
Results 1 to 10 of 10

Need Help in Formatting a long number

  1. #1
    Forum Contributor
    Join Date
    07-14-2014
    Location
    New City, NY
    MS-Off Ver
    2016
    Posts
    181

    Need Help in Formatting a long number

    Hello,

    I need to get this number '765102700063500 into this format 76510-27-000-635-00

    Can someone please help?

    Thanks!

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Need Help in Formatting a long number

    Custom number format...
    Please Login or Register  to view this content.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Need Help in Formatting a long number

    One way:

    =TEXT(A2,"00000-00-000-000-00")

    CK76's is better. Go with it...
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Contributor
    Join Date
    07-14-2014
    Location
    New City, NY
    MS-Off Ver
    2016
    Posts
    181

    Re: Need Help in Formatting a long number

    Thank you Glenn. I like your formula better since i have a lot of numbers that i would have to convert to this format.

  5. #5
    Forum Contributor
    Join Date
    07-14-2014
    Location
    New City, NY
    MS-Off Ver
    2016
    Posts
    181

    Re: Need Help in Formatting a long number

    Thank you CK76 .

  6. #6
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Need Help in Formatting a long number

    You are welcome. You know that you can copy paste custom number formats right?

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Need Help in Formatting a long number

    The main reason for using CK76's is that it remains a number, whereas my formula produces text that looks like a number.

  8. #8
    Forum Contributor
    Join Date
    07-14-2014
    Location
    New City, NY
    MS-Off Ver
    2016
    Posts
    181

    Re: Need Help in Formatting a long number

    Thanks CK76 I am not familiar with it. I have a list of numbers that i need to convert to the format that i had mentioned earlier. How would you do that?

  9. #9
    Forum Contributor
    Join Date
    07-14-2014
    Location
    New City, NY
    MS-Off Ver
    2016
    Posts
    181

    Re: Need Help in Formatting a long number

    Thanks, I was able to use the formula and pull it down the list and it converted all the numbers into the desired format.

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Need Help in Formatting a long number

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. Long formula in Conditional Formatting
    By calvinle in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-06-2017, 01:19 AM
  2. Formatting Lat/Long Info
    By BeaconSlash in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-27-2016, 11:55 PM
  3. Replies: 17
    Last Post: 05-16-2016, 01:22 AM
  4. Number format to Display 20 character long number.
    By SamCV in forum Excel General
    Replies: 6
    Last Post: 07-09-2014, 08:19 PM
  5. [SOLVED] =IF and =SUMIF formulas creating long long long data processing times.
    By comp in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 03-26-2014, 02:59 PM
  6. Charts formatting--long shot
    By amartino44 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-22-2013, 07:57 PM
  7. Long Number Col
    By JXBlack in forum Excel General
    Replies: 1
    Last Post: 01-26-2010, 09:28 PM

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