Maths Formula!

TonyHolmes

Board Regular
Joined
Jan 6, 2004
Messages
79
Help! I need a formula to format any whole number or decimal to 1, 2 or 3 significant figures. Can anybody help????
Frustrated Maths Teacher :eek:
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

al_b_cnu

Well-known Member
Joined
Jul 18, 2003
Messages
4,518
Hi,

do you mean Format|Cells, select 'Number & set the 'Decimal Places' as required?

HTH

Alan
 

AlohaJulio

Board Regular
Joined
Feb 10, 2004
Messages
188
Have you tried the round functions? Check out this tip:
http://www.j-walk.com/ss/excel/usertips/tip032.htm

Rounding to n significant digits
Excel includes three functions (ROUND, ROUNDUP, and ROUNDDOWN) that round values to a specified number of digits. In some cases, however, you may need to round a value to a specified number of significant digits.

For example, you might want to express the value 1,432,187 in terms of two significant digits (that is, as 1,400,000). Here's an elegant solution. The formula below rounds the value in cell A1 to the number of significant digits specified in cell A2:

=ROUND(A1,A2-1-INT(LOG10(ABS(A1))
 

DRJ

MrExcel MVP
Joined
Feb 17, 2002
Messages
3,853
Format | Cells | Scientific will get you close. If you set to two decimal places it will give you a three sig fig number. If you have more than three significant figures it will reduce it to three, the problem is if you have 1 or 2 significant figures it will still give you three. i.e. 100 has one sig fig, but willl display as 1.00 E+02 which is three sig figs.
 
Learn Excel from Bill Jelen

Understanding data is crucial, and the easiest place to start is with Microsoft Excel.

Forum statistics

Threads
1,151,491
Messages
5,764,676
Members
425,229
Latest member
Rashid mahmood

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top