# 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

Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

#### 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")``

Replies
3
Views
150
Replies
2
Views
249
Replies
18
Views
494
Replies
14
Views
666
Replies
3
Views
743

1,148,187
Messages
5,745,230
Members
423,936
Latest member
Conservatopia

### 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.

### Which adblocker are you using?

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