Filtering Data

spookykid

New Member
Joined
May 5, 2019
Messages
5
I created these formulas on a separate sheet and I need help with changing it so when the source sheet is filtered it only shows what is filtered and not all the data, any help would be greatly appreciated!

=SUMIFS(OT_COMP!I2:I1048576,OT_COMP!B2:B1048576,"OT",OT_COMP!E2:E1048576,"Place Holder")

=SUMIFS(OT_COMP!I2:I1048576,OT_COMP!B2:B1048576,"OT",OT_COMP!E2:E1048576,"Place Holder",OT_COMP!C2:C1048576,"180")
 
Re: Help With Filtering Data

Try



If it is a numerical value
=SUMPRODUCT(SUBTOTAL(9,OFFSET(OT_COMP!$I$2,ROW(OT_COMP!$I$2:$I$8000)-ROW(OT_COMP!$I$2),,1))*(OT_COMP!$B$2:$B$8000="OT")*(OT_COMP!$E$2:E8000="Place Holder")*(OT_COMP!C2:C8000<>180))


if it is text
=SUMPRODUCT(SUBTOTAL(9,OFFSET(OT_COMP!$I$2,ROW(OT_COMP!$I$2:$I$8000)-ROW(OT_COMP!$I$2),,1))*(OT_COMP!$B$2:$B$8000="OT")*(OT_COMP!$E$2:E8000="Place Holder")*(OT_COMP!C2:C8000<>"180"))
 
Upvote 0

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,214,912
Messages
6,122,200
Members
449,072
Latest member
DW Draft

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