LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Need help with SUMPRODUCT Formula

If the column that you're totaling, Column I, is populated by either keying
in, or a formula that returns zero (0), both of which are TRUE numbers, your
formula should work.

However, if you're populating it with a formula that might return blanks (
"" ), OR importing data from another app, then that column can contain data
that is not recognized by XL as True numbers, since the blank ( "" ) is
really text, and the imports may contain invisible characters.

If that might be the case, try this form of Sumproduct:

=SUMPRODUCT((Invoices!$H$4:$H$65536=$B6)*(Invoices !$F$4:$F$65536=$B$2)*(Invoices!$O$4:$O$65536="X"), (Invoices!$I$4:$I$65536))

Where the asterisk is replaced with a comma before the totaling Column I
reference.
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"Rich" wrote in message
...
OK, thanks. I addd the parentheses and now I get A #VALUE error, saying a
value in the formula is of the wrong data type. I messed with this
yesterday
on another application and never could fix it. What is the deal with data
types? I checked the data types for this and they are either "general" or
currency where necessary.

"RagDyeR" wrote:

Just looking at your formula, the only thing I see is a pair of parens
missing:

=SUMPRODUCT((Invoices!$H$4:$H$65536=$B6)*(Invoices !$F$4:$F$65536=$B$2)*(Invoices!$O$4:$O$65536="X")* (Invoices!$I$4:$I$65536))

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===



"Rich" wrote in message
...
I am trying to add amounts from one workbook (Invoices) based on 3
criteria
and put the total in a second workbook (Jones cost control).
I have the following formula copied down the Total Paid column.

=SUMPRODUCT('[RICHs DESKTOP.xls]Invoices'!$H$4:$H$65536=$B6)*('[RICHs
DESKTOP.xls]Invoices'!$F$4:$F$65536=$B$2)*('[RICHs
DESKTOP.xls]Invoices'!$O$4:$O$65536="X")*('[RICHs
DESKTOP.xls]Invoices'!$I$4:$I$65536).
In the above formula Invoices H=Phase, Invoices F=Job, Invoices O=Paid (X)
&
Invoices I=Amount. The formual is in Jones cost control Total Paid
column.



Invoices
Jones Cost Control
Job Phase Paid Amount Phase
Total Paid

Jones 5.1 x 1,000
4.2 400 (S/B)smith 5.1 x 500
5.1 1,250
Jones 4.2 x 400
Jones 4.2 600
Jones 5.1 X 250
Jones 5.1 700

It worked at one time. what is wrong with it? I'm not getting a formula
error...just a blank cell where the total should be.

Help. Thanks,





 
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 formula help ronda120 Excel Worksheet Functions 2 May 5th 09 04:48 PM
Nesting a sumproduct formula within a sumif formula. jerrymcm Excel Discussion (Misc queries) 2 October 3rd 07 03:35 PM
sumproduct formula Todd Excel Worksheet Functions 2 March 10th 06 01:39 AM
sumproduct formula mbparks Excel Worksheet Functions 4 January 10th 05 03:44 PM
Sumproduct formula mbparks Excel Worksheet Functions 3 January 10th 05 03:43 PM


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