Only filter up to a certain row

31RHCP

New Member
Joined
Jun 5, 2011
Messages
1
I have a spreadsheet containing data of cities basically it looks like this:

Headings
Cities
....
Cities
Basic Mathematical operations using data from the cities section (there are no formulas anywhere else in the sheet).

I have Auto filters so that data can be sorted numerically or alphabetically by criteria such as population, name, county, state. The problem arises from the operations performed on this data below the list of cities. For example one such operation sums the population of all cities. So, whenever I try to sort by population, this cell becomes the highest value when filtered.

My questions is: is it possible to exclude everything below the last city listed from the filtering process?

Thanks.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Separate everything below the last city from the last city row by a blank row.
 
Upvote 0
If you are using 2007 or 2010, you can highlight the region you with to filter and use: Insert > Table. Once you have the table, go to the Design ribbon and select the checkbox for Total Row in the Table Style Options. It will give you an unfiltered row at the bottom which has drop-down menus for built in functions, like sum. You can even write your own functions in there.
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,881
Members
452,948
Latest member
Dupuhini

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