#1   Report Post  
John
 
Posts: n/a
Default Sumproduct Q

I am trying to add up values in Col N14:N20 if the values in Col D14:D20 is
equal to what is selected from a Drop down menu in D14. I've set the formula
as =SUMPRODUCT((D14:D20=D14),(N14:N20)) but its not giving me the expected
answer

Thanks


  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

John,

How about

=SUMPRODUCT(--(D14:D20=D14),N14:N20)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"John" wrote in message
...
I am trying to add up values in Col N14:N20 if the values in Col D14:D20

is
equal to what is selected from a Drop down menu in D14. I've set the

formula
as =SUMPRODUCT((D14:D20=D14),(N14:N20)) but its not giving me the expected
answer

Thanks




  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

You may want to look at =sumif(), too.



John wrote:

I am trying to add up values in Col N14:N20 if the values in Col D14:D20 is
equal to what is selected from a Drop down menu in D14. I've set the formula
as =SUMPRODUCT((D14:D20=D14),(N14:N20)) but its not giving me the expected
answer

Thanks


--

Dave Peterson
  #4   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Invoke a SumIf formula for the calculation you need depends on just one
condition:

=SUMIF(D14:D20,D14,N14:N20)

"John" wrote in message
...
I am trying to add up values in Col N14:N20 if the values in Col D14:D20 is
equal to what is selected from a Drop down menu in D14. I've set the
formula
as =SUMPRODUCT((D14:D20=D14),(N14:N20)) but its not giving me the expected
answer

Thanks




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
Sumproduct ... Empty Cells vs Spaces? Ken Excel Discussion (Misc queries) 9 December 17th 04 08:03 PM
Sumif not Sumproduct David Excel Worksheet Functions 4 December 8th 04 11:39 AM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM
Sumproduct in Excel Spreadsheet to read Access db table Jules Excel Worksheet Functions 1 November 9th 04 02:50 PM


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