TEXT formula - Number of decimal places

Formula11

Board Regular
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
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")``

Formula11

Board Regular

Replies
3
Views
176
Replies
2
Views
372
Replies
18
Views
654
Replies
14
Views
844
Replies
3
Views
1K

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

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.

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

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