+ Reply to Thread
Results 1 to 3 of 3

replace value and devide by 1000 for selected cells only

  1. #1
    Forum Contributor
    Join Date
    05-06-2015
    Location
    Sri Lanka
    MS-Off Ver
    2016, 2007
    Posts
    135

    replace value and devide by 1000 for selected cells only

    hello, I have some imported which has columns with B and M after some values. (B = Billion, M = Million) I need only the value in Billions. Therefore I replaced B with "" (nothing) it solved my problem partially. Now if I replace M, as I need the values in Billions, I also need to divide those cells by 1000. M values are in multiple columns. I don't know how to do this. any help would be really appreciated.

    Capture.JPG

    I can't attach sample file, IDK why.
    Last edited by Dineth; 04-30-2018 at 05:10 PM.

  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: replace value and devide by 1000 for selected cells only

    Here is a formula that will convert text entered values to real numbers to thousands, millions and billions.
    Enter in G2 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v F G
    1
    2 12.5 K 12,500
    3 115.57 K 115,570
    4 325.7 M 325,700,000
    5 41.2518 B 41,251,800,000

    Or a little bit shorter
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by AlKey; 04-30-2018 at 09:32 PM.
    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
    Forum Contributor
    Join Date
    05-06-2015
    Location
    Sri Lanka
    MS-Off Ver
    2016, 2007
    Posts
    135

    Re: replace value and devide by 1000 for selected cells only

    thanks a lot. this solves mu problem

+ 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. Replace text for selected cells only
    By Hall in forum Excel General
    Replies: 5
    Last Post: 01-02-2021, 05:11 PM
  2. [SOLVED] Search and replace - but only on selected cells?
    By timsharp03 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-24-2016, 05:36 AM
  3. [SOLVED] replace 1000 with nothing
    By ammartino44 in forum Excel General
    Replies: 7
    Last Post: 04-09-2015, 11:03 PM
  4. Devide cell content into several cells intelligently
    By protaylort in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-01-2015, 01:39 PM
  5. Find and Replace in selected cells only
    By Davidns in forum Excel General
    Replies: 5
    Last Post: 03-20-2012, 05:05 AM
  6. How to devide one text cell into two cells
    By Mula in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-09-2009, 07:32 AM
  7. Divide selected cells by 1000
    By Lowkey in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-25-2006, 06:45 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