Filter tool removing/hiding cells outside the table

lezawang

Well-known Member
Joined
Mar 27, 2016
Messages
1,805
Office Version
  1. 2016
Platform
  1. Windows
Hi
I have a table like the one below. I want to calculate sub total, sub salary etc.
So I selected cells beside the table and wrote subtotal functions. But the problem
When I filter any column, I might lose these cells as well (total count, total salary, min, max, average). How can I avoid that. Thank you so much.
[TABLE="width: 395"]
<colgroup><col span="5"><col></colgroup><tbody>[TR]
[TD]name[/TD]
[TD]sex[/TD]
[TD]dept[/TD]
[TD]salary[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]mary1[/TD]
[TD]f[/TD]
[TD]it[/TD]
[TD]75879[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]alex1[/TD]
[TD]m[/TD]
[TD]hr[/TD]
[TD]44295[/TD]
[TD][/TD]
[TD]total count[/TD]
[/TR]
[TR]
[TD]david1[/TD]
[TD]m[/TD]
[TD]sales[/TD]
[TD]66277[/TD]
[TD][/TD]
[TD]total salary[/TD]
[/TR]
[TR]
[TD]john1[/TD]
[TD]m[/TD]
[TD]marketing[/TD]
[TD]83008[/TD]
[TD][/TD]
[TD]max[/TD]
[/TR]
[TR]
[TD]aandy1[/TD]
[TD]m[/TD]
[TD]admin[/TD]
[TD]10243[/TD]
[TD][/TD]
[TD]min[/TD]
[/TR]
[TR]
[TD]liz1[/TD]
[TD]f[/TD]
[TD]sales[/TD]
[TD]58488[/TD]
[TD][/TD]
[TD]average[/TD]
[/TR]
[TR]
[TD]sarah1[/TD]
[TD]f[/TD]
[TD]marketing[/TD]
[TD]33784[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,224,820
Messages
6,181,154
Members
453,021
Latest member
Justyna P

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