Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Get subtotal by two criteria

Hello,

I need to get a subtotal by 2 criteria and display that.
So for example a subtotal which displays the total of all fords bought
in april.

Anyone know how to do this?

Many Thanks

Sean

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,339
Default Get subtotal by two criteria

Use SUMPRODUCT:

=SUMPRODUCT(--(B1:B20="Ford"),--(MONTH(A1:A20)=4))

HTH

"sean_f" wrote:

Hello,

I need to get a subtotal by 2 criteria and display that.
So for example a subtotal which displays the total of all fords bought
in april.

Anyone know how to do this?

Many Thanks

Sean


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Get subtotal by two criteria

Check out this link...

http://www.xldynamic.com/source/xld.SUMPRODUCT.html
--
HTH...

Jim Thomlinson


"sean_f" wrote:

Hello,

I need to get a subtotal by 2 criteria and display that.
So for example a subtotal which displays the total of all fords bought
in april.

Anyone know how to do this?

Many Thanks

Sean


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
Subtotal function with an If criteria Kathy L.[_2_] Excel Discussion (Misc queries) 4 April 2nd 23 08:33 PM
Subtotal by 2 different criteria d7 Excel Worksheet Functions 1 February 18th 09 09:41 AM
Subtotal with additional criteria Danni2004 Excel Worksheet Functions 1 April 23rd 08 08:45 PM
SUBTOTAL and then count with criteria Jane Excel Worksheet Functions 3 January 13th 05 07:04 AM
Subtotal function with Criteria Dilip Mistry Excel Programming 3 November 14th 04 01:55 PM


All times are GMT +1. The time now is 09:56 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"