Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an Excel workbook with a lot of rows in it. I filter it using the values of one column and then I want to save the filtered results to a CSV file. When I do "Save as..." I get all the rows. I can copy paste the filtered results to another sheet and save from there but I'd rather not. It's Excel 2003 primarily.

share|improve this question
    
AFAIK, it may not be possible until if we write some macro. –  ukanth Nov 5 '09 at 10:03
    
Install ASAP Utilities and you can do "Remove Hidden Rows" before you save the spreadsheet. –  ta.speot.is Mar 29 '10 at 10:05

3 Answers 3

Use an advanced filter to filter and paste the results as values into a new worksheet in one go which at least saves a step and is probably more reproducable in fewer clicks every time after the first. You can also select only the columns you want and in any order.

Debra's site is probably the best resource for examples on this:

[www.contextures.com][1]

[1]: http:// www.contextures.com

share|improve this answer
    
I get a You can only copy filtered data to the active sheet error when trying this with Excel 2007 Advanced Filter 'Copy to another location' option. –  Tyson Oct 8 '13 at 3:30

CSV format will not save formatting, formulas or filtering, as you have discovered. You must either, only copy what you want to save to a new sheet and save it as CSV or save to an excel format.

share|improve this answer

Use a pivot table. Click on any location in your table, Click Insert, select Pivot Table, then set up the columns you want to keep. You can filter a Pivot table then save as CSV or text (tab delimited). It saves only the filtered pivot table.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.