+ Reply to Thread
Results 1 to 8 of 8

How do I create a custom number format in excel that ends with a letter?

  1. #1
    Registered User
    Join Date
    02-23-2012
    Location
    california
    MS-Off Ver
    Excel 2003
    Posts
    4

    How do I create a custom number format in excel that ends with a letter?

    Hi, I would think this is easy to find but after an hour I have found all of the same answers. None that I need. My question is,

    I need to have a field that that displayes 555-55-5555a. or any other letter after the numbers and dashes . I can get it to add dashes but I can not get it to add a random letter like a, b, d and so on.

    Thank you so much for you time and help.

    John

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: How do I create a custom number format in excel that ends with a letter?

    What is the format string that you are using at the moment?

    Pete

  3. #3
    Forum Contributor
    Join Date
    12-16-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    109

    Re: How do I create a custom number format in excel that ends with a letter?

    I created a video to do something like this, I hope it helps!

    https://www.youtube.com/watch?v=uXxw0INlFqc

    http://www.easyexcelanswers.com

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,826

    Re: How do I create a custom number format in excel that ends with a letter?

    List and discussion of different number format codes (FWIW, this was one of my most used help files when I was learning Excel): https://support.office.com/en-au/art...2-09fab54be7f4

    The very first section describes how to include numbers and text in number format codes. See if that helps.

    PS. I sometimes find that I confuse myself when I use number formatting to add text to a number like this, because what I see in the cell (555-55-5555a) is so different from the underlying value (555555555) that I sometimes get confused. If you find this to be true for you, as well, it may be preferable to use easyexcelanswers' "concatenate" solution so that the cell's value is the same as the displayed text string.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: How do I create a custom number format in excel that ends with a letter?

    Quote Originally Posted by easyexcelanswers View Post
    I created a video to do something like this, I hope it helps!
    I'm noticing a lot of similarity in your replies. Please take a moment to read the forum rules, especially rule 13b.

  6. #6
    Registered User
    Join Date
    12-15-2015
    Location
    india
    MS-Off Ver
    2013
    Posts
    28

    Re: How do I create a custom number format in excel that ends with a letter?

    create a number series (like 555-55-5555,555-55-5556)in one column lets say A.
    in column B use formula =CONCATENATE(A1,"a") and pull down
    after getting your desired result u can hide column A

  7. #7
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: How do I create a custom number format in excel that ends with a letter?

    Quote Originally Posted by guitarteacher View Post
    I can not get it to add a random letter like a, b, d and so on.
    Do you want to specify the letter, or do you want a random letter?

    If the former, personally I would use this custom format: 000-00-0000"a" (replace the "a" with whatever letter you want, keeping the quotation marks). However, you could use the already-suggested concatenate method instead if you want.

    If the latter, then concatenate is the only way of doing it. If your list of numbers is in column A, starting in A1, put this in B1 and drag down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    This will convert 123456789 to 123-45-6789x with x being any lower case letter from a to z - if you want upper case A to Z use (65,90) instead of (97,122).
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  8. #8
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: How do I create a custom number format in excel that ends with a letter?

    Quote Originally Posted by Aardigspook View Post
    This will convert 123456789 to 123-45-6789x with x being any lower case letter from a to z - if you want upper case A to Z use (65,90) instead of (97,122).
    Or if you want the case to be random as well, try
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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. [SOLVED] Custom date format: How to show the months as just their first letter?
    By The_Snook in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 08-24-2012, 08:52 AM
  2. excel custom number format coding
    By Jon_P in forum Excel General
    Replies: 5
    Last Post: 05-07-2012, 05:26 PM
  3. Replies: 17
    Last Post: 07-16-2009, 03:12 AM
  4. [SOLVED] Custom format, combined date, time and letter
    By bugmenot in forum Excel General
    Replies: 3
    Last Post: 12-15-2008, 05:09 AM
  5. Count text that ends in certain letter
    By desk.doc in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-22-2007, 10:45 PM
  6. excluding data which ends with letter
    By treborharris in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 11-20-2007, 07:20 PM
  7. [SOLVED] How do I create a custom number format in Excel using a symbol?
    By mbuckrell in forum Excel General
    Replies: 2
    Last Post: 07-25-2006, 07:55 PM
  8. Format:change headers from letter to number/number to letter
    By Biff in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 04:05 AM

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