Function Problems

Excel Formula to Round Up to a Number Ending in 9

Huma Ashraf ChHuma Ashraf Ch Nov 18, 2026 870 views

Question details

Find a formula that rounds decimal values up to a number ending in 9.

Round Up to a Number Ending in 9 in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet contains decimal values that need to be rounded up to an integer ending in 9.
Observed behavior
Values such as 1277.78 and 1014.88 should return 1279 and 1019, respectively.
Before you start

Check that the source values are stored as numbers and identify the first cell in the column. The example below assumes the first value is in B2 and the result will go in C2.

Solution 1Recommended

Use CEILING to Round Up to a Number Ending in 9

Use this formula to find the smallest integer ending in 9 that is greater than or equal to the source value.

1
Enter the formula

Select cell C2, type =CEILING(B2+1,10)-1, and press Enter. Change B2 if your source value is in a different cell.

2
Check the result

Enter 1277.78 in B2 to verify that C2 returns 1279, or enter 1014.88 to check for 1019.

3
Fill down

Select C2 and drag the fill handle down alongside the remaining values in column B.

Use CEILING to Round Up to a Number Ending in 9
Values already ending in 9: If the source is already an integer ending in 9, such as 1279, the formula returns that same value.
Round numbers in WPS Spreadsheets

Round Values Up to 9 in WPS Spreadsheets

Use the CEILING formula in WPS Spreadsheets to round values up to an integer ending in 9 and apply the calculation down a column.

  1. 1. Open the worksheet: Open WPS Spreadsheets and use Open to select your workbook.
  2. 2. Enter the formula: Select C2, enter =CEILING(B2+1,10)-1, and press Enter. Adjust B2 to match the first source cell.
  3. 3. Apply it to the column: Select C2 and drag its fill handle down to calculate results for the remaining rows.
  4. 4. Save the workbook: Use File > Save or Save As to save the worksheet in your preferred format.
Round decimal values to an integer ending in 9Open and edit Microsoft Excel XLSX filesFill a formula down a column of valuesUse familiar spreadsheet formulas and controls
microsoft office alternative - wps office

Frequently Asked Questions

What happens if the original number already ends in 9?

The formula =CEILING(B2+1,10)-1 returns the same value when B2 is already an integer ending in 9. For example, 1279 remains 1279.

How can I always get a strictly higher number ending in 9?

Enter =10*INT((B2+1)/10)+9 in the result cell. Unlike the CEILING formula, it returns 1289 when B2 is already 1279.

How do I apply the formula to an entire list?

Enter the formula in C2, select that cell, and drag its fill handle down. The B2 reference adjusts for each row.

Can I use the same formula in WPS Spreadsheets?

Yes. Open the workbook in WPS Spreadsheets, select a result cell, and enter =CEILING(B2+1,10)-1, changing B2 to the source cell if needed.