# CountIf

#### abbotti

##### New Member
Hi, Hope someone can help me. In the table below I need to know how many people worked on the same work order per month based on column C “Number”. The result for Jan would be-WO 1111222333 would have 2 people and WO 3333111222 would have 2 people. I’m using Excel 2007 and trying the “CountIf Function” in column A. Thanks in advance and sorry if I posted in the wrong area. </SPAN>
B C D E</SPAN>
 Date Number Name Work Order Jan-13 111111 John, Snow 1111222333 Jan-13 111111 John, Snow 1111222333 Jan-13 111111 John, Snow 1111222333 Jan-13 111111 John, Snow 1111222333 Jan-13 222222 Jane, Dowe 3333111222 Jan-13 222222 Jane, Dowe 3333111222 Jan-13 222222 Jane, Dowe 3333111222 Jan-13 333333 Henery, John 1111222333 Jan-13 333333 Henery, John 1111222333 Jan-13 333333 Henery, John 1111222333 Jan-13 333333 Henery, John 1111222333 Jan-13 333333 Henery, John 1111222333 Jan-13 333333 Henery, John 1111222333 Jan-13 333333 Henery, John 1111222333 Jan-13 444444 Elvis, Presley 3333111222 Jan-13 444444 Elvis, Presley 3333111222 Jan-13 444444 Elvis, Presley 3333111222 Feb-13 555555 Stephen, Hawking 1111222333 Feb-13 555555 Stephen, Hawking 1111222333 Feb-13 555555 Stephen, Hawking 1111222333 Feb-13 555555 Stephen, Hawking 1111222333 Feb-13 666666 Reese, Witherspoon 3333111222 Feb-13 666666 Reese, Witherspoon 3333111222 Feb-13 666666 Reese, Witherspoon 3333111222

<TBODY>
</TBODY>

### Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

#### RonB1111

##### Well-known Member
If your data is in B2:E25,
enter in F2 1111222333
enter in F3 3333111222
enter in G2 and G3 the date 1/1/2013

Now enter this formula in H2 and copy down to H3:
Code:
``=SUMPRODUCT(1/COUNTIFS(C\$2:C\$25,C\$2:C\$25),--(B\$2:B\$25>=G2),--(B\$2:B\$25<=EOMONTH(G2,0)),--(E\$2:E\$25=F2))``

#### abbotti

##### New Member
Thanks Ron. Really appreciate it.</SPAN>

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,389
Messages
5,836,972
Members
430,464
Latest member
nickburrett

### 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.

### Which adblocker are you using?

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

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