TEXT formula - Number of decimal places

Formula11

Board Regular
Joined
Mar 1, 2005
Messages
240
The TEXT formula can be used to show numbers as text.
The cell which has the TEXT formula can be used in future calculations as well.

In the example below the number is rounded to 1 decimal place.
If there were hundreds of these cells to be summed, the result will have accumulated error.
Is there a way to allow for both:
1. Show all cells with 1 decimal place.
2. Sum 100 cells without the accumulated error.

NOTE: This question relates to the TEXT formula.

Excel Formula:
=TEXT(A1/B1,"##0.0")
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

jasonb75

Well-known Member
Joined
Dec 30, 2008
Messages
14,610
Office Version
  1. 365
Platform
  1. Windows
If you use a formula on the text function then the formula will see the value as it is displayed, not the actual value.

If you specifically require the text function then you will need to increase the number of decimal places shown, or recalculate the original data to sum without using the text function.
Excel Formula:
=TEXT(SUM(A1:A100/B1:B100),"#0.0")
 
Learn Excel from Bill Jelen

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

Forum statistics

Threads
1,151,697
Messages
5,765,977
Members
425,320
Latest member
Galin

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