Math & Trig All versions ◉ 43 views

=CEILING()

Returns number rounded up, away from zero, to the nearest multiple of significance. For example, if you want to avoid using pennies in your prices and your product is priced at $4.42, use the formula =CEILING(4.42,0.05) to round prices up to the nearest nickel.

Applies To: Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=CEILING(number, significance)
Hover argument names in the table for details.
Output typeNumber
Popularity30 / 100
VolatileNo
Dynamic ArrayNo
Download sample .xlsx ▦ Try in Playground Dedicated file for this function — safe & lightweight · sample data + live formulas
Share:

⬇ Download Sample Workbook

A dedicated .xlsx for =CEILING() with Persian sample data & live formulas — open in Excel and practice.

  • Sheet “Sample” — data table + formula in place
  • Sheet “Guide” — syntax, arguments & tips from this page
  • Instant & secure (token + rate limit)
Download CEILING.xlsx ~ 8–12 KB · No macros

⇪ Share

Send this function to friends

Quiz this function

%d questions — syntax, example & errors — test yourself!

◧ Arguments

ArgumentTypeRequiredDescription
number Number Required The value you want to round.
significance Number Required The multiple to which you want to round.

▣ Examples

Rounds 2.5 up to nearest multiple of 1 =CEILING(2.5, 1)
Result: 3
Rounds -2.5 up to nearest multiple of -2 =CEILING(-2.5, -2)
Result: -4
Rounds -2.5 up to nearest multiple of 2 =CEILING(-2.5, 2)
Result: -2
Rounds 1.5 up to the nearest multiple of 0.1 =CEILING(1.5, 0.1)
Result: 1.5
Rounds 0.234 up to the nearest multiple of 0.01 =CEILING(0.234, 0.01)
Result: 0.24

§ Remarks

  • If either argument is nonnumeric, CEILING returns the #VALUE! error value.
  • Regardless of the sign of number, a value is rounded up when adjusted away from zero. If number is an exact multiple of significance, no rounding occurs.
  • If number is negative, and significance is negative, the value is rounded down, away from zero.
  • If number is negative, and significance is positive, the value is rounded up towards zero.

✦ Tips

  • Regardless of the sign of number, a value is rounded up when adjusted away from zero. If number is an exact multiple of significance, no rounding occurs.
  • If number is negative, and significance is negative, the value is rounded down, away from zero.
  • If number is negative, and significance is positive, the value is rounded up towards zero.

⚠ Common Errors

#VALUE! If either argument is nonnumeric, CEILING returns the #VALUE! error value.
Fix: برای هر دو آرگومان مقدار عددی وارد کنید.

💬 Comments & Q&A 0 approved

🔒 Your comment will be published after review.

Share your thoughts — visible after admin approval

No comments yet — be the first!

✍️ Add comment / question

captcha
🔒 Your comment will be published after review.