LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Sumproduct with three arrays

Hello and thank you in advance for your assistance.

I have a spreadsheet as follows:

Column C= Revenue
Column D= Units
Column E = Months, as a number (i.e. 1-12)
Column F = Status, expressed as either Prospect or Definite
Column G = Year (i.e. 2009)

Column A,B are labels and not used in the calculations.

I want to sum the units and revenue based on year, month, and status (i.e.,
how many units sold in January of 2009 that are in Prospect status). The
result for unit and revenue are in two other columns, K & L (i.e. there is a
summary cell for unit based on month, year and status, and another for
revenue based on month, year, and status)

The formula I am using is:
=SUMPRODUCT(--(G1:G500="2009"),--(F1:F500="Prospect"),--(E1:E500="1"),D1:D500) for units, and

=SUMPRODUCT(--(G1:G500="2009"),--(F1:F500="Prospect"),--(E1:E500="1"),C1:C500) for revenue

Excel returns 0, which I know is incorrect. I have tried removing the
quotes from the year and the month, but still get 0. I have checked the cell
format for the result cell and it is set to number format.

Thanks again for your thoughts.

Best regards,

Alberto







 
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 arrays within SUMPRODUCT Phil H[_2_] Excel Worksheet Functions 0 August 15th 08 10:39 PM
SUMPRODUCT where arrays have different dimensions Chas Excel Discussion (Misc queries) 4 July 25th 07 09:30 PM
Using SUMPRODUCT with arrays Scott@CW Excel Discussion (Misc queries) 3 April 25th 07 02:21 PM
SUMPRODUCT with 3 arrays not working Kierano Excel Worksheet Functions 1 October 16th 06 03:37 PM
Sumproduct arrays L. Howard Kittle Excel Discussion (Misc queries) 4 April 11th 06 01:11 PM


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