+ Reply to Thread
Results 1 to 4 of 4

Custom Format - 123.456.7890

Hybrid View

gnulab Custom Format - 123.456.7890 11-01-2023, 11:26 PM
HansDouwe Re: Custom Format -... 11-02-2023, 12:38 AM
gnulab Re: Custom Format -... 11-02-2023, 01:18 AM
AliGW Re: Custom Format -... 11-02-2023, 02:21 AM
  1. #1
    Registered User
    Join Date
    05-07-2011
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Office 365
    Posts
    27

    Custom Format - 123.456.7890

    Hi,

    I have read about custom format in here https://www.ablebits.com/office-addi...number-format/ but still couldn't figure out how to achieve what I want.

    I want the cell to display like this:

    10 digits = 123.456.7890
    11 digits = 123.4567.8901
    12 digits = 123.4567.89012
    13 digits = 123.45678.90123

    Would it be too much? Or I can settle with just the 10 digits.


    Thanks
    Henry

  2. #2
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Custom Format - 123.456.7890

    With custom format it is possible to realize 3 different formats for positive numbers.

    Try custom format: [<10000000000]000\.000\.0000;[<100000000000]000\.0000\.0000;000\.0000\.00000;

    and add the 4th custom format via condital formatting:

    Try CF-rule =A1>999999999999 with custom format 000\.00000\.00000; applies to $A:$A
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-07-2011
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Office 365
    Posts
    27

    Re: Custom Format - 123.456.7890

    Ahh.. okok.. the solution is to use 000 as the placeholder.


    Thank you
    Henry

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,941

    Re: Custom Format - 123.456.7890

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

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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. How to change Pivot Chart axis number format to a custom date format
    By paulma1960 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-11-2023, 03:16 PM
  2. Format Cells -> Custom Number with Custom Color
    By Cardan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-22-2021, 08:19 AM
  3. Replies: 5
    Last Post: 01-25-2020, 05:18 PM
  4. Replies: 6
    Last Post: 12-08-2018, 09:26 PM
  5. Custom format to text same as custom format
    By selim69 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-21-2018, 08:12 AM
  6. Changing data input number from (123) 456-7890 to 123-456-7890
    By Explorer Group in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-17-2017, 12:15 PM
  7. [SOLVED] insert a space in a phone #. change (123)456-7890 to (123) 456-78
    By leo in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-14-2005, 10:07 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