Can you Combine a Subtotal and Countif? How?

RBusiness

Board Regular
Joined
Sep 18, 2010
Messages
187
Hello folks,

I'm trying to count how many times a call A2 appears in a list within another sheet but only when it's visible (not filtered from view).
I've been trying to combined a subtotal and countif, but it's not working.

Does anyone have an example to share that might help?
My formula would go in B2 and look to see how many times A2 appears in A:A of another sheet - but again - only if it's visible.

Your help is truly appreciated!

TY,
R
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Maybe something like this?

=SUMPRODUCT(SUBTOTAL(3,OFFSET(Sheet1!A2:A15,ROW(Sheet1!A2:A15)-ROW(Sheet1!A2),0,1)),--(Sheet1!A2:A15=A2))
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,427
Members
448,961
Latest member
nzskater

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