LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 73
Default multiple criteria with countif or sumif

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
 
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
countif, multiple criteria... Oggie Ben Doggie Excel Worksheet Functions 2 January 19th 06 06:52 PM
countif using multiple criteria Wayne E Excel Discussion (Misc queries) 4 January 19th 06 03:11 AM
SUMIF With Multiple Criteria Mike Excel Worksheet Functions 1 November 2nd 05 11:08 PM
Multiple Criteria in a SUMIF formula JCARROLL Excel Discussion (Misc queries) 1 July 20th 05 09:17 PM
using sumif & countif to sort multiple cells floridasurfn Excel Worksheet Functions 3 February 27th 05 09:23 PM


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