Hi,
I have 2 columns (A,B) in a sheet1. I am filtering data on Column A and I can see 2 values (AA,CC).
When I filter data on column A for AA, sum is coming as 32 (Which is display on cell T1)
When I filter the data on Column A for BB, sum is coming as 0 , But the same 32 is displaying in Cell T1.
Again, when I filter data on column A for CC, sum is coming as 88 (Which is display on cell T1 and is correct)
Finally, When I filter the data on Column A for DD, sum is coming as 0 , But the same 88 is displaying in Cell T1.
Data for BB, DD is available in few times only.
Please let me know how I can get the SUM as "0" when I filter data for BB and DD.
I am looking for VBA code for the below scenario.
Thanks in advance.
Regards,
Sri