+ Reply to Thread
Results 1 to 4 of 4

Need vba code/formula to find exponential value

  1. #1
    Registered User
    Join Date
    12-10-2011
    Location
    Chennai
    MS-Off Ver
    Excel 2007
    Posts
    56

    Need vba code/formula to find exponential value

    Hi All,

    I need a Vba code/ formula to find whether a cell in a particular column has exponential value

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Need vba code/formula to find exponential value

    Karthik Sen,

    I'm afraid I don't know what you mean.
    Do you mean, "is the cell equal to e^# (Where # is a whole number)?"

    If not, then what do you mean "has exponential value"? What is the logic you would like to use to determine yes/no?
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    12-10-2011
    Location
    Chennai
    MS-Off Ver
    Excel 2007
    Posts
    56

    Re: Need vba code/formula to find exponential value

    Quote Originally Posted by tigeravatar View Post
    Karthik Sen,

    I'm afraid I don't know what you mean.
    Do you mean, "is the cell equal to e^# (Where # is a whole number)?"

    If not, then what do you mean "has exponential value"? What is the logic you would like to use to determine yes/no?
    My apologies...its actually not exponential..i need to find whether there are any cells in a particular column which is in "Scientific" format. ex: 7.58E+09

  4. #4
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Need vba code/formula to find exponential value

    If a cell is formatted as general, but the length of the number exceeds the width of the cell, the number will show as being in scientific format, even though the cell is actually in General format. This makes it difficult to distinguish between cells that are actually formatted as scientific, and cells that are general, but show scientific notation to save display space.

    If the cells you're looking for are actually formatted as scientific, you can search for cells of that format: http://office.microsoft.com/en-us/ex...005200214.aspx

    If the cels you're looking for are formatted as general, but display scientific notation to save display space, you could use conditional formatting to highlight all cells larger than a value, for example: >1e9

+ 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