TEXT formula - Number of decimal places

Formula11

Active Member
Joined
Mar 1, 2005
Messages
468
Office Version
  1. 365
Platform
  1. Windows
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

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
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")
 
Upvote 0

Forum statistics

Threads
1,223,938
Messages
6,175,526
Members
452,651
Latest member
wordsearch

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
Back
Top