Keep rows when filtering

gpdavix

New Member
Joined
May 19, 2020
Messages
1
Office Version
  1. 2013
Platform
  1. Windows
Good afternoon!

I have an excel spreadsheet I'm making that lists about 8-900 companies. There are 12-3 columns with certain types of info (contact name, phone, company type, etc)

They are organized by company type, so row 15 would say "Demolition Company" and then rows 16-40 will be the demo companies. Then 41 will say "Painting Company" and the following rows list all of my painting companies and so on.

In column K is a simple Yes or No. What I want to do is when I filter all of the Yes only lines and it pulls them in, it will ALSO pull in the "header" row they are under (for example, if there are 3 demo companies that have YES in column K, it will pull in row 15 that says "Demolition company" and then rows 17, 21, 23 or whatever ones meet the yes/no requirement I'm filtering)

Is there a way to do this? I can provide pics if that would help it make more sense.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Include the header row in your filter range and it will show that as the first item.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

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