Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Grd Grd is offline
external usenet poster
 
Posts: 118
Default how do I find out how many name i have in a list of names

any help would be great

Thanks

S
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default how do I find out how many name i have in a list of names

=COUNTA(A1:A20)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Grd" wrote in message
...
any help would be great

Thanks

S



  #3   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default how do I find out how many name i have in a list of names

If you are trying to count how many "unique" names are in a list that could
contain duplicates, Jim Cone has that feature covered in his nifty commercial
Add-in called XLCompanion. It's available at
http://www.realezsites.com/bus/primitivesoftware/

Vaya con Dios,
Chuck, CABGx3


"Grd" wrote:

any help would be great

Thanks

S

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default how do I find out how many name i have in a list of names

On Jun 12, 11:40 am, Grd wrote:
any help would be great

Thanks

S


If you mean "Names" like Excel means "Names" (e.g. under
InsertNamesDefine)

here is an algorithm which illustrates how to iterate over the
collection of Excel Names:

Sub Count_Names()
Dim xName As Variant
Dim Result As Variant
Dim iCount As Integer
Dim List As Variant
iCount = 0
' Loop once for each name in the workbook.
For Each xName In ActiveWorkbook.Names
iCount = iCount + 1
List = List + " " & iCount & ") " & xName.Name & Chr(10)
' Loop to the next name.
Next xName
Result = MsgBox(prompt:="There are " & iCount & " Names in the
Active Workbook" & Chr(10) & List, Buttons:=vbOK)
End Sub

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
Need to find the higest alpahbetic name in a list of names Carlo Excel Worksheet Functions 11 February 27th 07 11:28 PM
Find a group of names in a long list Carl_Monday Excel Discussion (Misc queries) 1 August 9th 06 03:49 PM
list 1 has 400 names List 2 has 4000. find manes from list 1 on 2 Ed Excel Worksheet Functions 5 September 12th 05 09:48 AM
How do I find a name in a list of names? Cat Excel Worksheet Functions 2 September 7th 05 04:47 PM
find names on list 1 in list 2. list 1 4000 names list 2 400 name Ed Excel Worksheet Functions 1 September 4th 05 12:48 AM


All times are GMT +1. The time now is 01:22 AM.

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

About Us

"It's about Microsoft Excel"