#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 747
Default Dcounta

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
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

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
DCounta doesn't work Rambo Excel Worksheet Functions 5 August 10th 09 04:26 AM
Dcounta chau Excel Discussion (Misc queries) 4 March 4th 08 12:15 AM
please help with dcounta doyree Excel Discussion (Misc queries) 4 February 2nd 08 12:11 AM
DCOUNTA question Barb Reinhardt Excel Worksheet Functions 0 January 14th 08 10:11 PM
DCOUNTA & wildcards Paul Dennis Excel Discussion (Misc queries) 6 September 4th 07 06:44 PM


All times are GMT +1. The time now is 03:47 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"