FIXED Function - Microsoft Support
Maybe your like
This article describes the formula syntax and usage of the FIXED function in Microsoft Excel.
Description
Rounds a number to the specified number of decimals, formats the number in decimal format using a period and commas, and returns the result as text.
Syntax
FIXED(number, [decimals], [no_commas])
The FIXED function syntax has the following arguments:
-
Number Required. The number you want to round and convert to text.
-
Decimals Optional. The number of digits to the right of the decimal point.
-
No_commas Optional. A logical value that, if TRUE, prevents FIXED from including commas in the returned text.
Remarks
-
Numbers in Microsoft Excel can never have more than 15 significant digits, but decimals can be as large as 127.
-
If decimals is negative, number is rounded to the left of the decimal point.
-
If you omit decimals, it is assumed to be 2.
-
If no_commas is FALSE or omitted, then the returned text includes commas as usual.
-
The major difference between formatting a cell containing a number by using a command (On the Home tab, in the Number group, click the arrow next to Number, and then click Number.) and formatting a number directly with the FIXED function is that FIXED converts its result to text. A number formatted with the Cells command is still a number.
Example
Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.
| Data | ||
| 1234.567 | ||
| -1234.567 | ||
| 44.332 | ||
| Formula | Description | Result |
| =FIXED(A2, 1) | Rounds the number in A2 one digit to the right of the decimal point. | 1,234.6 |
| =FIXED(A2, -1) | Rounds the number in A2 one digit to the left of the decimal point. | 1,230 |
| =FIXED(A3, -1, TRUE) | Rounds the number in A3 one digit to the left of the decimal point, without commas (the TRUE argument). | -1230 |
| =FIXED(A4) | Rounds the number in A4 two digits to the left of the decimal point. | 44.33 |
Need more help?
Want more options?
DiscoverCommunityExplore subscription benefits, browse training courses, learn how to secure your device, and more.
Microsoft 365 subscription benefits
Microsoft 365 training
Microsoft security
Accessibility center
Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.
Ask the Microsoft Community
Microsoft Tech Community
Windows Insiders
Microsoft 365 Insiders
Was this information helpful?
Yes No (Send feedback to Microsoft so we can help.) What affected your experience? Resolved my issue Clear instructions Easy to follow No jargon Pictures helped Other Didn't match my screen Incorrect instructions Too technical Not enough information Not enough pictures Other Any additional feedback? (Optional) Submit feedback By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.Thank you for your feedback!
×Tag » Add Decimal Excel Formula
-
How To Add Decimal Places In Excel (Automatically)
-
How To Add Decimal Points Automatically In Excel | Laptop Mag
-
Add Decimal Places To An Existing Data Set - No Formulas Needed.
-
Round A Number To The Decimal Places I Want - Microsoft Support
-
Thread: Add Decimal Point To Existing Number - Excel Help Forum
-
Excel Insert Missing Decimal Points - 2364 - YouTube
-
How To Automatically Insert Decimal Points In Excel
-
Excel Formula: Add Decimal Hours To Time - Exceljet
-
Inserting A Decimal Point To Number In Excel - Super User
-
How To Add More Decimal Places In Excel & Google Sheets
-
How To Change The Number Of Decimal Places In Excel - Lifewire
-
Inserting 2-digit Decimal Point In Existing Numbers Within A Column
-
How To Insert Decimal Points Automatically In Excel 2010 Article
-
How To Limit Number Of Decimal Places In Formula In Excel?