dataAnalystB
New Member
- Joined
- Apr 16, 2014
- Messages
- 2
I am working with a very large data set where I need to be able to count the number of individuals for a particular position based on either their hired date or termed date. With smaller data sets, I can just sort by hired or termed date, then position, and manually count by selecting the group, but I feel there has to be a more efficient way of doing this can clicking and dragging. Not every line of the data set has a hired date, and of course some of those with hired dates do not have a termination date.
I would appreciate any suggestions on how to write a COUNTIFS statement that looks first at the position and then either Hired or Terminated to deliver the count for that position.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Hired[/TD]
[TD]Termed[/TD]
[TD]Position[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Position A[/TD]
[/TR]
[TR]
[TD]1/15/2013[/TD]
[TD]8/09/2013[/TD]
[TD]Position A[/TD]
[/TR]
[TR]
[TD]7/17/2011[/TD]
[TD]12/13/2013[/TD]
[TD]Position A[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Position B[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Position B[/TD]
[/TR]
[TR]
[TD]8/19/2013[/TD]
[TD][/TD]
[TD]Position B[/TD]
[/TR]
[TR]
[TD]1/16/2013[/TD]
[TD]4/12/2013[/TD]
[TD]Position B[/TD]
[/TR]
[TR]
[TD]3/20/2014[/TD]
[TD][/TD]
[TD]Position B[/TD]
[/TR]
[TR]
[TD]5/22/2010[/TD]
[TD]4/13/2014[/TD]
[TD]Position B[/TD]
[/TR]
[TR]
[TD]7/23/2012[/TD]
[TD][/TD]
[TD]Position C[/TD]
[/TR]
[TR]
[TD]8/23/2012[/TD]
[TD]7/15/2013[/TD]
[TD]Position C[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Position C[/TD]
[/TR]
[TR]
[TD]9/10/2009[/TD]
[TD]3/25/2014[/TD]
[TD]Position C[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Position C[/TD]
[/TR]
</tbody>[/TABLE]
Thank you!
I would appreciate any suggestions on how to write a COUNTIFS statement that looks first at the position and then either Hired or Terminated to deliver the count for that position.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Hired[/TD]
[TD]Termed[/TD]
[TD]Position[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Position A[/TD]
[/TR]
[TR]
[TD]1/15/2013[/TD]
[TD]8/09/2013[/TD]
[TD]Position A[/TD]
[/TR]
[TR]
[TD]7/17/2011[/TD]
[TD]12/13/2013[/TD]
[TD]Position A[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Position B[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Position B[/TD]
[/TR]
[TR]
[TD]8/19/2013[/TD]
[TD][/TD]
[TD]Position B[/TD]
[/TR]
[TR]
[TD]1/16/2013[/TD]
[TD]4/12/2013[/TD]
[TD]Position B[/TD]
[/TR]
[TR]
[TD]3/20/2014[/TD]
[TD][/TD]
[TD]Position B[/TD]
[/TR]
[TR]
[TD]5/22/2010[/TD]
[TD]4/13/2014[/TD]
[TD]Position B[/TD]
[/TR]
[TR]
[TD]7/23/2012[/TD]
[TD][/TD]
[TD]Position C[/TD]
[/TR]
[TR]
[TD]8/23/2012[/TD]
[TD]7/15/2013[/TD]
[TD]Position C[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Position C[/TD]
[/TR]
[TR]
[TD]9/10/2009[/TD]
[TD]3/25/2014[/TD]
[TD]Position C[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Position C[/TD]
[/TR]
</tbody>[/TABLE]
Thank you!