Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default Array - Count based on 3 conditions

Hi

I need to get the number of entries (of a certain type) based on
date & staff name

The data is presented as
a. Dates (All dates in column 'a' in a row)
b. Staff Name (Matthew) which is chosen through a drop down
(both a & b one one worksheet.)

another worksheet has the actual data sorted by date,time,staff name,
activity (which i need to lookup)

The cell adjacent to the date cell shouold pull up the no of records based
on the staff name chosen.

I hope I've been clear enuf on the question.
Any help apreciated.
Thx, Matt
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Array - Count based on 3 conditions

I'm not sure what the three conditions are that you have in your
heading, but you can count the two like this:

=SUMPRODUCT((Sheet2!A1:A100=A1)*(Sheet2!B1:B100=B1 ))

Assumes that your main data is on Sheet2, occupying up to 100 rows,
and that your drop-downs are in A1 and B1 (in future, please be
specific about the cells, ranges and sheetnames that you are using).

Hope this helps.

Pete

On Sep 1, 5:08*pm, Matts wrote:
Hi

I need to get the number of entries (of a certain type) based on
date & staff name

The data is presented as
a. Dates (All dates in column 'a' in a row)
b. Staff Name (Matthew) which is chosen through a drop down
(both a & b one one worksheet.)

another worksheet has the actual data sorted by date,time,staff name,
activity (which i need to lookup)

The cell adjacent to the date cell shouold pull up the no of records based
on the staff name chosen.

I hope I've been clear enuf on the question.
Any help apreciated.
Thx, Matt


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
COUNT based on conditions in 2 or more columns Annie1904 Excel Worksheet Functions 3 November 28th 07 04:28 PM
Count based on multiple conditions Ken Excel Discussion (Misc queries) 1 June 11th 07 09:50 PM
Grand total based on conditions within an array [email protected] Excel Discussion (Misc queries) 2 June 26th 06 09:00 PM
How do I count based on two conditions? Mark G New Users to Excel 2 January 31st 06 03:57 AM
Count Based upon Multiple Conditions hkslater Excel Worksheet Functions 4 November 19th 04 04:43 AM


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