Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default can someone help me with this formula

for columns b and c, if b is blank and c 1, i want the count for column c.

i tried these to no avail

=COUNT(IF(B3:B33="",C3:C31,C3:C33))

=SUMPRODUCT(B3:B33="")*(C3:C331)
--


Gary



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default can someone help me with this formula

Hi Gary,

Try:

=SUMPRODUCT(ISBLANK($B$3:$B$33)*($C$3:$C$331))


---
Regards,
Norman



"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
for columns b and c, if b is blank and c 1, i want the count for column
c.

i tried these to no avail

=COUNT(IF(B3:B33="",C3:C31,C3:C33))

=SUMPRODUCT(B3:B33="")*(C3:C331)
--


Gary





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default can someone help me with this formula

thanks norman, almost had it right.<g

--


Gary


"Norman Jones" wrote in message
...
Hi Gary,

Try:

=SUMPRODUCT(ISBLANK($B$3:$B$33)*($C$3:$C$331))


---
Regards,
Norman



"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
for columns b and c, if b is blank and c 1, i want the count for column
c.

i tried these to no avail

=COUNT(IF(B3:B33="",C3:C31,C3:C33))

=SUMPRODUCT(B3:B33="")*(C3:C331)
--


Gary







  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default can someone help me with this formula

=SUMPRODUCT((B3:B33="")*(C3:C331))

worked fine. You had a typo.

--
Regards,
Tom Ogilvy


"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
thanks norman, almost had it right.<g

--


Gary


"Norman Jones" wrote in message
...
Hi Gary,

Try:

=SUMPRODUCT(ISBLANK($B$3:$B$33)*($C$3:$C$331))


---
Regards,
Norman



"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
for columns b and c, if b is blank and c 1, i want the count for

column
c.

i tried these to no avail

=COUNT(IF(B3:B33="",C3:C31,C3:C33))

=SUMPRODUCT(B3:B33="")*(C3:C331)
--


Gary









  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default can someone help me with this formula

thanks for the clarification. just out of curiosity, is it possible to use
or with sumproduct? something like
=SUMPRODUCT(OR((B3:B33=""),(B3:B33="R"))*(C3:C331 ))

--


Gary


"Tom Ogilvy" wrote in message
...
=SUMPRODUCT((B3:B33="")*(C3:C331))

worked fine. You had a typo.

--
Regards,
Tom Ogilvy


"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
thanks norman, almost had it right.<g

--


Gary


"Norman Jones" wrote in message
...
Hi Gary,

Try:

=SUMPRODUCT(ISBLANK($B$3:$B$33)*($C$3:$C$331))


---
Regards,
Norman



"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
for columns b and c, if b is blank and c 1, i want the count for

column
c.

i tried these to no avail

=COUNT(IF(B3:B33="",C3:C31,C3:C33))

=SUMPRODUCT(B3:B33="")*(C3:C331)
--


Gary













  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default can someone help me with this formula

You can't use OR, you can use addition to simulate it - just like you are
doing with AND for multiplication.

=SUMPRODUCT(((B3:B33="")+(B3:B33="R")),--(C3:C331))

--
Regards,
Tom Ogilvy


"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
thanks for the clarification. just out of curiosity, is it possible to use
or with sumproduct? something like
=SUMPRODUCT(OR((B3:B33=""),(B3:B33="R"))*(C3:C331 ))

--


Gary


"Tom Ogilvy" wrote in message
...
=SUMPRODUCT((B3:B33="")*(C3:C331))

worked fine. You had a typo.

--
Regards,
Tom Ogilvy


"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
thanks norman, almost had it right.<g

--


Gary


"Norman Jones" wrote in message
...
Hi Gary,

Try:

=SUMPRODUCT(ISBLANK($B$3:$B$33)*($C$3:$C$331))


---
Regards,
Norman



"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
for columns b and c, if b is blank and c 1, i want the count for

column
c.

i tried these to no avail

=COUNT(IF(B3:B33="",C3:C31,C3:C33))

=SUMPRODUCT(B3:B33="")*(C3:C331)
--


Gary













  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default can someone help me with this formula

thanks for that, tom

--


Gary


"Tom Ogilvy" wrote in message
...
You can't use OR, you can use addition to simulate it - just like you are
doing with AND for multiplication.

=SUMPRODUCT(((B3:B33="")+(B3:B33="R")),--(C3:C331))

--
Regards,
Tom Ogilvy


"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
thanks for the clarification. just out of curiosity, is it possible to
use
or with sumproduct? something like
=SUMPRODUCT(OR((B3:B33=""),(B3:B33="R"))*(C3:C331 ))

--


Gary


"Tom Ogilvy" wrote in message
...
=SUMPRODUCT((B3:B33="")*(C3:C331))

worked fine. You had a typo.

--
Regards,
Tom Ogilvy


"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
thanks norman, almost had it right.<g

--


Gary


"Norman Jones" wrote in message
...
Hi Gary,

Try:

=SUMPRODUCT(ISBLANK($B$3:$B$33)*($C$3:$C$331))


---
Regards,
Norman



"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
for columns b and c, if b is blank and c 1, i want the count for
column
c.

i tried these to no avail

=COUNT(IF(B3:B33="",C3:C31,C3:C33))

=SUMPRODUCT(B3:B33="")*(C3:C331)
--


Gary















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
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


All times are GMT +1. The time now is 03:16 PM.

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"