#1   Report Post  
Jimbola
 
Posts: n/a
Default Counting

Hi there I have a spreadsheet that is set up as follows;


Type Age From To (blank to date is case
still open)
John 1 12 1/4/05
Jackie 2 15 1/5/05 7/8/05
Ian 3 16 1/4/05 8/4/05
Mike 3 17 7/6/05 9/9/05
Luke 3 17 1/6/05
Vince 1 12 2/5/05 8/5/05
Tina 1 18 1/4/05

I want to populate the following table

Type1 Type2 Type3
Over 16
Under 16

So effectively I want to know how many cases of the type and age are open
currrently. So far example if we were in June the table would look like

Type1 Type2 Type3
Over 16 1 2
Under 16 1

All help is greatly appreciated

J

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Assuming the source table is in A1:E100 and the target table is H1:K3, then
use a formula of

=SUMPRODUCT(--($B$2:$B$10=1),--($C$2:$C$1016),--(MONTH($D$2:$D$10)<=6))

for over 16 type 1. Adjust the rest to suit

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jimbola" wrote in message
...
Hi there I have a spreadsheet that is set up as follows;



Type Age From To (blank to date is case
still open)
John 1 12 1/4/05
Jackie 2 15 1/5/05 7/8/05
Ian 3 16 1/4/05 8/4/05
Mike 3 17 7/6/05 9/9/05
Luke 3 17 1/6/05
Vince 1 12 2/5/05 8/5/05
Tina 1 18 1/4/05

I want to populate the following table

Type1 Type2 Type3
Over 16
Under 16

So effectively I want to know how many cases of the type and age are open
currrently. So far example if we were in June the table would look like

Type1 Type2 Type3
Over 16 1 2
Under 16 1

All help is greatly appreciated

J



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
Counting Values Alan Excel Worksheet Functions 6 June 9th 05 07:33 AM
Counting... Patrick G Excel Worksheet Functions 3 February 23rd 05 10:05 PM
Back Dating (Counting Backwards) Aviator Excel Discussion (Misc queries) 5 February 9th 05 06:55 PM
Auto Filter Counting AM Excel Worksheet Functions 1 December 15th 04 04:53 PM
counting simonkf Excel Worksheet Functions 7 October 30th 04 09:33 PM


All times are GMT +1. The time now is 06:36 PM.

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

About Us

"It's about Microsoft Excel"