Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default CONDITIONAL SUM FOR ONLY VISIBLE CELLS

When =SUBTOTAL(9,_:_) is used it works great for reflecting totals of only
the filtered/visible cells. What sort of formula work if a conditional sum is
required. For example in the following case a simple =subtotal(9,B2:B10)
would show 2950 when Column A is filtered to reflect only Region "A". But how
to reflect totals of only those which belong to Dept I when Filteration as
per Column A is made.

For example:

Region Amt Dept
A 234 I
A 536 II
A 881 I
B 272 II
A 530 I
B 538 II
A 769 I
B 895 II
C 701 I

Subtotal results in 2950 if column A is filtered to reflect "A". But I also
want at the same time a result of the visible cells containing only "I" in
column C, i.e. 2414.


--

Best Regards,
FARAZ A. QURESHI
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default CONDITIONAL SUM FOR ONLY VISIBLE CELLS

Filtering also for Dept I in column C gives the required result (2414).
Doesn't it suit your needs?

Regards,
Stefi


€˛FARAZ QURESHI€¯ ezt Ć*rta:

When =SUBTOTAL(9,_:_) is used it works great for reflecting totals of only
the filtered/visible cells. What sort of formula work if a conditional sum is
required. For example in the following case a simple =subtotal(9,B2:B10)
would show 2950 when Column A is filtered to reflect only Region "A". But how
to reflect totals of only those which belong to Dept I when Filteration as
per Column A is made.

For example:

Region Amt Dept
A 234 I
A 536 II
A 881 I
B 272 II
A 530 I
B 538 II
A 769 I
B 895 II
C 701 I

Subtotal results in 2950 if column A is filtered to reflect "A". But I also
want at the same time a result of the visible cells containing only "I" in
column C, i.e. 2414.


--

Best Regards,
FARAZ A. QURESHI

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
Sum Visible Cells Julie Excel Worksheet Functions 5 February 26th 08 12:31 AM
conditional formating to keep the #N/A error from being visible irvine79 Excel Discussion (Misc queries) 5 February 9th 07 04:44 AM
Conditional Format of Odd Visible Rows mjones Excel Discussion (Misc queries) 1 November 20th 06 12:17 AM
Conditional Formatting Shading For Visible Rows Only manda Excel Discussion (Misc queries) 3 May 22nd 06 10:42 PM
Visible cells Melissa Excel Worksheet Functions 0 February 15th 05 07:23 PM


All times are GMT +1. The time now is 11:36 PM.

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

About Us

"It's about Microsoft Excel"