Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
wal50
 
Posts: n/a
Default Sumproduct returning #NUM!

Using:
=SUMPRODUCT(Detail!Region="james")*(detail!Contrac t="n/g")*(detail!Amount)
returns #NUM! Could this be because some cells in Amount range are blank? I
appreciate the help

  #2   Report Post  
PeterAtherton
 
Posts: n/a
Default

one way is to use an array function entered with Ctrl + Shift + Enter
try =SUM(IF((details!Region="James")*(details!Contract ="n/g"),details!amount))

Excel will enter curly brackets around the formula if you have entered it
properly

Regards
Peter Atherton

"wal50" wrote:

Using:
=SUMPRODUCT(Detail!Region="james")*(detail!Contrac t="n/g")*(detail!Amount)
returns #NUM! Could this be because some cells in Amount range are blank? I
appreciate the help


  #3   Report Post  
JulieD
 
Posts: n/a
Default

Hi

try
=SUMPRODUCT((Detail!Region="james")*(detail!Contra ct="n/g")*(detail!Amount))
additionally,
you left the brackets off around ALL the parameters

additionally, the ranges must be the same size

Cheers
JulieD


"wal50" wrote in message
...
Using:
=SUMPRODUCT(Detail!Region="james")*(detail!Contrac t="n/g")*(detail!Amount)
returns #NUM! Could this be because some cells in Amount range are blank?
I
appreciate the help



  #4   Report Post  
Pierre Leclerc
 
Posts: n/a
Default

Hi

In the range that you are summing, there is text or spaces. It is the
most common error messge when using SUMPRODUCT.

For a complete tutorial on SUMPRODUCT and other functions and formula
see the site below

http://www.excel-vba.com


Pierre Leclerc
http://www.excel-vba.com

  #5   Report Post  
wal50
 
Posts: n/a
Default

Thank you all for your help.
I had the range names for the entire column in each case so they were all
the same size. When I used the actual row range and didn't count the header
row (A2:A332), and made sure they were all the same size with no blanks,
everything worked. Unfortunately, I did all 3 things at the same time so am
not sure which one fixed it.

"wal50" wrote:

Using:
=SUMPRODUCT(Detail!Region="james")*(detail!Contrac t="n/g")*(detail!Amount)
returns #NUM! Could this be because some cells in Amount range are blank? I
appreciate the help

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
MY VLOOKUP IS RETURNING N/A AND THEREFORE MY TOTAL SUM AT THE BOT. Martin Excel Discussion (Misc queries) 2 December 13th 04 11:21 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
SUMPRODUCT using offset from ROW if X marks the spot The Shaffer s Excel Worksheet Functions 3 November 2nd 04 06:14 AM


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