Note: The other languages of the website are Google-translated. Back to English

How to round to nearest even or odd number in Excel?

In some cases, you may need to round a list of numbers to their nearest even or odd numbers in Excel. Now this tutorial will tell you the method to round numbers to nearest even or odd number.

Round number to nearest even number

Round number to nearest odd number


arrow blue right bubble Round number to nearest even number

Supposing in range B3:B6 contains the numbers needed to be round to nearest even number, please use one of below formula to handle the job.

To round numbers to nearest even numbers

=IF(ISODD(ROUNDUP(B3,0)),ROUNDDOWN(B3,0),ROUNDUP(B3,0))

Press Enter key to get the first result, and drag autofill handle down to get all results.
doc-round-to-odd-even-1

To round numbers up to nearest even numbers

=EVEN(B3)

Press Enter key to get the first result, and drag autofill handle down to get all results.
doc-round-to-odd-even-1

To round numbers down to nearest even numbers

=IF(ISEVEN(ROUNDUP(B3,0)),ROUNDDOWN(B3,0),ROUNDUP(B3,0))-1

Press Enter key to get the first result, and drag autofill handle down to get all results.
doc-round-to-odd-even-1


arrow blue right bubble Round number to nearest odd number

Supposing in range B3:B6 contains the numbers needed to be round to nearest odd number, please use one of below formula to handle the job.

To round numbers to nearest odd numbers

=IF(ISEVEN(ROUNDUP(B3,0)),ROUNDDOWN(B3,0),ROUNDUP(B3,0))

Press Enter key to get the first result, and drag autofill handle down to get all results.
doc-round-to-odd-even-1

To round numbers up to nearest odd numbers

=ODD(B3)

Press Enter key to get the first result, and drag autofill handle down to get all results.
doc-round-to-odd-even-1

To round numbers down to nearest odd numbers

=IF(ISODD(ROUNDUP(B3,0)),ROUNDDOWN(B3,0),ROUNDUP(B3,0))-1

Press Enter key to get the first result, and drag autofill handle down to get all results.
doc-round-to-odd-even-1


Relative Articles:


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Comments (9)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
=EVEN(A2) DOES NOT Round to the NEAREST(!) Even number. To the best of my knowledge it ROUNDS UP(!) to Nearest Even Number. Try it on: 34.0014 and 20.999. One of the possible formulas to return the Nearest Even number is: =INT(A2/2+0.5)*2
This comment was minimized by the moderator on the site
We use Excel for our Estimating templates and use the following formula to round: =ROUND(A2/2,0)*2 And for our formulas that our foremen receive, we use to folllowing (so they don't have our waste factors, because they'll use that extra 10% of material!): =ROUND(A2/2,-1)*2 Hope this helps!
This comment was minimized by the moderator on the site
I posted my solution above, if you are interested. Know this is kind of old.
This comment was minimized by the moderator on the site
Yep, as I said (quote): "One of the possible formulas to return the Nearest Even number is: =INT(A2/2+0.5)*2"
I, usually, try to use the shortest formula out of many possibilities.
This comment was minimized by the moderator on the site
I came up with this.

=IF(ISODD(ROUNDUP(A4,0)),ROUNDDOWN(A4,0),ROUNDUP(A4,0))
This comment was minimized by the moderator on the site
For the nearest lower, even number: =IF(ISEVEN(ROUNDUP(B6,0)),ROUNDDOWN(B6,0),ROUNDUP(B6,0))-1
This comment was minimized by the moderator on the site
Hi, bb, thanks for your respond. I have modified and updated the article according to your suggestion, now it lists formulas on rounding up or down to nearest odd or even number.
This comment was minimized by the moderator on the site
=IF(EVEN(B6)>B6,EVEN(B6)-2,EVEN(B6)) also works well.
This comment was minimized by the moderator on the site
Thanks for your supplement.
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations