autofiler and formula

erky

New Member
Joined
Sep 1, 2010
Messages
13
I have an excel sheet with lots of data and I have autofilter enabled. When I add this formula to my sheet, and I click on the autofilter arrow to filter the data and when it changes to that specific data my formula is gone. It only stays when I am not filtering the data. Is there any way that I can make my formula stay on the sheet regardless if I filter the data or not. Thanks for all your help. I hope I explained this clearly.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
I know I said that was the last question but I have one more because you have been so helpful :P

I want it to average numbers in E6:E888 and I am using the autofilter still. I tried =AVERAGE(C6:C8888) but im having the same problem.
 
Upvote 0
But only calculates the average of the numbers in column C6:C8888 if it is labeled S; not T,P,O
 
Upvote 0
But only calculates the average of the numbers in column C6:C8888 if it is labeled S; not T,P,O
This formula will average column E if column C = S.

=SUMPRODUCT(SUBTOTAL(9,OFFSET(E6:E20,ROW(E6:E20)-ROW(E6),0,1)),--(C6:C20="S"))/SUMPRODUCT(SUBTOTAL(3,OFFSET(C6:C20,ROW(C6:C20)-ROW(C6),0,1)),--(C6:C20="S"))
 
Upvote 0

Forum statistics

Threads
1,224,568
Messages
6,179,595
Members
452,927
Latest member
whitfieldcraig

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