filtering questions.

lezawang

Well-known Member
Joined
Mar 27, 2016
Messages
1,805
Office Version
  1. 2016
Platform
  1. Windows
Hi
I have the table below. I want to use a filter to keep only employee of Marketing dept. After filtering dept column now I am only interested in this new look table

ranknamedeptsalary
2mary1marketing99
4sarah1marketing88
6kim1marketing33

My questions:
1) How can I keep only this table? copy and paste? or you have a better idea?
2) The first column which is called Rank. I wanted to enter in the first row # 1 and then in the second row #2 and then highlight them and click on AutoFill. Thinking that would give me 1,2,3,4,5,...... but it does not. How can I do that (the filter is still on by the way)?

Thank you so much.


The original table
ranknamedeptsalary
1jack1hr100
2mary1marketing99
3linda1sales77
4sarah1marketing88
5allen1hr55
6kim1marketing33
7li1sales22
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
One option with a helper column.
In name Manager (on the formula tab) create a new name & call it IsVisible & in the Refers to box put
=GET.CELL(17,INDIRECT("rc",FALSE))

Then you can use it like
ZFluff.xlsm
ABCDE
1ranknamedeptsalary
21jack1hr10012.75
32mary1marketing9912.75
43linda1sales7712.75
54sarah1marketing8812.75
65allen1hr5512.75
76kim1marketing3312.75
87li1sales2212.75
Finals
Cell Formulas
RangeFormula
A2:A8A2=COUNTIF(E$2:E2,">0")
E2:E8E2=IsVisible


ZFluff.xlsm
ABCDE
1ranknamedeptsalary
31mary1marketing9912.75
52sarah1marketing8812.75
73kim1marketing3312.75
Finals
Cell Formulas
RangeFormula
A3,A5,A7A3=COUNTIF(E$2:E3,">0")
E3,E5,E7E3=IsVisible
 
Upvote 0

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

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