I have attached a sample. I need something that will return the # of employees that have Months of Service within a given range (col A) and a Termination Reason that matches the reasons in Row 1.
TIA!
I have attached a sample. I need something that will return the # of employees that have Months of Service within a given range (col A) and a Termination Reason that matches the reasons in Row 1.
TIA!
Last edited by kmlloyd; 08-10-2010 at 04:59 PM.
Convert column A into the upper bound number of months, e.g. 3, 6, 12, 36, 60, 120, 240 and make the 20+years something big, like 1000...
then in B2:
=SUMPRODUCT(--('YTD Terms'!$C$2:$C$40<=$A2),--('YTD Terms'!$B$2:$B$40=B$1))-SUM(B$1:B1)
copied across the matrix
adjust ranges to suit.
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
thank you so much!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks