Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default COUNTIF & data validation from a drop down

Hey

Could someone help...

I have yes/no/N/A list in various cells

i would like to cout how many no's there are

when i use the countif formula, it won't work and returns the value of 0
when clearly a cell has a no in it.

i'm using "=COUNTIF(D10:D14,"No")"

--
kelly m johnson
UK
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default COUNTIF & data validation from a drop down

Maybe that's not all the cell contains?

Any extra spaces in the cells?

In E10 enter =TRIM(D10) copy down to D14

Use your countif on E10:E14..........any better?


Gord Dibben MS Excel MVP

On Tue, 5 Jun 2007 10:27:01 -0700, Kelly 1st
wrote:

Hey

Could someone help...

I have yes/no/N/A list in various cells

i would like to cout how many no's there are

when i use the countif formula, it won't work and returns the value of 0
when clearly a cell has a no in it.

i'm using "=COUNTIF(D10:D14,"No")"


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default COUNTIF & data validation from a drop down

Check if cells have added blanks e.g "No " will not match

OR

try:

=COUNTIF(D10:D14,"No*")

"Kelly 1st" wrote:

Hey

Could someone help...

I have yes/no/N/A list in various cells

i would like to cout how many no's there are

when i use the countif formula, it won't work and returns the value of 0
when clearly a cell has a no in it.

i'm using "=COUNTIF(D10:D14,"No")"

--
kelly m johnson
UK

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default COUNTIF & data validation from a drop down

Thank you to you both!!
--
kelly m johnson
Great Britain


"Gord Dibben" wrote:

Maybe that's not all the cell contains?

Any extra spaces in the cells?

In E10 enter =TRIM(D10) copy down to D14

Use your countif on E10:E14..........any better?


Gord Dibben MS Excel MVP

On Tue, 5 Jun 2007 10:27:01 -0700, Kelly 1st
wrote:

Hey

Could someone help...

I have yes/no/N/A list in various cells

i would like to cout how many no's there are

when i use the countif formula, it won't work and returns the value of 0
when clearly a cell has a no in it.

i'm using "=COUNTIF(D10:D14,"No")"



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
data validation: variable drop down CDMAN Excel Discussion (Misc queries) 2 January 29th 07 07:34 AM
Data Validation - Drop Down Box L2Lafferty Excel Worksheet Functions 3 December 28th 06 07:25 PM
Drop down data validation Stephen Reid Excel Discussion (Misc queries) 5 July 27th 06 12:59 PM
Data Validation - Drop Down John Excel Worksheet Functions 3 April 25th 06 03:50 AM
drop downs & data validation burgi Excel Discussion (Misc queries) 2 June 23rd 05 09:40 PM


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