Formula to Count Rows Meeting Multiple Criteria

powelly04

New Member
Joined
Jan 28, 2015
Messages
14
Hi, Need help with a formula been googleing all day and tried many different formulas but getting no where so now looking for assistance Below is test data for the purpose of this example.

I need to count all rows that have complete install and app. all 3 criteria need to be variable tho and be sleeted from a drop down list on my report page. the formula page will then do the magic and then the report page will format the data nicely in rank.

Below is test data for the purpose of an example.

Formula i am using is: =SUMPRODUCT((COUNTIF(INDIRECT("'"&Report!$a$2&"'!$G:$G"), "=complete")),(COUNTIF(INDIRECT("'"&Report!$a$2&"'!$C:$C"), Report!$a2)))

Sheet 1

ABCDEFG
DateTimeHostnameAppJobTypeReturnCodeComment
2014-03-0701:00:00ComputerAXInstall0COMPLETE
2014-03-0703:00:00ComputerBXInstall0COMPLETE
2014-03-0709:00:00ComputerCYExtract128Unzip



<tbody>
</tbody>















Sheet 2

ABCDEFG
DateTimeHostnameAppJobTypeReturnCodeComment
2014-03-0701:00:00ComputerAXInstall0COMPLETE
2014-03-0701:05:00ComputerAXInstall0COMPLETE
2014-03-0701:00:00ComputerBYExtract0COMPLETE


<tbody>
</tbody>















Formulas

A
=SUMPRODUCT((COUNTIF(INDIRECT("'"&Report!$a$2&"'!$G:$G"), "=complete")),(COUNTIF(INDIRECT("'"&Report!$a$2&"'!$C:$C"), Report!$a2)))


Report

A
Sheet 1 "this is a drop down box to allow the user of the report to select which sheet to look
Comment "again drop down list of COMPLETE / NOT STARTED / IN PROCESS"

Results
 
on my formula page. > I will then use another formula to rank them in order. > And then on my report it will then arrange the rank and display them in order.

I can do the 2nd 2 parts with ease just cant get the numbers im after to then be able to sort them.

Try to answer the question literally. In which sheet and which cell of that sheet must the formula go?
 
Upvote 0

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
formula page

We call Sheet1 a sheet. The name of this sheet is Sheet1.

We often say: The formula must be invoked in A2 of Sheet1, meaning the first instance of the formula in question is typed in A2.

So my question is: In which cell of which sheet must the formula invoked?
 
Upvote 0

Forum statistics

Threads
1,215,131
Messages
6,123,222
Members
449,091
Latest member
jeremy_bp001

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top