Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default Sumprodcut not working for me...please help

Column L either has a number in it or it is blank. Column N has the word
play in it or it is blank. I would like to count up the number of cells in
column L that have a 1 in them only if the corresponding cell in column N has
the word play in it. I tried this formula
(=SUMPRODUCT(L2:L83=1,N2:N83="PLAY")) but it isn't working. Any ideas?
Thanks




  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Sumprodcut not working for me...please help

=SUMPRODUCT(--(L2:L83=1),--(N2:N83="PLAY"))


"Jambruins" wrote:

Column L either has a number in it or it is blank. Column N has the word
play in it or it is blank. I would like to count up the number of cells in
column L that have a 1 in them only if the corresponding cell in column N has
the word play in it. I tried this formula
(=SUMPRODUCT(L2:L83=1,N2:N83="PLAY")) but it isn't working. Any ideas?
Thanks




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default Sumprodcut not working for me...please help

Thanks that worked but I realized I wrote my question wrong. I would Column
M has either a W, L, or blank. I would like to count all the cells in column
L that have a 1 in them only if the corresponding cell in column M has a W or
an L in it. Thanks.
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Sumprodcut not working for me...please help

=SUMPRODUCT((L2:L83=1)*(M2:M83={"W","L"}))



--
Don Guillett
SalesAid Software

"Jambruins" wrote in message
...
Thanks that worked but I realized I wrote my question wrong. I would
Column
M has either a W, L, or blank. I would like to count all the cells in
column
L that have a 1 in them only if the corresponding cell in column M has a W
or
an L in it. Thanks.





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default Sumprodcut not working for me...please help

thanks, works perfectly

"Don Guillett" wrote:

=SUMPRODUCT((L2:L83=1)*(M2:M83={"W","L"}))



--
Don Guillett
SalesAid Software

"Jambruins" wrote in message
...
Thanks that worked but I realized I wrote my question wrong. I would
Column
M has either a W, L, or blank. I would like to count all the cells in
column
L that have a 1 in them only if the corresponding cell in column M has a W
or
an L in it. 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
Tracking Date/Actual Working Time Elapsed Jive Excel Worksheet Functions 1 September 25th 06 02:14 PM
Highlighted Reference Cell for a Working Cell Mr. Low Excel Worksheet Functions 0 June 22nd 06 04:27 PM
Sumproduct suddenly not working Andy Excel Discussion (Misc queries) 7 July 11th 05 10:56 PM
Calling another workbook not working malik641 Excel Worksheet Functions 2 June 24th 05 07:36 PM
how do I adjust working calendar (6 day work week) in excel that . Hatem Excel Worksheet Functions 1 January 25th 05 12:04 PM


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