I'm looking for a formula that will sequence records based on a condition. Example: I have data listing employees by job code. I need to sequence those employees starting with "1" and restart when there is a different job code.