+ Reply to Thread
Results 1 to 3 of 3

How to change different figures format to same format

  1. #1
    Registered User
    Join Date
    08-16-2015
    Location
    Doha
    MS-Off Ver
    2010
    Posts
    2

    How to change different figures format to same format

    Dear All,

    i am looking for a formula / alternative in order to have a list of figures with different forma to same same figures with same format.

    Example in column A, the list of different format:

    163-8899 9684
    169 56332141
    184-4563-3366
    157 5896 5412

    i would like to have all these figures in same format as follow:
    XXX XXXX XXXX
    3 figures space 4 figures space 4 figures

    Any idea how to proceed please ?

    thanks in advance !

    cheers.

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: How to change different figures format to same format

    Try this formula
    Assuming data starts in A1 and formula in B1

    =TEXT(SUBSTITUTE(SUBSTITUTE(A1,"-","")," ",""),"000 0000 0000")
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    08-16-2015
    Location
    Doha
    MS-Off Ver
    2010
    Posts
    2

    Re: How to change different figures format to same format

    Thanks !! Perfectly working !!

+ 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. Show Error when a cell with number format change to date format
    By delroba in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-08-2015, 02:57 AM
  2. Replies: 3
    Last Post: 02-24-2015, 02:58 AM
  3. [SOLVED] help on vba code to change the error date format as standard format mm/dd/yyyy
    By johnodys in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-13-2013, 01:10 AM
  4. Replies: 3
    Last Post: 05-15-2013, 12:16 AM
  5. Userform date format reverting back to us format on change event
    By jpruffle in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-10-2009, 12:34 PM
  6. [SOLVED] Lock Cell Format - Allow copy and paste of data without format change
    By Chris12InKC in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-11-2006, 12:50 AM
  7. Change General Format to Currency Format:figures together
    By ScottO in forum Excel Formulas & Functions
    Replies: 9
    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