Is it possible to name filtered criteria in Advanced Filter?

ie1002

New Member
Joined
Sep 21, 2018
Messages
2
If you have a table of data, say:

NameAgeGender
John Smith45Male
Jane Smith44Female

<tbody>
</tbody>

To which you apply an advanced filter which returns cells with ‘Male’ in the Gender field, is it then possible to assign a name to that filter i.e. return a separate column which will say ‘Men’ for all rows containing ‘Male’?

That would essentially give you mapping for the various filters so that Males would be Men and Females would be Women in this scenario. Is it possible to do that without having that specific mapped column in your source data?
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Yongle

Well-known Member
Joined
Mar 11, 2015
Messages
6,977
Office Version
  1. 365
Platform
  1. Windows
Have a look at Custom View (see View tab)

It allows you to save many different views of your data
- save a view with male filter
- save a view with female filter
 

allstarphg

New Member
Joined
Apr 14, 2016
Messages
4
guys, ineed help how to separate male and female result with high to low sorting?




NAME SCORE
max 5
william 3
susan 7
john 7
cindy 9
lucy 2
thomas 4
jacob 11
lily 9


male score (high to low) score female score (high to low) score
 

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
36,729
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2010
Platform
  1. Windows
  2. MacOS
Do you have a gender column somewhere?
 

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
36,729
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2010
Platform
  1. Windows
  2. MacOS
Just include that column in the sort then. ;)

Also, for future reference, please note the forum rule on cross-posting and comply with it. Thanks.
 
Last edited:

Watch MrExcel Video

Forum statistics

Threads
1,130,029
Messages
5,639,624
Members
417,101
Latest member
amoverton2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top