Ignoring hiddin values

chrispy

Board Regular
Joined
Apr 26, 2008
Messages
73
I am using the following formula to determine advertising co-op totals.
=((SUMIFS(F2:F45,$D$2:$D$45,$A$51,$E$2:$E$45,$B$51)*0.5)+(SUMIFS(F2:F45,$D$2:$D$45,$A$51,$E$2:$E$45,$C$51)*0.25))*-1

Column F contains advertising costs
Column D contains Y or N (if it qualifies for co-op)
Column E contains percentage of co-op (50% or 25%)
A51=Y
B51=50%
C51=25%

My issue is that this formula does not ignore values when I hide rows.
How can I modify this formula to ignore hiddin values.
All other totals use a formula such as =SUBTOTAL(109,F2:F45) but I can not seem to make this work with the SUMIF() formula.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Did you solve your problem? What filter criteria are you applying or which column are you filtering on?

ξ
 
Upvote 0

Forum statistics

Threads
1,215,504
Messages
6,125,183
Members
449,212
Latest member
kenmaldonado

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