Need Help on filtering

foxwerks

New Member
Joined
May 13, 2014
Messages
2
Hello all :) long time lurker first time poster.

I've hit a dead end with a project I'm currently working on. Its really starting to get complex and I need some help.


1Rof7rb.jpg



For Total Annual I am using =COUNTIF(D9:D76, "A") Sick is just the same replaced with "S" and so forth
For Allotment I am using =SUM(D9:D76)+D78+D79+D80+D81+D82
For Working I am using =COUNTBLANK(D9:D76)

The results show all of the shifts not just the ones i'm filtering out. I want the results to sync with the filtering. I was wondering is any solution to this? I've been going mad for a couple of days to try to figure this out.

Any help is appreciated thanks!
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Maybe

Total Annual (D78)
=SUMPRODUCT(--(SUBTOTAL(3,OFFSET($A$9:$A$76,ROW($A$9:$A$76)-ROW($A$9),0,1))),--(D$9:D$76="A"))

Replace "A" by "S" for Sick and so on

Allotment (D84)
=SUM(D$78:D$82)

Working (D85)
=SUMPRODUCT(--(SUBTOTAL(3,OFFSET($A$9:$A$76,ROW($A$9:$A$76)-ROW($A$9),0,1))),--(D$9:D$76=""))

Hope this helps

M.
 
Upvote 0
Maybe

Total Annual (D78)
=SUMPRODUCT(--(SUBTOTAL(3,OFFSET($A$9:$A$76,ROW($A$9:$A$76)-ROW($A$9),0,1))),--(D$9:D$76="A"))

Replace "A" by "S" for Sick and so on

Allotment (D84)
=SUM(D$78:D$82)

Working (D85)
=SUMPRODUCT(--(SUBTOTAL(3,OFFSET($A$9:$A$76,ROW($A$9:$A$76)-ROW($A$9),0,1))),--(D$9:D$76=""))

Hope this helps

M.


OMG thank you so very much! I've been seeing that type of string on google but I don't understand any of it, so i kept moving on. I just plugged the values in and it worked! Is there an explanation for this?
 
Upvote 0
Upvote 0

Forum statistics

Threads
1,215,757
Messages
6,126,694
Members
449,331
Latest member
smckenzie2016

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