Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
PGiessler
 
Posts: n/a
Default 2 Criteria Counting

In reading some of the other posts, I think this might be a Countif or
Sumproduct function but haven't been able to get the formulas to work...

Here is the outcome I am looking to achieve ..

I have about 300 rows of data, each row represents an project. Each project
has a Project Manager, and each project manager has multiple projects. Some
projects are open and some are closed.

In column, 'E' have have the name of the Project Manager (Harris, Jones,
Smith, etc). In column 'G' I have the status of the project (open, closed,
cancelled). All of this information is in a Worksheet titled "DATA"

I am trying to show the number of "Open" projects "Harris" has in a separate
Worksheet titled "SUMMARY". I am confident that I will need to enter the
Project Manager's Name in column "A" of the "Summary" sheet, but would like a
formula to count the rest from the "DATA" worksheet.

DATA
Harris Open
Harris Closed
Harris Open


SUMMARY
Name Open Closed Cancelled
Harris 2 1 0
Jones
Smith


Any help would be greatly appreciated as the boss is getting restless.

Paul
  #2   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

In B2 on Summaary enter, copy across then down:

=SUMPRODUCT(--(DATA!$A$2:$A$300=$A2),--(DATA!$B$2:$B$30=B$1))

where $A2 houses a manager name, B$1 Open, C$1 Closed, and D$1
Cancelled, the project status values

PGiessler wrote:
In reading some of the other posts, I think this might be a Countif or
Sumproduct function but haven't been able to get the formulas to work...

Here is the outcome I am looking to achieve ..

I have about 300 rows of data, each row represents an project. Each project
has a Project Manager, and each project manager has multiple projects. Some
projects are open and some are closed.

In column, 'E' have have the name of the Project Manager (Harris, Jones,
Smith, etc). In column 'G' I have the status of the project (open, closed,
cancelled). All of this information is in a Worksheet titled "DATA"

I am trying to show the number of "Open" projects "Harris" has in a separate
Worksheet titled "SUMMARY". I am confident that I will need to enter the
Project Manager's Name in column "A" of the "Summary" sheet, but would like a
formula to count the rest from the "DATA" worksheet.

DATA
Harris Open
Harris Closed
Harris Open


SUMMARY
Name Open Closed Cancelled
Harris 2 1 0
Jones
Smith


Any help would be greatly appreciated as the boss is getting restless.

Paul

  #3   Report Post  
PGiessler
 
Posts: n/a
Default

Thanks, Aladin ... works like a charm!

"Aladin Akyurek" wrote:

In B2 on Summaary enter, copy across then down:

=SUMPRODUCT(--(DATA!$A$2:$A$300=$A2),--(DATA!$B$2:$B$30=B$1))

where $A2 houses a manager name, B$1 Open, C$1 Closed, and D$1
Cancelled, the project status values

PGiessler wrote:
In reading some of the other posts, I think this might be a Countif or
Sumproduct function but haven't been able to get the formulas to work...

Here is the outcome I am looking to achieve ..

I have about 300 rows of data, each row represents an project. Each project
has a Project Manager, and each project manager has multiple projects. Some
projects are open and some are closed.

In column, 'E' have have the name of the Project Manager (Harris, Jones,
Smith, etc). In column 'G' I have the status of the project (open, closed,
cancelled). All of this information is in a Worksheet titled "DATA"

I am trying to show the number of "Open" projects "Harris" has in a separate
Worksheet titled "SUMMARY". I am confident that I will need to enter the
Project Manager's Name in column "A" of the "Summary" sheet, but would like a
formula to count the rest from the "DATA" worksheet.

DATA
Harris Open
Harris Closed
Harris Open


SUMMARY
Name Open Closed Cancelled
Harris 2 1 0
Jones
Smith


Any help would be greatly appreciated as the boss is getting restless.

Paul


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
Max value that meets a criteria David Burr Excel Worksheet Functions 6 February 16th 05 01:31 PM
Counting rows based on criteria in multiple cells Margaret Excel Discussion (Misc queries) 11 December 2nd 04 11:04 PM
counting with a criteria in multiple transactions shafali Excel Worksheet Functions 1 November 29th 04 01:15 AM
Counting "rows", i.e. simultaneous criteria for multiple cells gkline Excel Worksheet Functions 2 November 19th 04 07:30 AM
Can I use a cell reference in the criteria for the sumif function. Number Cruncher Excel Worksheet Functions 2 November 4th 04 07:52 PM


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