Cheslop84

New Member
Joined
Aug 24, 2016
Messages
5
In column A I have dates from 1/1/16 to 31/12/16

In cell d2 I have employee start date. In cell d4 I have leaving date

I need column to show employment status for everyday using the start date cell and leaving date cell as point of reference.

If start date is after 1/1/16 I want cells in column to say NA until we reach their start date in column a. Once employment starts I want cells in column b to say CURRENT from the date specified in the start date box. Then I want the cell to say LEAVER once a date has been inputted in to leaving date cell. (Leaving date cell will be blank until I input a leaving as and when it is relevent)

I need column b to show visible timeline of employment status, I.e. the cells in column b for which the dates in column a fall inside start date and leave date cells will say CURRENT and those outside these dates will either say NA or LEAVER, whichever is applicable.

Any ideas?
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Hi, welcome to the forum :)

Here is one option you could try:


Excel 2013
ABCDE
1DateStatusStartLeave
201/01/2016NA10/01/201618/01/2016
302/01/2016NA
403/01/2016NA
504/01/2016NA
605/01/2016NA
706/01/2016NA
807/01/2016NA
908/01/2016NA
1009/01/2016NA
1110/01/2016Current
1211/01/2016Current
1312/01/2016Current
1413/01/2016Current
1514/01/2016Current
1615/01/2016Current
1716/01/2016Current
1817/01/2016Current
1918/01/2016Current
2019/01/2016Leave
2120/01/2016Leave
2221/01/2016Leave
2322/01/2016Leave
2423/01/2016Leave
2524/01/2016Leave
Sheet1
Cell Formulas
RangeFormula
B2=IF(A2<$D$2,"NA",IF(AND(A2>$E$2,$E$2<>""),"Leave","Current"))
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,934
Members
449,094
Latest member
teemeren

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top