Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
wal50
 
Posts: n/a
Default SumProduct + cells

This formula works:
=SUMPRODUCT((('[Retail East Employees 12-31-05.xls]Active Employees Report
(As of)'!$D$13:$D$4000="VD")+('[Retail East Employees 12-31-05.xls]Active
Employees Report (As of)'!$D$13:$D$4000="PR"))*('[Retail East Employees
12-31-05.xls]Active Employees Report (As of)'!$F$13:$F$4000=D9))

I also want to add the sum of other cells (say h50 & h51...) to the above.
I can't get a syntax that give me the right answer.

In other words:
=H50 + H51+=SUMPRODUCT((('[Retail East Employees 12-31-05.xls]Active
Employees Report (As of)'!$D$13:$D$4000="VD")+('[Retail East Employees
12-31-05.xls]Active Employees Report (As of)'!$D$13:$D$4000="PR"))*('[Retail
East Employees 12-31-05.xls]Active Employees Report (As
of)'!$F$13:$F$4000=D9))
Any ideas?
Thanks as always.
WAL50
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Chip Pearson
 
Posts: n/a
Default SumProduct + cells

The formula should work as written (except that you have a +=
instead of just a + after H51). Do you get an error value, or
just an incorrect result?


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"wal50" wrote in message
...
This formula works:
=SUMPRODUCT((('[Retail East Employees 12-31-05.xls]Active
Employees Report
(As of)'!$D$13:$D$4000="VD")+('[Retail East Employees
12-31-05.xls]Active
Employees Report (As of)'!$D$13:$D$4000="PR"))*('[Retail East
Employees
12-31-05.xls]Active Employees Report (As
of)'!$F$13:$F$4000=D9))

I also want to add the sum of other cells (say h50 & h51...)
to the above.
I can't get a syntax that give me the right answer.

In other words:
=H50 + H51+=SUMPRODUCT((('[Retail East Employees
12-31-05.xls]Active
Employees Report (As of)'!$D$13:$D$4000="VD")+('[Retail East
Employees
12-31-05.xls]Active Employees Report (As
of)'!$D$13:$D$4000="PR"))*('[Retail
East Employees 12-31-05.xls]Active Employees Report (As
of)'!$F$13:$F$4000=D9))
Any ideas?
Thanks as always.
WAL50



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default SumProduct + cells

=SUM(H50:H51,SUMPRODUCT(--ISNUMBER(MATCH('[Retail East Employees
12-31-05.xls]Active Employees Report (As
of)'!$D$13:$D$4000,{"VD","PR"},0)),--([Retail East Employees
12-31-05.xls]Active Employees Report (As of)'!$F$13:$F$4000=D9)))

wal50 wrote:
This formula works:
=SUMPRODUCT((('[Retail East Employees 12-31-05.xls]Active Employees Report
(As of)'!$D$13:$D$4000="VD")+('[Retail East Employees 12-31-05.xls]Active
Employees Report (As of)'!$D$13:$D$4000="PR"))*('[Retail East Employees
12-31-05.xls]Active Employees Report (As of)'!$F$13:$F$4000=D9))

I also want to add the sum of other cells (say h50 & h51...) to the above.
I can't get a syntax that give me the right answer.

In other words:
=H50 + H51+=SUMPRODUCT((('[Retail East Employees 12-31-05.xls]Active
Employees Report (As of)'!$D$13:$D$4000="VD")+('[Retail East Employees
12-31-05.xls]Active Employees Report (As of)'!$D$13:$D$4000="PR"))*('[Retail
East Employees 12-31-05.xls]Active Employees Report (As
of)'!$F$13:$F$4000=D9))
Any ideas?
Thanks as always.
WAL50


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
wal50
 
Posts: n/a
Default SumProduct + cells

Thanks. Boy, did I over complicate this one. (incorrect result)
Thanks again
WAL50

"Chip Pearson" wrote:

The formula should work as written (except that you have a +=
instead of just a + after H51). Do you get an error value, or
just an incorrect result?


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"wal50" wrote in message
...
This formula works:
=SUMPRODUCT((('[Retail East Employees 12-31-05.xls]Active
Employees Report
(As of)'!$D$13:$D$4000="VD")+('[Retail East Employees
12-31-05.xls]Active
Employees Report (As of)'!$D$13:$D$4000="PR"))*('[Retail East
Employees
12-31-05.xls]Active Employees Report (As
of)'!$F$13:$F$4000=D9))

I also want to add the sum of other cells (say h50 & h51...)
to the above.
I can't get a syntax that give me the right answer.

In other words:
=H50 + H51+=SUMPRODUCT((('[Retail East Employees
12-31-05.xls]Active
Employees Report (As of)'!$D$13:$D$4000="VD")+('[Retail East
Employees
12-31-05.xls]Active Employees Report (As
of)'!$D$13:$D$4000="PR"))*('[Retail
East Employees 12-31-05.xls]Active Employees Report (As
of)'!$F$13:$F$4000=D9))
Any ideas?
Thanks as always.
WAL50




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
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
how do i protect cells in a shared worksheet Debi Excel Discussion (Misc queries) 3 September 30th 05 11:15 PM
SUMPRODUCT TO CALCULATE VISIBLE CELLS ONLY Lisa Excel Worksheet Functions 4 January 11th 05 12:58 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM
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 07:45 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"