Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default Problem with Sumproduct

I need to count the number of items that have the designation of "R" (Column
A) and that also have a designation of "1" (Column B). I have tried several
different formulas, but always get the return value of "0" (Zero).

Formulas tried:
=sumproduct(('Test Map'!G4:G126="R")*('Test Map'!T4:T126="1"))
={SUMIF(('Test Map'!G4:G126= "R")*('Test Map'!T4:T126= "1"))}
=SUMPRODUCT(('Test Map'!$G$4:$G$126="R")*('Test Map'!$T$4:$T$126="1"))

Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Problem with Sumproduct

You probably have the "1" entered as a number, not text. Thus, no need for
quotation marks.
=SUMPRODUCT(('Test Map'!$G$4:$G$126="R")*('Test Map'!$T$4:$T$126=1))

Of note, you said columns A & B, but your formulas use G & T. I'm assuming
you really meant the latter.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Maureen" wrote:

I need to count the number of items that have the designation of "R" (Column
A) and that also have a designation of "1" (Column B). I have tried several
different formulas, but always get the return value of "0" (Zero).

Formulas tried:
=sumproduct(('Test Map'!G4:G126="R")*('Test Map'!T4:T126="1"))
={SUMIF(('Test Map'!G4:G126= "R")*('Test Map'!T4:T126= "1"))}
=SUMPRODUCT(('Test Map'!$G$4:$G$126="R")*('Test Map'!$T$4:$T$126="1"))

Any ideas?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Problem with Sumproduct

This should work

=SUMPRODUCT(('Test Map'!$G$4:$G$126="R")*('Test Map'!$T$4:$T$126=1))


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Maureen" wrote in message
...
I need to count the number of items that have the designation of "R"
(Column
A) and that also have a designation of "1" (Column B). I have tried
several
different formulas, but always get the return value of "0" (Zero).

Formulas tried:
=sumproduct(('Test Map'!G4:G126="R")*('Test Map'!T4:T126="1"))
={SUMIF(('Test Map'!G4:G126= "R")*('Test Map'!T4:T126= "1"))}
=SUMPRODUCT(('Test Map'!$G$4:$G$126="R")*('Test Map'!$T$4:$T$126="1"))

Any ideas?

__________ Information from ESET Smart Security, version of virus
signature database 3832 (20090206) __________

The message was checked by ESET Smart Security.

http://www.eset.com






__________ Information from ESET Smart Security, version of virus signature database 3832 (20090206) __________

The message was checked by ESET Smart Security.

http://www.eset.com




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Problem with Sumproduct

if that value is really a number (not text), I'd try:

=sumproduct(--('Test Map'!G4:G126="R")),--('Test Map'!T4:T126=1))



Maureen wrote:

I need to count the number of items that have the designation of "R" (Column
A) and that also have a designation of "1" (Column B). I have tried several
different formulas, but always get the return value of "0" (Zero).

Formulas tried:
=sumproduct(('Test Map'!G4:G126="R")*('Test Map'!T4:T126="1"))
={SUMIF(('Test Map'!G4:G126= "R")*('Test Map'!T4:T126= "1"))}
=SUMPRODUCT(('Test Map'!$G$4:$G$126="R")*('Test Map'!$T$4:$T$126="1"))

Any ideas?


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default Problem with Sumproduct

Thanks for the help; I will give these a try

"Bob Phillips" wrote:

This should work

=SUMPRODUCT(('Test Map'!$G$4:$G$126="R")*('Test Map'!$T$4:$T$126=1))


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Maureen" wrote in message
...
I need to count the number of items that have the designation of "R"
(Column
A) and that also have a designation of "1" (Column B). I have tried
several
different formulas, but always get the return value of "0" (Zero).

Formulas tried:
=sumproduct(('Test Map'!G4:G126="R")*('Test Map'!T4:T126="1"))
={SUMIF(('Test Map'!G4:G126= "R")*('Test Map'!T4:T126= "1"))}
=SUMPRODUCT(('Test Map'!$G$4:$G$126="R")*('Test Map'!$T$4:$T$126="1"))

Any ideas?

__________ Information from ESET Smart Security, version of virus
signature database 3832 (20090206) __________

The message was checked by ESET Smart Security.

http://www.eset.com






__________ Information from ESET Smart Security, version of virus signature database 3832 (20090206) __________

The message was checked by ESET Smart Security.

http://www.eset.com





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 #Value! Problem deeds Excel Worksheet Functions 8 May 5th 08 05:01 PM
Sumproduct Problem Gos-C Excel Worksheet Functions 13 February 10th 06 07:07 PM
Problem using sumproduct Hiughs Excel Worksheet Functions 4 March 5th 05 11:28 AM
Another Sumproduct & #N/A problem Dave Davis Excel Worksheet Functions 3 January 10th 05 03:59 PM
SUMPRODUCT problem Jane Excel Worksheet Functions 3 November 8th 04 11:58 PM


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