Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Steven
 
Posts: n/a
Default Subtotal on SumIf

Can you use subtotal on a sumif or maybe some other method so when data is
filtered it calculates correctly. I have tried many things but cannot make
it work.


  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

here is a method

=SUMPRODUCT(--($A$2:$A$1005),--(SUBTOTAL(3,OFFSET($A$2,ROW($A$2:$A$100)-MIN(ROW($A$2:$A$100)),,))),$A$2:$A$100)

this will sum all visible entries in A2:A100 that are greater than 5
where for instance column B could have been filtered



Regards,

Peo Sjoblom

"Steven" wrote:

Can you use subtotal on a sumif or maybe some other method so when data is
filtered it calculates correctly. I have tried many things but cannot make
it work.


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
How to use SUMIF to return sums between two values located in cells ScottBerger Excel Worksheet Functions 2 April 23rd 23 09:05 PM
Subtotal Bug in Excel 2003 GON Excel Discussion (Misc queries) 2 May 10th 05 08:42 PM
Combining SUMIF and SUBTOTAL functions [email protected] Excel Worksheet Functions 1 April 22nd 05 06:14 AM
Can you combined the SUMIF and SUBTOTAL functions in a formula? [email protected] Excel Worksheet Functions 1 April 22nd 05 04:05 AM
Subtotal of Subtotal displays Grand Total in wrong row Thomas Born Excel Worksheet Functions 5 January 6th 05 01:46 PM


All times are GMT +1. The time now is 10:32 PM.

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"