Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to quickly filter or hide even or odd numbers in Excel?

Sometimes you may need to filter all even numbers from a column and hide all odd numbers, and vice versa. Here is an easy way to filter the even or odd numbers from a selected column easily.

arrow-big arrow-big
Normal numbers   Odd numbers   Even numbers

Filter even or odd numbers with formula and Filter function

Sort or filter even or odd numbers with Kutools for Excel good idea3

Tabbed browsing & editing multiple Excel workbooks/Word documents as Firefox, Chrome, Internet Explore 10!

You may be familiar to view multiple webpages in Firefox/Chrome/IE, and switch between them by clicking corresponding tabs easily. Here, Office Tab supports similar processing, which allow you to browse multiple Excel workbooks or Word documents in one Excel window or Word window, and easily switch between them by clicking their tabs. Click for free 45-day trial of Office Tab!

ot excel

You can follow these steps to filter all even numbers and hide all odd numbers in Column A.

Step 1: In a blank column, for example the Column C, enter the formula of =ISEVEN(A1) in Cell C2, and press the Enter key.

This formula will identify the number in Cell A1 is an even number or not. If the number in Cell A1 is even, it returns True, otherwise False.

Step 2: Select the Column C, and click the Home >> Fill >> Down to copy this formula to the entire Column C.

Now it fill Column C with formula, and display False and True, as following screen shot shows:

Step 3: Select the Column C, and click the Data >> Filter.

Step 4: Click the Arrow in Column C, uncheck (Select All) item, and check TURE in the filter box. See the following screen shot:

Step 5: Click OK.

Now it filters all even numbers in Column A as soon as possible.

Note:

  • If you want to filter the odd numbers, you can check the FALSE item in Step 4.
  • You can also apply the formula of =ISODD(A1) to identify the number in Column A are odd or not, and then filter them.
  • The formula of =MOD(A1,2) is also available to determine the number in Cell A1 is even or not. If the number in Cell A1 is even, it returns 0, otherwise 1 for odd numbers.

If you want to sort or hide numbers by even or odd numbers, you can apply Kutools for Excel's Advanced Sort utility, with it, you can quickly do advanced sorting on data, such as sort by even or odd, sort by month, sort by text length and so on.

Kutools for Excel, with more than 200 handy functions, makes your jobs easier. 

After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)

1. Select the numbers and click Enterprise > Advanced Sort. See screenshot:
doc filter even odd 1

2. In the Advanced Sort dialog, if there is header in the column, check My data has headers. And select the column you want to sort, and choose Odd and even nunber from the Sort On list, and A to Z indicates to sort even number fist, in reverse, Z to A means to place odd number in the front. See screenshot:
doc filter even odd 2

3. Click Ok, and the even numbers sort first then followed by odds.
doc filter even odd 3

4. If you want to hide odd numbers, you can select the odd numbers rows, and right click to choose Hide from the context menu.
doc filter even odd 4

Now, the odd numbers are hidden.
doc filter even odd 5

Tip. If you want to have a free trial of the Advanced Sort function, please go to free try Kutools for Excel first, and then go to apply the operation according above steps.



Kutools for Excel: 300 + functions you must have in Excel, 60-day free trial from here

Easily Combine multiple sheets/Workbook into one Single sheet or Workbook

To combinne multiples sheets or workbooks into one sheet or workbook may be edious in Excel, but with the Combine function in Kutools for Excel, you can combine merge dozens of sheets/workbooks into one sheet or workbook, also, you can consolidate the sheets into one by several clicks only.  Click for 60 days free trial!
combine sheets
 
Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days.

Related Article:

How to filter every other row (even /odd rows) in Excel?


Excel Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 70%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 80% Excel problems.

  • Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  • Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  • Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  • No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  • Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  • 60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  • Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    amin · 2 years ago
    thank you it was very useful :)
  • To post as a guest, your comment is unpublished.
    RAYMOND BUTLER · 5 years ago
    Saturday, May 10, 2014

    I have tried unsuccessfully to create an Excel function to complete the following task for a stated cell value:

    IF(AND(A1=EVEN,A1>0,A10,A1
    • To post as a guest, your comment is unpublished.
      Joey Gomes · 5 years ago
      You are making a mistake here, it should look like this:
      =IF(AND(ISEVEN(A1),A1>0),A10,A1)

      To be sure that the value of A1 is used do it like this:
      =IF(AND(ISEVEN(VALUE(A1)),VALUE(A1)>0),A10,A1)