|Excel questions are best asked in the Office Software forum.|
But, try this:
Since we don't have enough info to give an exact answer, here's a solution that you should be able to modify to suit your needs.
Column A is Years Worked
Column B is Employee Status (Full or Part Time)
In Cell B7 enter this formula: