Count Criteria

marej

New Member
Joined
Aug 18, 2007
Messages
15
I have the following scenario - I need to count items based on multiple criteria. I have put the answer required. Can someone please tell me what the formula would be. Please note this is just a sample. The number of criteria that needs to be counted will vary.

Data Criteria Data to count
contract 1 10
contract 1 20
contract 1 30
contract 1 30
contract 4 10

ANSWER
Data - Criteria Data to count
contract 1 4
contract 4 1
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
try this


Excel Workbook
ABCDE
1contract 110contract 14
2contract 120contract 41
3contract 130
4contract 130
5contract 410
Sheet1
 
Upvote 0
using anandvarma's table.

Cell E1 formula, copy down :

=COUNTIF(A:A,D1)

Regards
 
Upvote 0

Forum statistics

Threads
1,224,594
Messages
6,179,792
Members
452,942
Latest member
VijayNewtoExcel

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