Using SUMIFS on filtered cells

N HANCOCK

New Member
Joined
Sep 10, 2023
Messages
1
Office Version
  1. 2016
Platform
  1. MacOS
Hi, I need the following formula to calculate only the visible cells when the table from which the data has come is filtered:

=IFERROR(
(SUMIFS(
Table2[Hourly rates (inc. salaried)],
Table2[Gender], L2,
Table2[Hourly paid or salaried?], K2
) + SUMIFS(
Table2[Hourly rates (inc. salaried)],
Table2[Gender], L2,
Table2[Hourly paid or salaried?], K3
))/('Data sheet (hidden)'!D14+'Data sheet (hidden)'!G14),"-")

Anhy ideas? I am stumped!
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Try the following formula...

Excel Formula:
=IFERROR(SUMPRODUCT(--(Table2[Gender]=L2),--(ISNUMBER(MATCH(Table2[Hourly paid or salaried?],K2:K3,0))),SUBTOTAL(9,OFFSET(Table2[Hourly rates (inc. salaried)],ROW(Table2[Hourly rates (inc. salaried)])-MIN(ROW(Table2[Hourly rates (inc. salaried)])),0,1)))/('Data sheet (hidden)'!D14+'Data sheet (hidden)'!G14),"-")

Hope this helps!
 
Upvote 0

Forum statistics

Threads
1,215,130
Messages
6,123,220
Members
449,091
Latest member
jeremy_bp001

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