Hi guys,
Very specific query for a workbook I'm building so I hope you can help me.
I need to incorporate a formula in column D(Flag) so this field populates one of these three labels (First time, Prior, Before) when the following scenarios occur.
The logic/formula needs to be reset every time a new entity appears in column A:
Many thanks,
JG
Very specific query for a workbook I'm building so I hope you can help me.
I need to incorporate a formula in column D(Flag) so this field populates one of these three labels (First time, Prior, Before) when the following scenarios occur.
The logic/formula needs to be reset every time a new entity appears in column A:
- Populates "First time" when "Y" appears for the first time in the Release column
- Populates "After" to everything that happens after the first time that "Y" appears in the Release column
- Populates "Before" for everything that happens before the first time that "Y" appears in the Release column
Name | Period | Release | Flag |
Entity 1 | 1 | N | Prior |
Entity 1 | 2 | Y | First time |
Entity 1 | 3 | Y | After |
Entity 2 | 1 | Y | First time |
Entity 2 | 2 | Y | After |
Entity 2 | 3 | N | After |
Entity 2 | 4 | N | After |
Entity 2 | 5 | Y | After |
Entity 3 | 1 | N | Prior |
Entity 3 | 2 | N | Prior |
Entity 3 | 3 | N | Prior |
Entity 3 | 4 | Y | First Time |
Entity 3 | 5 | N | After |
Many thanks,
JG