#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,670
Default SumProduct Help

Below is a sample from a large table. I want to be able to sum the entire
sheet based upon year (i.e. 2010, 2011) and description (Dry Lease, ACMI).

I believe Sumproduct will do this, but I can't get it. Any thoughts are
greatly appreciated.

Q1 2010 Q2 2010 Q3 2010 Q4 2010 2010
Dry Lease 0.3 0.7 0.7 0.7 2.4
ACMI 0.9 1.8 1.8 1.8 6.4
Dry Lease 0.9 1.8 1.8 1.8 6.4
ACMI - - 0.3 0.7 1.0
ACMI - - - 0.3 0.3
Dry Lease - - - 0.3 0.3
Dry Lease - - - 0.9 0.9
Dry Lease - - - - -

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default SumProduct Help

assumes headers are row 1/column a respectively
=SUMPRODUCT((RIGHT(B1:F1,4)="2010")*(B2:F9)*(A2:A9 ="Dry Lease"))

And of crouse, you can replace "2010" and "Dry Lease" with cell references
to help make the formula more dynamic.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Eric" wrote:

Below is a sample from a large table. I want to be able to sum the entire
sheet based upon year (i.e. 2010, 2011) and description (Dry Lease, ACMI).

I believe Sumproduct will do this, but I can't get it. Any thoughts are
greatly appreciated.

Q1 2010 Q2 2010 Q3 2010 Q4 2010 2010
Dry Lease 0.3 0.7 0.7 0.7 2.4
ACMI 0.9 1.8 1.8 1.8 6.4
Dry Lease 0.9 1.8 1.8 1.8 6.4
ACMI - - 0.3 0.7 1.0
ACMI - - - 0.3 0.3
Dry Lease - - - 0.3 0.3
Dry Lease - - - 0.9 0.9
Dry Lease - - - - -

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default SumProduct Help

Hi,

Sum your year column by criteria

=SUMPRODUCT((A2:A200="Dry Lease")*(G2:G200))

Mike

"Eric" wrote:

Below is a sample from a large table. I want to be able to sum the entire
sheet based upon year (i.e. 2010, 2011) and description (Dry Lease, ACMI).

I believe Sumproduct will do this, but I can't get it. Any thoughts are
greatly appreciated.

Q1 2010 Q2 2010 Q3 2010 Q4 2010 2010
Dry Lease 0.3 0.7 0.7 0.7 2.4
ACMI 0.9 1.8 1.8 1.8 6.4
Dry Lease 0.9 1.8 1.8 1.8 6.4
ACMI - - 0.3 0.7 1.0
ACMI - - - 0.3 0.3
Dry Lease - - - 0.3 0.3
Dry Lease - - - 0.9 0.9
Dry Lease - - - - -

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,670
Default SumProduct Help

That did it. Thanks for your help.

"Mike H" wrote:

Hi,

Sum your year column by criteria

=SUMPRODUCT((A2:A200="Dry Lease")*(G2:G200))

Mike

"Eric" wrote:

Below is a sample from a large table. I want to be able to sum the entire
sheet based upon year (i.e. 2010, 2011) and description (Dry Lease, ACMI).

I believe Sumproduct will do this, but I can't get it. Any thoughts are
greatly appreciated.

Q1 2010 Q2 2010 Q3 2010 Q4 2010 2010
Dry Lease 0.3 0.7 0.7 0.7 2.4
ACMI 0.9 1.8 1.8 1.8 6.4
Dry Lease 0.9 1.8 1.8 1.8 6.4
ACMI - - 0.3 0.7 1.0
ACMI - - - 0.3 0.3
Dry Lease - - - 0.3 0.3
Dry Lease - - - 0.9 0.9
Dry Lease - - - - -

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
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
Sumproduct Hilton Excel Worksheet Functions 2 May 27th 08 03:41 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
SUMPRODUCT Serge Excel Discussion (Misc queries) 1 April 10th 06 09:50 PM
=SUMPRODUCT ArthurN Excel Discussion (Misc queries) 5 April 9th 06 06:28 PM


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