+ Reply to Thread
Results 1 to 5 of 5

Number Format

  1. #1
    Registered User
    Join Date
    01-02-2015
    Location
    Washington
    MS-Off Ver
    Excel 2013
    Posts
    1

    Number Format

    I am wondering how I can format:
    $985k

    To:
    $0.985

    Without just simply typing it since I have hundreds of cells to reformat with slightly different numbers.I don't know how to remove the k and I don't know how to make the 985 become .985

    Thanks

  2. #2
    Forum Contributor
    Join Date
    10-29-2014
    Location
    udaipur, rajasthan
    MS-Off Ver
    2007
    Posts
    352

    Re: Number Format

    Hi Rico,

    first thing in this have u manually written 985k..?
    If answer helped you say Thanks by Add Reputation

  3. #3
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Number Format

    You could use Find & Replace (Ctrl + H):
    Replace "k" with 000
    Replace $ with nothing (leave the replace box blank)
    Then format the cells using a custom number format of:
    #,##0.000,,
    for example.
    Remember what the dormouse said
    Feed your head

  4. #4
    Registered User
    Join Date
    04-03-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010, Excel 2013
    Posts
    75

    Re: Number Format

    ...If its all by the same factor (aka 1,000,000) then couldn't you just insert a column with the formula "=*cell with first number*/1000000" and then double click bottom right corner to fill down. problem solved? Occam's Razor?

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Number Format

    This custom format will produce the formatting that you want

    $0\.000

    You can use Search and replace to get just the numbers or you can use a formula like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Result:

    A
    B
    C
    D
    E
    F
    1
    Original Seach and Replace Formatting applied
    2
    $985K
    985
    $0.985
    3
    $456K
    456
    $0.456
    4
    $982K
    982
    $0.982
    5
    $1234K
    1234
    $1.234
    6
    985K
    985
    $0.985
    7
    8
    Use Formula
    9
    $985K
    $0.985
    =SUBSTITUTE(SUBSTITUTE(A8,"$",""),"K","")*1
    10
    $456K
    $0.456
    11
    $982K
    $0.982
    12
    $1234K
    $1.234
    13
    985K
    $0.985
    14
    15
    Custom cell formatting $0\.000
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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] Set local number format from Dutch format Number
    By JimmyA in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-23-2012, 07:40 AM
  2. How to change a - number format to a positive number format ?
    By leanne2011 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-25-2011, 10:14 AM
  3. Replies: 1
    Last Post: 05-18-2006, 11:45 PM
  4. Replies: 2
    Last Post: 11-11-2005, 09:05 AM
  5. Number format based on number format of another cell in another workbook
    By Rob in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-09-2005, 01:06 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