Solved

Steps to Filter data in Excel 2010

Posted on 2011-02-25
8
300 Views
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.
0
Comment
Question by:zachvaldez
  • 3
  • 3
  • 2
8 Comments
 
LVL 92

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.
0
 
LVL 1

Accepted Solution

by:
TerrySolanen earned 200 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.
0
 
LVL 92

Assisted Solution

by:Patrick Matthews
Patrick Matthews earned 50 total points
ID: 34983792
TerrySolanen,

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

:)

Patrick
0
 

Author Comment

by:zachvaldez
ID: 34984970
Is this possible using vb.net?-to somehow automate it.
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 1

Expert Comment

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

0
 

Author Comment

by:zachvaldez
ID: 35008301
then how is the macro called in vb.net
0
 
LVL 1

Expert Comment

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



0
 

Author Comment

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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now