How I use Advace Filter option for this?

thara05

New Member
Joined
Mar 28, 2014
Messages
30
I want to filter the data if 'position' equal to clerk or secretory using advance filter option.

This is my data table :

NamePositionSalaryNet Salary
EvenAccountantRs.80,000.00Rs.64,000.00
ReymondAdministratorRs.89,000.00Rs.71,200.00
WilleeAdministratorRs.75,000.00Rs.60,000.00
BenAdministratorRs.85,000.00Rs.68,000.00
DeenClerkRs.60,000.00Rs.48,000.00
FillenClerkRs.40,000.00Rs.32,000.00
MoorClerkRs.35,000.00Rs.28,000.00
SandyClerkRs.50,000.00Rs.40,000.00
FredClerkRs.59,000.00Rs.47,200.00
NancyClerkRs.55,000.00Rs.44,000.00
RondyManagerRs.94,000.00Rs.75,200.00
NoorManagerRs.78,000.00Rs.62,400.00
Dandy SecretoryRs.40,000.00Rs.32,000.00
GrueSecretoryRs.56,000.00Rs.44,800.00
SalleSecretoryRs.55,000.00Rs.44,000.00

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>

I had tried it like this, but I it wasn't no luck.

NamePositionPositionSalaryNet Salary
ClerkSecretory

<colgroup><col span="2"><col><col span="2"></colgroup><tbody>
</tbody>

hope somebody may help me.

Thank you.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
NamePositionSalaryNet Salary
EvenAccountant80,000.0064,000.00
ReymondAdministrator89,000.0071,200.00
WilleeAdministrator75,000.0060,000.00
BenAdministrator85,000.0068,000.00
DeenClerk60,000.0048,000.00
FillenClerk40,000.0032,000.00
MoorClerk35,000.0028,000.00
SandyClerk50,000.0040,000.00
FredClerk59,000.0047,200.00
NancyClerk55,000.0044,000.00
RondyManager94,000.0075,200.00
NoorManager78,000.0062,400.00
DandySecretory40,000.0032,000.00
GrueSecretory56,000.0044,800.00
SalleSecretory55,000.0044,000.00
Position(All)
NameDataTotal
DandySum of Salary40000
Sum of Net Salary32000
DeenSum of Salary60000
Sum of Net Salary48000
FillenSum of Salary40000
Sum of Net Salary32000
FredSum of Salary59000
Sum of Net Salary47200
GrueSum of Salary56000
Sum of Net Salary44800
MoorSum of Salary35000
Sum of Net Salary28000
NancySum of Salary55000
Sum of Net Salary44000
SalleSum of Salary55000
Sum of Net Salary44000
SandySum of Salary50000
Sum of Net Salary40000
Total Sum of Salary450000
Total Sum of Net Salary360000

<colgroup><col><col><col><col><col span="3"><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
a simple pivot table with the non required job titles excluded - you could pull the data to a neater formatted table if you wanted....
 
Upvote 0
We have in A:D with headers in row 1...

Name
Position
Salary
Net Salary
Even
Accountant
Rs.80,000.00
Rs.64,000.00
Reymond
Administrator
Rs.89,000.00
Rs.71,200.00
Willee
Administrator
Rs.75,000.00
Rs.60,000.00
Ben
Administrator
Rs.85,000.00
Rs.68,000.00
Deen
Clerk
Rs.60,000.00
Rs.48,000.00
Fillen
Clerk
Rs.40,000.00
Rs.32,000.00
Moor
Clerk
Rs.35,000.00
Rs.28,000.00
Sandy
Clerk
Rs.50,000.00
Rs.40,000.00
Fred
Clerk
Rs.59,000.00
Rs.47,200.00
Nancy
Clerk
Rs.55,000.00
Rs.44,000.00
Rondy
Manager
Rs.94,000.00
Rs.75,200.00
Noor
Manager
Rs.78,000.00
Rs.62,400.00
Dandy
Secretary
Rs.40,000.00
Rs.32,000.00
Grue
Secretary
Rs.56,000.00
Rs.44,800.00
Salle
Secretary
Rs.55,000.00
Rs.44,000.00

<TBODY>
</TBODY>

Leave F1 empty.
Enter the following in F2:

=OR(B2="clerk",B2="secretary")

Now follow the following steps...
Select F1:F2.
Fire up Advanced Filter
Click OK.
For List range: Select the range in A:D including the headers.
For Criteria range: Select again F1:F2.
For Copy to, select cell F3.
Click OK.

The criteria range along with the output will look like:

FALSE
NamePositionSalaryNet Salary
DeenClerkRs.60,000.00Rs.48,000.00
FillenClerkRs.40,000.00Rs.32,000.00
MoorClerkRs.35,000.00Rs.28,000.00
SandyClerkRs.50,000.00Rs.40,000.00
FredClerkRs.59,000.00Rs.47,200.00
NancyClerkRs.55,000.00Rs.44,000.00
DandySecretaryRs.40,000.00Rs.32,000.00
GrueSecretaryRs.56,000.00Rs.44,800.00
SalleSecretaryRs.55,000.00Rs.44,000.00

<COLGROUP><COL style="WIDTH: 48pt" width=64><COL style="WIDTH: 75pt; mso-width-source: userset; mso-width-alt: 3555" width=100><COL style="WIDTH: 97pt; mso-width-source: userset; mso-width-alt: 4579" width=129><COL style="WIDTH: 88pt; mso-width-source: userset; mso-width-alt: 4181" width=118><TBODY>
</TBODY>
 
Last edited:
Upvote 0
I need to filter data using advance filter option

Out of curiosity: What does this mean? What does it matter what's the method you use if it solves the problem?

About what you posted, you have "Clerk" and "Secretory" in the same row. This means "Clerk" AND "Secretory".

If you want "Clerk" OR "Secretory" they must be in different rows.

For ex. erase "Secretory" from the second row and write it in row 3 and then run the Advanced Filter. Don't forget to include the third row in the Criteria range.
 
Upvote 0

Forum statistics

Threads
1,215,347
Messages
6,124,421
Members
449,157
Latest member
mytux

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
Back
Top