Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 78
Default Problem using SUMPRODUCT

I am having trouble replacing exact cell references with named ranges in my
formulas.

Why does the following (with exact cell references) work:

=SUMPRODUCT((DOCs!P408:P701="TF")*(DOCs!O408:O701= "Y"))
Answer: 1 (which is correct)

But the following (substituting ranges for the cell references), doesnt:

=SUMPRODUCT((W_Type="TF")*(W_New="Y"))
Generates Answer: 10 (wrong)

What am I doing wrong?

I'm running this from one sheet while the ranges are in another €“ both
sheets are in the same workbook. The ranges are not entire columns & they
are of the same size.

Both columns are text with currently either TF or blank in W_Type (in the
future there will be other text in there as well that I will need to find).

W_New will either be Y or blank.

Thanks,
JoAnn
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4,393
Default Problem using SUMPRODUCT

I would venture a guess: that the naming was done incorrectly
Try pasting a list of named ranges to a blank area of your worksheet - or
just look at the list of defined names.
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"JoAnn" wrote in message
...
I am having trouble replacing exact cell references with named ranges in my
formulas.

Why does the following (with exact cell references) work:

=SUMPRODUCT((DOCs!P408:P701="TF")*(DOCs!O408:O701= "Y"))
Answer: 1 (which is correct)

But the following (substituting ranges for the cell references), doesn't:

=SUMPRODUCT((W_Type="TF")*(W_New="Y"))
Generates Answer: 10 (wrong)

What am I doing wrong?

I'm running this from one sheet while the ranges are in another - both
sheets are in the same workbook. The ranges are not entire columns & they
are of the same size.

Both columns are text with currently either TF or blank in W_Type (in the
future there will be other text in there as well that I will need to
find).

W_New will either be Y or blank.

Thanks,
JoAnn



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 Problem Joe Gieder New Users to Excel 5 May 29th 07 07:04 PM
Sumproduct Problem Gos-C Excel Worksheet Functions 13 February 10th 06 07:07 PM
sumproduct problem Stefan Excel Worksheet Functions 2 January 5th 06 10:59 AM
Problem using sumproduct Hiughs Excel Worksheet Functions 4 March 5th 05 11:28 AM
SUMPRODUCT Problem Mestrella31 Excel Discussion (Misc queries) 2 December 21st 04 07:01 PM


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