#1   Report Post  
Connie Martin
 
Posts: n/a
Default SUMPRODUCT

I posted a question last week, to which I received the answer I needed, and
now I'm trying to apply the same style of formula to another already existing
formula but it isn't working and I can't figure it out. I have these
existing formulas:

=IF(COUNT(L30:L500)=0,"",COUNTIF(L30:L500,"0"))
=IF(COUNT(L30:L500)=0,"",COUNTIF(L30:L500,"<-4"))

With both of these formulas I want to count only if "BAG" is in E30:E500.

Thank you
Connie


  #2   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

=IF(COUNT(L30:L500)=0,"",SUMPRODUCT(--(L30:L5000),--(E30:E500="BAG")))

=IF(COUNT(L30:L500)=0,"",SUMPRODUCT(--(L30:L500<=-4),--(E30:E500="BAG")))


Arvi Laanemets


"Connie Martin" wrote in message
...
I posted a question last week, to which I received the answer I needed,

and
now I'm trying to apply the same style of formula to another already

existing
formula but it isn't working and I can't figure it out. I have these
existing formulas:

=IF(COUNT(L30:L500)=0,"",COUNTIF(L30:L500,"0"))
=IF(COUNT(L30:L500)=0,"",COUNTIF(L30:L500,"<-4"))

With both of these formulas I want to count only if "BAG" is in E30:E500.

Thank you
Connie




  #3   Report Post  
Connie Martin
 
Posts: n/a
Default

This appears to work. Thank you very much!

"Arvi Laanemets" wrote:

Hi

=IF(COUNT(L30:L500)=0,"",SUMPRODUCT(--(L30:L5000),--(E30:E500="BAG")))

=IF(COUNT(L30:L500)=0,"",SUMPRODUCT(--(L30:L500<=-4),--(E30:E500="BAG")))


Arvi Laanemets


"Connie Martin" wrote in message
...
I posted a question last week, to which I received the answer I needed,

and
now I'm trying to apply the same style of formula to another already

existing
formula but it isn't working and I can't figure it out. I have these
existing formulas:

=IF(COUNT(L30:L500)=0,"",COUNTIF(L30:L500,"0"))
=IF(COUNT(L30:L500)=0,"",COUNTIF(L30:L500,"<-4"))

With both of these formulas I want to count only if "BAG" is in E30:E500.

Thank you
Connie





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
Shorten sumproduct formula Andre Croteau Excel Discussion (Misc queries) 1 December 11th 04 10:30 PM
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 10:08 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"