LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default COUNTIF with 2 criteria

not quite helping ,,, let me see if I can explain a bit more ,,,,,I want to
count the number of orders that show as SHIP but I only want to count them
once if the order number in column A appears more than once...... so I want
to be able to count the number of SHIPS in column B but only count them once
if the order number in column A appears more than once ,,,,, so the below
would return an answer of 2

A B
1 123456 SHIP
2 123456 SHIP
3 145799 NOT
4 145799 SHIP

"Bob Umlas" wrote:

=COUNTIF(B1:B1000,"SHIP")
Bob Umlas
Excel MVP

"John Moore" wrote in message
...
How would I resolve the problem if there were numerous numbers in column A
,,, say 1000 lines and I wanted to count how many of those were showing as
SHIP ,,, so the result for the below table would be 3 .... ?

"Sloth" wrote:

=SUMPRODUCT(--(A1:A4=123456),--(B1:B4="SHIP"))

Do a search for "SUMPRODUCT" to find other examples and explanations of
why
this works.

"John Moore" wrote:

Hi guys, need a solution to a COUNTIF problem ,,, I want to be able to
count
the number the number of times a number appears in a column based on
the
criter of SHIP .... e.g.

A B
1 123456 SHIP
2 123456 NOT
3 123456 SHIP
4 343536 SHIP

so from the above table the result would be 2 for 1234546 SHIP.




 
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 - 2 Criteria [email protected] Excel Discussion (Misc queries) 3 May 14th 07 06:16 PM
Two criteria for CountIf? DB_Bill Excel Worksheet Functions 6 June 1st 06 04:33 PM
Countif using format criteria not number criteria? Rumbla76 Excel Worksheet Functions 1 April 20th 05 05:38 AM
Countif using format criteria....not number criteria? Troy Excel Worksheet Functions 1 April 20th 05 04:50 AM
countif criteria johnT Excel Worksheet Functions 5 March 28th 05 02:55 AM


All times are GMT +1. The time now is 05:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"