Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Countif & AND functions

Finally gave up and have to ask the question..
I have a simple spreadsheet with 5 columns, column B is places, column D is
a statement of "Done" or "NOT Done".

All I want to do is count the number of records there are per place that are
NOT Done.

eg column B includes a place called Central London, I want to count the
number of records if B= "Central London" and D= "NOT Done".

Any assistance would be gratefully received.
Many thanks


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 913
Default Countif & AND functions

On Sun, 18 Jan 2009 01:28:36 -0000, "Mick"
wrote:

Finally gave up and have to ask the question..
I have a simple spreadsheet with 5 columns, column B is places, column D is
a statement of "Done" or "NOT Done".

All I want to do is count the number of records there are per place that are
NOT Done.

eg column B includes a place called Central London, I want to count the
number of records if B= "Central London" and D= "NOT Done".

Any assistance would be gratefully received.
Many thanks


Try this formula:

=SUMPRODUCT((B1:B100="Central London")*(D1:D100="NOT Done"))

Change the 100 to suit the size iof your data in column B and D

Hope this helps / Lars-Åke
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Countif & AND functions

Hi,

If you enter the location you want to count in F1 then your formula would be

=SUMPRODUCT(--(B1:B100=F1),--(D1:D100="Not Done"))

or in 2007:

=COUNTIFS(B:B,F1,D:D,"Not Done")
--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Mick" wrote:

Finally gave up and have to ask the question..
I have a simple spreadsheet with 5 columns, column B is places, column D is
a statement of "Done" or "NOT Done".

All I want to do is count the number of records there are per place that are
NOT Done.

eg column B includes a place called Central London, I want to count the
number of records if B= "Central London" and D= "NOT Done".

Any assistance would be gratefully received.
Many thanks



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Countif & AND functions

Many thanks to you both I thought I had tried everything.
Both versions worked.

Many thanks
Mick

"Mick" wrote in message
...
Finally gave up and have to ask the question..
I have a simple spreadsheet with 5 columns, column B is places, column D
is a statement of "Done" or "NOT Done".

All I want to do is count the number of records there are per place that
are NOT Done.

eg column B includes a place called Central London, I want to count the
number of records if B= "Central London" and D= "NOT Done".

Any assistance would be gratefully received.
Many 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
COUNTIF & AND Functions Iriemon Excel Worksheet Functions 5 January 30th 07 06:54 PM
COUNTIF & AND FUNCTIONS mike_vr Excel Discussion (Misc queries) 7 November 8th 06 12:23 PM
Using COUNTIF and AND functions together Twinkle17 Excel Worksheet Functions 1 May 18th 06 09:34 AM
countif functions bsantona Excel Worksheet Functions 11 December 19th 05 02:45 AM
CountIf functions themax16 Excel Discussion (Misc queries) 1 September 6th 05 05:41 PM


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