![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 2
|
I'm trying to find a function that will count certain text in a coulumn but exclude others.
For example.... I have a column full of letters, say a-z, but when my formula counts the letter, I want it to exclude "d". Giving me a result of 25. Is this possible? |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Location: Perth Australia
Posts: 1,567
|
Hi Regan
Say your letters were in column A, put this formula in B1. =COUNTA(A:A)-COUNTIF(A:A,"D") hope this helps regards Derek |
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Or...
=COUNTIF(A:A,"<>D") |
|
|
|
|
|
#4 |
|
New Member
Join Date: Mar 2002
Posts: 2
|
Thanks a million !
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|