How to not include hidden cells that is filtered

jessejames1of3

New Member
Joined
Sep 23, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I am trying to figure out how to make this formula not include cells that are filtered out.
Any help would be greatly appreciated.

=SUM(IF(ISBLANK(G14:G:G),F14:F:F,0)) ONLY SHOW FILTERED RESULTS
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
I suspect you may just need Subtotal(). Something like:
Rich (BB code):
=Subtotal(9,Range_of_Values_to_Sum)
 
Upvote 0
I suspect you may just need Subtotal(). Something like:
Rich (BB code):
=Subtotal(9,Range_of_Values_to_Sum)
I completely understand and agree. I was just unsure how to while still including the following criteria (IF(ISBLANK(G14:G:G),F14:F:F,0))
 
Upvote 0
I've no idea what your data layout is, but the following might give you a clue as to which way to go?
Book1
FGH
114
12
13HDR1HDR2HDR3
14data1a
151a
16data1a
171a
181a
191b
20data1b
21data1b
Sheet1
Cell Formulas
RangeFormula
G11G11=SUMPRODUCT(SUBTOTAL(109,OFFSET(G14,ROW(G14:G21)-ROW(G14),,1)),--(F14:F21=""))


When filtered for "b"
Book1
FGH
10
111
12
13HDR1HDR2HDR3
191b
20data1b
21data1b
22
Sheet1
Cell Formulas
RangeFormula
G11G11=SUMPRODUCT(SUBTOTAL(109,OFFSET(G14,ROW(G14:G21)-ROW(G14),,1)),--(F14:F21=""))
 
Upvote 0

Forum statistics

Threads
1,223,275
Messages
6,171,128
Members
452,381
Latest member
Nova88

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