+ Reply to Thread
Results 1 to 4 of 4

Help with charting exponential numbers

  1. #1
    Forum Contributor
    Join Date
    10-27-2019
    Location
    London
    MS-Off Ver
    365
    Posts
    179

    Help with charting exponential numbers

    Hi all,

    Apologies if this question is too dumb or very simple. but I struggle to solve this . I need to make a very basic scatter chart. I need to plot the days on the X axis and cell densities on the Y axis. The source data was in the exponential format and the measurement is generally graphed like that as well. But my graph just does not seem to like it . I even tried to replace the "x" with "*" and tried with and without spaces, so Excel would undestand it, but no avail, What am I doing wrong? Thanks.

    image.png

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,809

    Re: Help with charting exponential numbers

    n.nx10^e is a text string to Excel.
    n.nEe is a number (in standard computer exponential format).
    I would replace "x10^" with "E" and then convert to number.

    You haven't said where the numbers are coming from, so it is difficult to be more specific.
    A) If they are hand entered numbers, simple use e or E on your keyboard instead of x10^ or *10^". Enter 1E6 for the first example, 3.4e6 for the second example, and so on. If the cell was formatted as "general" before the data entry, Excel will assume you intend to use a scientific format and "helpfully" apply a default "0.00E+0" format to the cell. If you don't like the scientific format, apply whatever format you like (just recognize that if you apply "General" again, the same thing will happen the next time you enter a value).
    B) If these are text strings imported from a csv or other text file, use Find/Replace after importing the text. Find what: "x10^" Replace with: "E". If Excel does not automatically convert the result n.nEe text to a number, use any of these strategies for converting numbers stored as text to numbers: https://support.microsoft.com/en-us/...rs=en-us&ad=us Again, Excel may choose to "helpfully" format the resulting cell as scientific "0.00E+0".
    C) If you decide a formula is better than a find replace command, use SUBSTITUTE() =VALUE(SUBSTITUTE(B2,"*10^","E"))

    Something along those lines should work. Once you have the text converted to numbers, your chart should work just fine.
    Last edited by MrShorty; 03-10-2021 at 04:37 PM.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Contributor
    Join Date
    10-27-2019
    Location
    London
    MS-Off Ver
    365
    Posts
    179

    Re: Help with charting exponential numbers

    It worked exactly as you said and excel automatically changed it to scientific. Is there any way to have the x10 format in the chart axis though, possibly labels as well if I choose to have them? Thanks.
    scientific.PNG
    Last edited by daithy; 03-11-2021 at 04:30 PM.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,809

    Re: Help with charting exponential numbers

    Is it possible? Yes, it is possible. The real question is -- is it worth the effort. Excel does not have anything like a mantissax10superscriptexponent number format, so it must be done as text with only part of the text superscripted. Manually it is relatively easy, but tedious. It can be automated with VBA (or your favorite macro language if you prefer a different language), but that requires an investment in time up front to program and debug the procedure. In my field, people don't usually make noise about the way Excel (and other programming languages) display exponential notation, so it is usually not worth the effort to pretty up the number format in this way. I also know that some journals and audiences can be rather insistent on using the standard scientific format.

    Review this tutorial that shows how to do it: https://peltiertech.com/Excel/Charts...cNotation.html See what you decide to do.

+ 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. Exponential value for larger numbers
    By gan_xl in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-27-2014, 12:28 PM
  2. Replies: 3
    Last Post: 08-20-2013, 03:59 AM
  3. Replies: 2
    Last Post: 04-21-2010, 04:41 PM
  4. Converting exponential numbers
    By LAF in forum Excel General
    Replies: 3
    Last Post: 01-27-2010, 02:02 PM
  5. Excel exponential numbers problem
    By nathon in forum Excel General
    Replies: 1
    Last Post: 10-28-2009, 08:54 AM
  6. Avoiding exponential numbers during import.
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-17-2008, 03:14 AM
  7. [SOLVED] exponential numbers in cells
    By dick in forum Excel General
    Replies: 4
    Last Post: 06-27-2006, 06:10 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