Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a worksheet that lists employees, their locations & job titles. On
another worksheet I need a formula that counts the employees from each locations dependent upon what group they fall in, ie. (mgmt, Administrative, labor, etc.). The formula below works, but since I have so much criteria, I run out of space. Formula: {=COUNT(IF(('Employees Works Sheet'!B1:B750="CALV ")*('Employees Work Sheet'!D1:D750="Chauffeur I"),'Employees Work Sheet'!A1:A750))+COUNT(IF(('Employees Work Sheet'!B9:B750="CALV")*('Employees Work Sheet'!D1:D750="Laborer"),'Employees Work Sheet'!A1:a750))+COUNT(IF(('Employees Work Sheet'!B9:B750="Crew Leader"),'Employees Work Sheet'!A1:A750))} See Ex. Worksheet #1 Location Name Title CALV Smith, A. Laborer PUL Simms, F. Chef II CALV Watson, T. Crew Leader KEY HWY Jackson, G. Crew Leader Worksheet #2 Location MGT CLERICAL LABOR CALV Formula results (2) PUL KEY HWY MID-TOWN Any help would be greatly appreciated |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Renee,
Forget formulas. Use a Pivot Table. Select your data table, then use Data / Pivot Table.... and click Ok when the dialog comes up. Then drag the location to the row field, the Job type to the column field, and Job type to the data field, and you will get a summary table of job type by location. If you want further categorization of the jobs, you could use another column to identify the type of job, with entries such as Management , Clerical, Labor, etc. and then use that as the basis of your pivot table. HTH, Bernie MS Excel MVP "Renee" wrote in message ... I have a worksheet that lists employees, their locations & job titles. On another worksheet I need a formula that counts the employees from each locations dependent upon what group they fall in, ie. (mgmt, Administrative, labor, etc.). The formula below works, but since I have so much criteria, I run out of space. Formula: {=COUNT(IF(('Employees Works Sheet'!B1:B750="CALV ")*('Employees Work Sheet'!D1:D750="Chauffeur I"),'Employees Work Sheet'!A1:A750))+COUNT(IF(('Employees Work Sheet'!B9:B750="CALV")*('Employees Work Sheet'!D1:D750="Laborer"),'Employees Work Sheet'!A1:a750))+COUNT(IF(('Employees Work Sheet'!B9:B750="Crew Leader"),'Employees Work Sheet'!A1:A750))} See Ex. Worksheet #1 Location Name Title CALV Smith, A. Laborer PUL Simms, F. Chef II CALV Watson, T. Crew Leader KEY HWY Jackson, G. Crew Leader Worksheet #2 Location MGT CLERICAL LABOR CALV Formula results (2) PUL KEY HWY MID-TOWN Any help would be greatly appreciated |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
countif, multiple criteria... | Excel Worksheet Functions | |||
countif using multiple criteria | Excel Discussion (Misc queries) | |||
SUMIF With Multiple Criteria | Excel Worksheet Functions | |||
Multiple Criteria in a SUMIF formula | Excel Discussion (Misc queries) | |||
using sumif & countif to sort multiple cells | Excel Worksheet Functions |