+ Reply to Thread
Results 1 to 3 of 3

Significant figures in a column.

  1. #1
    Registered User
    Join Date
    08-06-2008
    Location
    Atlanta
    Posts
    5

    Significant figures in a column.

    Hello,

    I want VBA code to control the number of signficant figures in a column. In column E2:E33, values will be entered in these cells from chemical test. However, I want the values to show only 3 sig figures. (ex. 2.534 will be 2.53 or 1.986 will be 1.99. etc...) How do I do this with code?

    Thanks for any help.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,959
    See the ROUND() function in VBA Help
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    09-23-2008
    Location
    mobile
    MS-Off Ver
    07
    Posts
    43
    What about 12.534 being rounded to 12.5? It would be less precise than 2.53 being rounded from 2.534?

+ 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