Jump to content
Sign in to follow this  
hacks

A clever trick for filtering odd and even rows in Excel

Recommended Posts

Excel’s filtering feature is powerful and the new table-filtering feature offers even more. However, there’s one thing neither can do: neither can filter a data set by odd or even rows. Fortunately, it’s easy to do. Simply add an extra column to the data set as follows and filter by the results:

 

In an adjacent column, use the =ISEVEN() or =ISODD() function, referencing any cell in that row.

Double-click the cell’s fill handle to copy the formula to the remaining range.

 

12170.jpg

 

12171.jpg

 

Next, enable a simple filter by selecting any cell in the data range and clicking Filter in the Sort & Filter group on the Data tab.

 

12172.jpg

 

Click the new column’s filter dropdown and choose False or True. False will display odd rows; True will display even rows.

 

12173.jpg

 

12174.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×