Taking a total number of employees that meet certain conditions

  • Thread starter sanedracnehpets
  • Start date
S

sanedracnehpets

I am trying to calculate how many employees have been employed from their
start date to today's date (for example). Then, they need to be categorized
by total number of employees that have worked more than 365 days, 730 days,
etc.

So far, I have the following list:

Today's Date: 09/09/2008

Name: Start Date: Number of dates employed:
John 11/05/2007 309
Jane 07/09/2007 428
Jacob 07/09/2007 428
Joel 07/10/2006 792
Janet 07/10/2006 792
Joey 07/10/2006 792

Total number of employees is 6

The solution should show:

# employed > 365 days is 5
# employed > 730 days is 3
 
G

Gary''s Student

In cells E8 thru E9 enter (or elsewhere):
=COUNTIF(C:C,">" & 365)
=COUNTIF(C:C,">" & 730)
 
B

Bob Phillips

=SUMPRODUCT(--((B2:B7-TODAY())>365))

without the helper column, or

=COUNTIF(C:C,">365")

with

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
S

sanedracnehpets

Thank you very much

Is there a way to filter to not include certain people? i.e.
Today's Date: 09/09/2008
A B C D
1 Name: Start Date: Number of dates employed: Status:
2 John 11/05/2007 309 Employed
3 Jane 07/09/2007 428 Employed
4 Jacob 07/09/2007 428 No longer Employed
5 Joel 07/10/2006 792 No longer Employed
6 Janet 07/10/2006 792 Employed
7 Joey 07/10/2006 792 Employed

Total number of employees is 6

The solution should now show:

# employed > 365 days is 3
# employed > 730 days is 2
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top