+ Reply to Thread
Results 1 to 4 of 4

Changing units in cell?

  1. #1
    Registered User
    Join Date
    06-26-2006
    Location
    New York
    MS-Off Ver
    Office Pro 2003 primarily, some 2007
    Posts
    85

    Changing units in cell?

    I often have data that is for numbers in the billions. For various reasons (table size, comparability between the numbers, etc...) I'd like to be able to change the display for the cell to be $b, or $m (and have the ability to quickly switch the formatting back and forth between the two) while having the whole value of the cell remain as the full number. So for example, the number 1,000,000,000 could be displayed as either 1 (if formatted as billions) or 1,000 (if formatted as millions) but the value would always be 1,000,000,000.

    It seems something like this should be available via custom number formatting, but I haven't come across it there or anywhere else. Have I been missing something obvious?
    Last edited by dylanemcgregor; 08-31-2009 at 03:37 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Changing units in cell?

    Trailing commas in custom number formats divide by 1000; so 0,,;-0,,;0 displays in millions.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Changing units in cell?

    Try these custom formats...

    $0,,"m"

    and

    $0,,,"b"

  4. #4
    Registered User
    Join Date
    06-26-2006
    Location
    New York
    MS-Off Ver
    Office Pro 2003 primarily, some 2007
    Posts
    85

    Thumbs up Re: Changing units in cell?

    Thank you both. This is perfect, I've never done much with the custom formatting and had no idea that is how this would work. I didn't even know that you could put the "m" in the formatting and not screw up the number.

    I tell you, just when I think I'm starting to know Excel fairly OK, something basic like this comes along and I realize I've been making my job much harder than it needs to be for the last 5 years.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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