#1   Report Post  
Roger
 
Posts: n/a
Default countif

Hi there!
I have a spreadsheet wiht 5 colums; I want to count how many times a product
appears on column E, only IF cells on column A= 1000.

Anyone?
regards,
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

=SUMPRODUCT(--(A1:A2000=1000), --(E1:E2000="<product"))

http://www.mcgimpsey.com/excel/doubleneg.html


In article ,
"Roger" wrote:

I have a spreadsheet wiht 5 colums; I want to count how many times a product
appears on column E, only IF cells on column A= 1000.

  #3   Report Post  
Roger
 
Posts: n/a
Default

Hi there,

Many thanks for your help, but the formula is returning wiht 0(zero), value
- Is there a specific place I should write the formula?
regards,
Roger

"JE McGimpsey" wrote:

One way:

=SUMPRODUCT(--(A1:A2000=1000), --(E1:E2000="<product"))

http://www.mcgimpsey.com/excel/doubleneg.html


In article ,
"Roger" wrote:

I have a spreadsheet wiht 5 colums; I want to count how many times a product
appears on column E, only IF cells on column A= 1000.


  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

Don't put the formula in A1:A2000 and not in E1:E2000.

But do make sure you change "<product" to the real name.

If this doesn't help, post back the formula you used.

Roger wrote:

Hi there,

Many thanks for your help, but the formula is returning wiht 0(zero), value
- Is there a specific place I should write the formula?
regards,
Roger

"JE McGimpsey" wrote:

One way:

=SUMPRODUCT(--(A1:A2000=1000), --(E1:E2000="<product"))

http://www.mcgimpsey.com/excel/doubleneg.html


In article ,
"Roger" wrote:

I have a spreadsheet wiht 5 colums; I want to count how many times a product
appears on column E, only IF cells on column A= 1000.



--

Dave Peterson
  #5   Report Post  
Roger
 
Posts: n/a
Default

Once again many thanks for your help.

The formula I have used is :
=SUMPRODUCT(--(A3:a2002=109266),--(e3:e2002="AS400"))
The result in the cell is zero, however when I press the fx on the formula
bar, the correct number appears.

Best regards,
Roger

"Dave Peterson" wrote:

Don't put the formula in A1:A2000 and not in E1:E2000.

But do make sure you change "<product" to the real name.

If this doesn't help, post back the formula you used.

Roger wrote:

Hi there,

Many thanks for your help, but the formula is returning wiht 0(zero), value
- Is there a specific place I should write the formula?
regards,
Roger

"JE McGimpsey" wrote:

One way:

=SUMPRODUCT(--(A1:A2000=1000), --(E1:E2000="<product"))

http://www.mcgimpsey.com/excel/doubleneg.html


In article ,
"Roger" wrote:

I have a spreadsheet wiht 5 colums; I want to count how many times a product
appears on column E, only IF cells on column A= 1000.


--

Dave Peterson



  #6   Report Post  
Dave Peterson
 
Posts: n/a
Default

Do you have calculation set to automatic?

Tools|Options|Calculation tab


Roger wrote:

Once again many thanks for your help.

The formula I have used is :
=SUMPRODUCT(--(A3:a2002=109266),--(e3:e2002="AS400"))
The result in the cell is zero, however when I press the fx on the formula
bar, the correct number appears.

Best regards,
Roger

"Dave Peterson" wrote:

Don't put the formula in A1:A2000 and not in E1:E2000.

But do make sure you change "<product" to the real name.

If this doesn't help, post back the formula you used.

Roger wrote:

Hi there,

Many thanks for your help, but the formula is returning wiht 0(zero), value
- Is there a specific place I should write the formula?
regards,
Roger

"JE McGimpsey" wrote:

One way:

=SUMPRODUCT(--(A1:A2000=1000), --(E1:E2000="<product"))

http://www.mcgimpsey.com/excel/doubleneg.html


In article ,
"Roger" wrote:

I have a spreadsheet wiht 5 colums; I want to count how many times a product
appears on column E, only IF cells on column A= 1000.


--

Dave Peterson


--

Dave Peterson
  #7   Report Post  
Roger
 
Posts: n/a
Default

Dave,

Its ok now...not sure what happened! Anyway...thank you ever so much for
your help and time!
Best Regards,
Roger

"Dave Peterson" wrote:

Do you have calculation set to automatic?

Tools|Options|Calculation tab


Roger wrote:

Once again many thanks for your help.

The formula I have used is :
=SUMPRODUCT(--(A3:a2002=109266),--(e3:e2002="AS400"))
The result in the cell is zero, however when I press the fx on the formula
bar, the correct number appears.

Best regards,
Roger

"Dave Peterson" wrote:

Don't put the formula in A1:A2000 and not in E1:E2000.

But do make sure you change "<product" to the real name.

If this doesn't help, post back the formula you used.

Roger wrote:

Hi there,

Many thanks for your help, but the formula is returning wiht 0(zero), value
- Is there a specific place I should write the formula?
regards,
Roger

"JE McGimpsey" wrote:

One way:

=SUMPRODUCT(--(A1:A2000=1000), --(E1:E2000="<product"))

http://www.mcgimpsey.com/excel/doubleneg.html


In article ,
"Roger" wrote:

I have a spreadsheet wiht 5 colums; I want to count how many times a product
appears on column E, only IF cells on column A= 1000.


--

Dave Peterson


--

Dave Peterson

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
COUNTIF COMBINATION?? Heather Excel Worksheet Functions 1 April 26th 05 02:44 AM
Combining IF and COUNTIF based on two columns maxtrixx Excel Discussion (Misc queries) 5 March 31st 05 06:21 PM
COUNTIF in one colum then COUNTIF in another...??? JonnieP Excel Worksheet Functions 3 February 22nd 05 02:55 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM
countif, again Liz G Excel Worksheet Functions 2 November 1st 04 11:20 PM


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