If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Dcount Alternative?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-21-04, 06:06
Zygorf Zygorf is offline
Registered User
 
Join Date: Apr 2004
Posts: 0
Dcount Alternative?

Hi

I currently have 2 excel spreadsheets named Team 1 master and team 2 master. Each spreadsheet has on it a list of approx 5000 items. I have column headings as follows:

Date, CSC, Team Manager, Plan Number, CR Number, Deadline Date, Green/Red SLA, Dept Sent to, Callback required, Promise met, Correct CR Raised, and a few more which are not used in the counts I need.

What I need is a count of the number of requests where the Date is between 2 fixed dates (1 week), the green/red SLA is green, and the Team manager is a certain team manager. I need this result for 10 weeks. These Results are to be shown on a third spreadsheet.

I have looked at using dcount but this means having 10 different criteria arrays. I have also looked at using array formulae but I want to avoid this is this drastically slows down the spreadsheet. Is there any other way to do this? Possibly in VBA?

I have attatched a small sample of the spreadsheet

Thanks

Last edited by Zygorf; 04-21-04 at 06:13.
Reply With Quote
  #2 (permalink)  
Old 04-21-04, 11:01
SnakePlissken SnakePlissken is offline
Registered User
 
Join Date: Apr 2004
Location: Poland
Posts: 6
Re: Dcount Alternative?

where's the attachment? Have you ziped it before submit?
Reply With Quote
  #3 (permalink)  
Old 04-21-04, 11:03
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
SUMPRODUCT is one way to do it.

I put start date in L1 and End date in M1, then used this formula (it works). Adjust ranges as needed.

=SUMPRODUCT(($A$2:$A$100>=L1)*($A$2:$A$100<M1)*($C $2:$C$100="Joe")*($G$2:$G$100="green"))

If you need this one the summary page, then include the sheet reference with each range. be sure not to use A:A with sumproduct, it won't work.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On