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: 10
Default "Nested" COUNTIF's

Hello, I have a simple application which retrieves a list of users from
an Active Directory, and exports it to an Excel file.

Each user is on a row with columns A-E containing name, user name,
department and a few other columns. Column F and the successive columns
contain the groups the user is member of - one group name per cell.

By using COUNTIF on the department column, I can easily find out how
many users are in a given department. Similarly, by using COUNTIF on
columns F-IV, I can count how many users are in a given group (assuming
each user only can be member of the given group once, which is a safe
assumption to make).

However, I'm having some trouble with the next calculation: How do I
count the number of users _in a given department_ who are members of a
given group? I can solve this by making auxiliary columns containing a
formula, but is it possible to solve by having the entire formula in a
single cell? (this calculation needs to be done for a lot of departments
and groups, so something other than a single-cell solution would get messy).

I appreciate any input!



Regards,
Nils Magnus
 
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
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
Nested "IF" With "And"and "OR" functions Richard Freist Excel Worksheet Functions 3 February 3rd 07 03:04 PM
Need more than 7 nested "IF" statements in Excel" James A Excel Discussion (Misc queries) 1 December 17th 06 02:02 AM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


All times are GMT +1. The time now is 07:01 AM.

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"