Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Stuck at work
 
Posts: n/a
Default Embed a countif function in subtotal function?

How do I set up a formula to count only from the VISIBLE rows (Filter is on)
the cells that fulfill another condition? Ie Countif it's equal to 1, but
only from the rows that are visible?

Thank you very much,

Dan
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default Embed a countif function in subtotal function?

Try...

=SUMPRODUCT(SUBTOTAL(3,OFFSET(A2:A10,ROW(A2:A10)-ROW(A2),0,1)),--(A2:A10=
1))

Hope this helps!

In article ,
"Stuck at work" <Stuck at wrote:

How do I set up a formula to count only from the VISIBLE rows (Filter is on)
the cells that fulfill another condition? Ie Countif it's equal to 1, but
only from the rows that are visible?

Thank you very much,

Dan

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CountIf Function Help Needed Mark Excel Worksheet Functions 4 January 30th 06 03:37 AM
How do you ignore hidden rows in a countif() function Scott buckwalter Excel Worksheet Functions 9 August 11th 05 08:36 PM
Subtotal function George Gee New Users to Excel 3 January 20th 05 08:37 PM
Subtotal And Countif Sheryl Excel Discussion (Misc queries) 4 December 9th 04 07:18 PM
hOW TO USE THE AND OPERATOR WITH THE COUNTIF FUNCTION Marty Excel Worksheet Functions 1 November 11th 04 09:45 PM


All times are GMT +1. The time now is 08:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"