Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default Count Names NOT #N/A

I have a list of names (column A) which ends in a bunch of #N/As (because
they include formulas that are... well... N/A) and I'd like to count the
names, not the "#N/A"s. Can someon help me out with a formula please?

I'm thinking it should be something like:

=COUNTIF(A1:A16, NOT "#N/A")

But that doesn't work!

In English that would be, Please count all the names and disregard the cells
with #N/A in them. How many people is that?

Please help and thanks in advance!
--Dax
  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: Count Names NOT #N/A

Hi Dax,

To count the names in column A and exclude the #N/A errors, you can use the COUNTIF function with the "<" operator. Here's the formula you can use:
  1. =COUNTIF(A1:A16,"<"&"#N/A")

This formula will count all the cells in the range A1:A16 that are not equal to "#N/A". The "&" symbol is used to concatenate the "<" operator with the "#N/A" text.

If you have any macro or Visual Basic code, wrap it in the
Formula:
and [b][/b
tags.

Thank you.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Count Names NOT #N/A

Maybe...

=COUNTIF(A1:A16,"<#n/a")



Dax Arroway wrote:

I have a list of names (column A) which ends in a bunch of #N/As (because
they include formulas that are... well... N/A) and I'd like to count the
names, not the "#N/A"s. Can someon help me out with a formula please?

I'm thinking it should be something like:

=COUNTIF(A1:A16, NOT "#N/A")

But that doesn't work!

In English that would be, Please count all the names and disregard the cells
with #N/A in them. How many people is that?

Please help and thanks in advance!
--Dax


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Count Names NOT #N/A

Maybe this:

=COUNTIF(A1:A16,"*")

That will count all the *text* entries in the range and exclude the #N/As

--
Biff
Microsoft Excel MVP


"Dax Arroway" wrote in message
...
I have a list of names (column A) which ends in a bunch of #N/As (because
they include formulas that are... well... N/A) and I'd like to count the
names, not the "#N/A"s. Can someon help me out with a formula please?

I'm thinking it should be something like:

=COUNTIF(A1:A16, NOT "#N/A")

But that doesn't work!

In English that would be, Please count all the names and disregard the
cells
with #N/A in them. How many people is that?

Please help and thanks in advance!
--Dax



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
Count names and occurrences Midjack Excel Worksheet Functions 8 January 16th 08 02:32 PM
Count Names relo Excel Worksheet Functions 7 August 8th 07 07:42 PM
Count Names mudraker Excel Worksheet Functions 2 June 22nd 06 09:21 AM
Count Names Diana Excel Discussion (Misc queries) 3 September 22nd 05 06:00 PM
Count names Farrel Excel Worksheet Functions 4 July 14th 05 08:50 PM


All times are GMT +1. The time now is 08:29 AM.

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

About Us

"It's about Microsoft Excel"