Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Tough Formula question

I'm trying to create a labor schedule which will count the number of
employees by job position by the day they work. I've figured out how to count
by Job title of employee and plug that into a specific cell, but what I'm
trying to do is calculate this based only on the day that they work.

Essentially, Bob, vince, and Ben are all managers, 2 work monday, 1 on
tuesday and 3 on wednesday. How can I filter a count of managers working day
by day based on which day they have hours logged in when there will be about
100 people all with differing job titles?

My spreadsheet is essentially a listing of the hours that are worked and
when breaks are taken so I'm trying to create a formula conditional to the
job title and based on whether hours are logged for that day or not.

Most importantly, I'd like the formula to be easy to work with and not have
to add 100 conditions for 100 employees. Is there a way to scan specific
cells? I orignally thought that a "countif" formula would work for the job
title through a general range of cells, but also adding the condition that
"Hours" be greater than zero to define a specific day worked. However I can't
seem to make it work since if any "hours" are zero then no one who has hours
for that day is listed.

Name Bob Start 12:00 AM
Position: manager foh Out 10:15 AM
Wage: $1.00 In 10:45 AM
Notes: End 9:00 PM
Hours 20.50
OT 12.50
$$$ 26.75

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default Tough Formula question

I think I'd use a SUMPRODUCT for this. Let's assume column B shows "MANAGER"
or "Associate" or whatever and Column C includes the hours for the day

=SUMPRODUCT(--(B2:B100="MANAGER"),(C2:C100))

HTH,
Barb Reinhardt



"Bryce" wrote:

I'm trying to create a labor schedule which will count the number of
employees by job position by the day they work. I've figured out how to count
by Job title of employee and plug that into a specific cell, but what I'm
trying to do is calculate this based only on the day that they work.

Essentially, Bob, vince, and Ben are all managers, 2 work monday, 1 on
tuesday and 3 on wednesday. How can I filter a count of managers working day
by day based on which day they have hours logged in when there will be about
100 people all with differing job titles?

My spreadsheet is essentially a listing of the hours that are worked and
when breaks are taken so I'm trying to create a formula conditional to the
job title and based on whether hours are logged for that day or not.

Most importantly, I'd like the formula to be easy to work with and not have
to add 100 conditions for 100 employees. Is there a way to scan specific
cells? I orignally thought that a "countif" formula would work for the job
title through a general range of cells, but also adding the condition that
"Hours" be greater than zero to define a specific day worked. However I can't
seem to make it work since if any "hours" are zero then no one who has hours
for that day is listed.

Name Bob Start 12:00 AM
Position: manager foh Out 10:15 AM
Wage: $1.00 In 10:45 AM
Notes: End 9:00 PM
Hours 20.50
OT 12.50
$$$ 26.75

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
tough lookup question Bonnie Excel Discussion (Misc queries) 9 August 9th 07 06:46 PM
A tough question? - about surface plots ShaneDevenshire Charts and Charting in Excel 8 February 7th 07 03:51 AM
A tough macro question Brad Excel Discussion (Misc queries) 0 October 17th 06 07:26 PM
*Tough Math Question* Spreadsheet Excel Worksheet Functions 7 June 6th 06 05:51 PM
Tough question SHAETY Excel Discussion (Misc queries) 8 February 17th 06 04:32 AM


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