+ Reply to Thread
Results 1 to 6 of 6

Problem with formatting a cell display

  1. #1
    Registered User
    Join Date
    12-22-2012
    Location
    Amterdam
    MS-Off Ver
    Office 365
    Posts
    17

    Problem with formatting a cell display

    Hello,
    Can anybody please help me with the following formatting of a cell:
    Suppose I have a number i.e.: 0,00055 in excel you can use scientific format i.e.: 5,50E-04
    But I would like to see it like this: 0,55E-03 can this automatically been done?
    So for instance 0,00105 will become: 1,05E-03

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Problem with formatting a cell display

    Well, the closest I came up with is:
    ##0.00E+00
    This is typically called 'Engineering' format. It forces the number after the E to be a multiple of 3 and to always have the left hand number be >=1. I think this is what you are looking for, but note that 0.55E-3 is not Engineering format, it would become 550.0E-06.

    To get something that matches your first example (but not your second):
    "0".##0E+00
    Last edited by Pauleyb; 05-27-2014 at 03:44 PM.
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

  3. #3
    Registered User
    Join Date
    12-22-2012
    Location
    Amterdam
    MS-Off Ver
    Office 365
    Posts
    17

    Re: Problem with formatting a cell display

    Thanx for helping,

    Using you're suggestion: ##0.0E+00 results in 12E4 for 0,0012.
    I wish it would become: 1,20E-3 and for e.g. 0,00085 0,85E-3.

    Any tips?

    Onno

  4. #4
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Problem with formatting a cell display

    Maybe you need to change the period to a comma.
    ##0,00E+00
    For me, 0.0012 does become 1.20E-03, but .00085 becomes 850.00E-06 (which matches engineering notation).

  5. #5
    Registered User
    Join Date
    12-22-2012
    Location
    Amterdam
    MS-Off Ver
    Office 365
    Posts
    17

    Re: Problem with formatting a cell display

    Hi, The , make sence and the first example 0,012 works but the second not.
    Oops I really wish to see 0,00085 like this 0,85E-3
    Thanx for helping me

  6. #6
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Problem with formatting a cell display

    Hi Onno,

    I came up with a customized function that should display numbers the way you want. If you use the function, you may want to place the original numbers in a hidden column or hidden row.

    I do not suggest using this function for calculations, because several siginficant digits of resolution may be lost due to rounding. See the attached file which implements the following code.

    Lewis

    Please Login or Register  to view this content.

+ 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. input box problem, cell filtering problem, result display while locking sheet
    By croozin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-01-2013, 08:52 AM
  2. [SOLVED] Formatting/Display problem
    By Philfy in forum Excel General
    Replies: 3
    Last Post: 03-14-2013, 11:58 AM
  3. display text and its formatting in other cell
    By Ricky's Dad in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-21-2008, 10:20 PM
  4. cell formatting display
    By CaptainObvious in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 05-27-2008, 07:57 AM
  5. [SOLVED] Formatting Cell To Display Value Instead Of Formula
    By derek_m_taylor in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-17-2006, 06:10 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