Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Steps to Filter data in Excel 2010

Posted on 2011-02-25
Medium Priority
Last Modified: 2012-05-11
I have a column that needs to be filtered.
Id like to get all ID that start with 8 to second worksheet and ID with 9 to the third worksheet.
Can someone tell me steps to achieve it.
Question by:zachvaldez
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
LVL 93

Expert Comment

by:Patrick Matthews
ID: 34982359
Apply the AutoFilter by clicking the Filter button on the Ribbon.

In the ID column, click the down-pointing arrow to select only rows that equal 8.  Now, select the visibale rows, hit Ctrl+C to copy, and go to sheet2 and paste.

Go back to the original sheet, change your filter criterion to 9, and then copy and paste to sheet3.

Accepted Solution

TerrySolanen earned 800 total points
ID: 34983692
matthews process works if you have a few handfuls of IDs to select.  If you have more, here's another way:
Apply the Autofilter
In the drop down menu that shows when you click on the down-pointing arrow on the ID column, choose "Number Filter", which expands into another menu.  
From that menu, choose "Custom Filter" at the bottom.  This should open a new dialog window called Custom Autofilter.
Change "equals" to "Begins with" and enter "8".
Click OK, and you should see only ID values that begin with an 8.

If your numbers are stored as numbers, this won't work--then there's another step to take:
select the column ID (the entire column)
On the Ribbon, go to Data, and click "text to Columns"
Click Next, Next again, and then "Text" and OK.

This converts all the numbers to text (they should be left justified now).  Now the steps I listed above will work.
LVL 93

Assisted Solution

by:Patrick Matthews
Patrick Matthews earned 200 total points
ID: 34983792

Thank you for clarifying that.  Somehow I read "equals 8" and "equals 9" when of course I should have read "begins with...".


Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Author Comment

ID: 34984970
Is this possible using vb.net?-to somehow automate it.

Expert Comment

ID: 34998271
You could use the macro recorder to record a macro.


Author Comment

ID: 35008301
then how is the macro called in vb.net

Expert Comment

ID: 35008718
I'm not sure, I've only coded in VBA.  But, in VBA, macros are called like this:
 "Call MacroName()"


Author Comment

ID: 35008963
thanks, i ll make some future inquiries.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question