![]() |
![]() |
|
|||||||
| 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: Apr 2002
Posts: 1
|
I have a database that looks like this
A 1287 1287-3345 1287-6785 I want to write a formula that can count the number of times 1287 has occured in the same column. Thanks in advance |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,319
|
Quote:
=SUMPRODUCT(ISNUMBER(SEARCH(E1,A1:A3))+0) where A1:A3 is the range of interest and E1 houses the target value to count. Addendum: If the range of interest houses text-formatted entries only, =COUNTIF(A1:A3,"*"&E1&"*") will suffice. [ This Message was edited by: Aladin Akyurek on 2002-04-10 05:31 ] |
|
|
|
|
|
|
#3 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi Jayco
Man=ybe even: =COUNTIF(A1:A5000,1287)+COUNTIF(A1:A5000,"1287*") |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|