Thread: Dcounta
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
joel joel is offline
external usenet poster
 
Posts: 9,101
Default Dcounta

Set CountRange = Range("A1:E4")
Set CriteriaRange = Range("G1:G15")
total = WorksheetFunction.DCountA(CountRange, 3, CriteriaRange)

"muddan madhu" wrote:

Hi All,

I have spreadsheet which has some accounts details .....

Column I - names column

Each account is been worked by different people and they will update
in the respective row of Column I.

Want I need is count of accounts worked by A, B........

I use =dcounta function to get the result..... I need a macro to do
that job.


Thanks