View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Kathy L.[_2_] Kathy L.[_2_] is offline
external usenet poster
 
Posts: 16
Default Subtotal function with an If criteria

Hello,
If the following is example data:
A B C
1 Person $ Selected
2 Tom 10000 Y
3 Jack 15000 Y
4 Tom 20000 N
5 Tom 1000 Y
6 Jack 5000 N
7
8 51000

And cell B8 has the Subtotal(9,b2:b6) function, so I can sum based on a
filter on column A, is there a way to include a criteria in this subtotal
where Column C (selected) is Y?