Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Multiple Column filters

Is there a way to set up a filter to sort by 1 column and then within that
column, delete unwanted rows according to vlaues in another column? For
example, I want to only see the rows that have a value of "B" in col A and of
those records, I only want those with the value of "B" that are greater than
4000. Make sense?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Multiple Column filters

If you apply data|filter|autofilter to the complete range (including those 2
columns), you can filter to show "B" in column A and filter the second column to
show the cells with values 4000.



Kristinf wrote:

Is there a way to set up a filter to sort by 1 column and then within that
column, delete unwanted rows according to vlaues in another column? For
example, I want to only see the rows that have a value of "B" in col A and of
those records, I only want those with the value of "B" that are greater than
4000. Make sense?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Multiple Column filters

Can I do this for multiple values within the same spreadsheet? (Value b
=4000, value c =5000, etc) Also, does it matter if its a csv worksheet?


"Dave Peterson" wrote:

If you apply data|filter|autofilter to the complete range (including those 2
columns), you can filter to show "B" in column A and filter the second column to
show the cells with values 4000.



Kristinf wrote:

Is there a way to set up a filter to sort by 1 column and then within that
column, delete unwanted rows according to vlaues in another column? For
example, I want to only see the rows that have a value of "B" in col A and of
those records, I only want those with the value of "B" that are greater than
4000. Make sense?


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Multiple Column filters

Once you bring the data into excel, it doesn't matter what it was originally.

If you want to keep formatting/formulas/page breaks and that kind of stuff, it
will matter how you save the file. If you save it as a .csv file, then those
things will be lost. .CSV files are plain text.

And you can apply data|filter|autofilter to the range.

Then you can apply any set of filters you want.

You can reset all the filters by using:
data|filter|show all

(Or reset each filter in each column one by one.)

Kristinf wrote:

Can I do this for multiple values within the same spreadsheet? (Value b
=4000, value c =5000, etc) Also, does it matter if its a csv worksheet?


"Dave Peterson" wrote:

If you apply data|filter|autofilter to the complete range (including those 2
columns), you can filter to show "B" in column A and filter the second column to
show the cells with values 4000.



Kristinf wrote:

Is there a way to set up a filter to sort by 1 column and then within that
column, delete unwanted rows according to vlaues in another column? For
example, I want to only see the rows that have a value of "B" in col A and of
those records, I only want those with the value of "B" that are greater than
4000. Make sense?


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Multiple Column filters

Is there a way to retain the results from the first filter and then run the
second? I have a column with 20 criteria, some criteria should be 4000,
some should be 5000 and others should be deleted altogether. I know I need
to use a macro but each time I seem to only end up with the information from
the last filter. Is there a way to do this with a macro?

"Dave Peterson" wrote:

Once you bring the data into excel, it doesn't matter what it was originally.

If you want to keep formatting/formulas/page breaks and that kind of stuff, it
will matter how you save the file. If you save it as a .csv file, then those
things will be lost. .CSV files are plain text.

And you can apply data|filter|autofilter to the range.

Then you can apply any set of filters you want.

You can reset all the filters by using:
data|filter|show all

(Or reset each filter in each column one by one.)

Kristinf wrote:

Can I do this for multiple values within the same spreadsheet? (Value b
=4000, value c =5000, etc) Also, does it matter if its a csv worksheet?


"Dave Peterson" wrote:

If you apply data|filter|autofilter to the complete range (including those 2
columns), you can filter to show "B" in column A and filter the second column to
show the cells with values 4000.



Kristinf wrote:

Is there a way to set up a filter to sort by 1 column and then within that
column, delete unwanted rows according to vlaues in another column? For
example, I want to only see the rows that have a value of "B" in col A and of
those records, I only want those with the value of "B" that are greater than
4000. Make sense?

--

Dave Peterson


--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Multiple Column filters

I like to show all the data between using different filters (if I don't want to
keep that existing criteria).

With Worksheets("sheet999")
If .FilterMode Then
.ShowAllData
End If
'apply the filter criteria that you want.
End With

I'm not sure what should happen between filterings though.

Kristinf wrote:

Is there a way to retain the results from the first filter and then run the
second? I have a column with 20 criteria, some criteria should be 4000,
some should be 5000 and others should be deleted altogether. I know I need
to use a macro but each time I seem to only end up with the information from
the last filter. Is there a way to do this with a macro?

"Dave Peterson" wrote:

Once you bring the data into excel, it doesn't matter what it was originally.

If you want to keep formatting/formulas/page breaks and that kind of stuff, it
will matter how you save the file. If you save it as a .csv file, then those
things will be lost. .CSV files are plain text.

And you can apply data|filter|autofilter to the range.

Then you can apply any set of filters you want.

You can reset all the filters by using:
data|filter|show all

(Or reset each filter in each column one by one.)

Kristinf wrote:

Can I do this for multiple values within the same spreadsheet? (Value b
=4000, value c =5000, etc) Also, does it matter if its a csv worksheet?

"Dave Peterson" wrote:

If you apply data|filter|autofilter to the complete range (including those 2
columns), you can filter to show "B" in column A and filter the second column to
show the cells with values 4000.



Kristinf wrote:

Is there a way to set up a filter to sort by 1 column and then within that
column, delete unwanted rows according to vlaues in another column? For
example, I want to only see the rows that have a value of "B" in col A and of
those records, I only want those with the value of "B" that are greater than
4000. Make sense?

--

Dave Peterson


--

Dave Peterson


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple filters in same column Marko Excel Discussion (Misc queries) 4 April 27th 23 11:45 AM
How do I add multiple filters sam Excel Discussion (Misc queries) 1 June 25th 07 12:56 PM
Multiple Filters in 1 worsheet? Hickeym Excel Discussion (Misc queries) 9 August 25th 06 09:36 PM
Multiple Filters in one Sheet Hickeym Excel Worksheet Functions 1 May 26th 06 08:34 PM
Joining Multiple filters with OR rather than AND Fahad Ashfaque Excel Worksheet Functions 3 April 26th 05 06:29 AM


All times are GMT +1. The time now is 07:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"