I used whole column reference (both absolute way and relative way), why my formula result still change after filtering that column

michellelyxs

New Member
Joined
Nov 9, 2022
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Hi guys,

I used a formula to count "TY2020" in column C, with relative reference as C:C and absolute reference $C$1:$C$1000; however, both methods will give me 0 if I filter out "TY2020".

Is there any way I can still count out the occurrence of "TY2020" even if it is filtered out?
1669597427789.png
1669597466988.png


Thanks so much!
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
I am not sure İf it is possible in pivot table since pivot filter updates row values rather than hiding them.
Try to count original datasource.
 
Upvote 0
I am not sure İf it is possible in pivot table since pivot filter updates row values rather than hiding them.
Try to count original datasource.
Thank you for your thoughts! However this doesn't happen to another pivot table of this workbook:
1669658047481.png

I filtered out only 2 rows of FL here but it can count the whole column giving me 15. This is so weird that in the same workbook countif is working in different ways...
 
Upvote 0
No, it is just a table. Maybe it is a power pivot. I am not familiar with them. I don't know.
The only thing I know is, one is filtering with hiding rows which allows you to count hidden rows.
The other one is updating the rows, which makes the data unreachable for the function.
 
Upvote 0

Forum statistics

Threads
1,214,826
Messages
6,121,797
Members
449,048
Latest member
greyangel23

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