LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
BorisS
 
Posts: n/a
Default sumproduct not working

I have one sheet which has names of expenses on the left column (A), and one
date on the top of each of 12 columns (the first one, for the example below,
is C, and the date is specifically in C1). I have another sheet (named
"actual")where I am entering a list of expenses with the date (column A), the
type (column B, and which names match the left column A on the sheet for this
function), and the amount (column C).

I need each cell in the first sheet to go to the second, and if both the
month of the expense and the type match the month and type intersection of
the cell in which I am typing the formula, I need it to sum up all of the
amounts. I think I need sumproduct, given the multiple criteria, but the
following is giving me a NUM!:

=SUMPRODUCT(--(Actual!$B:$B=$A4),--(MONTH(Actual!$A:$A)=MONTH(C$1)),--(Actual!$C:$C))

So the above's intent is to say "if the value of an item in column B on
'actual', where column B is the type, matches the type that is listed in cell
A4 AND if the month of the date in the corresponding 'actual' entry in column
A matches the month of C1, which is the month I'm trying to sum up, then add
that to the running sum of amounts that I want summed in this cell."

Hope that makes sense, and hope someone can advise where I'm going wrong.

Thx.

--
Boris
 
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
Sumproduct formulas not working after editing dave roth Excel Worksheet Functions 0 February 13th 06 08:37 PM
sumproduct w/horizontal range not working dcd123 Excel Worksheet Functions 6 August 22nd 05 11:48 PM
Sumproduct suddenly not working Andy Excel Discussion (Misc queries) 7 July 11th 05 10:56 PM
Sumproduct w/date criteria not working JANA Excel Worksheet Functions 7 April 15th 05 11:19 AM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM


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