Hey guys,
** Context **
I work in television advertising, where we have to make sure that none of our spots (ie. the times when our ads are showing) are playing on the same station (channel) within a 16 minute interval.
Each week, we copy all of the spots (often tens of thousands) that we have into an excel document.
The data look something like the following (but imagine 10000000000 more rows):
** Brief **
I am trying to find a quick and easy way to not only identify, but also single out the, what we call, "consecutive breaks" - i.e. spots that play on the same station within a 16 minute interval.
At the moment, I have done the following:
Thank you in advance for your help,
Emma
** Context **
I work in television advertising, where we have to make sure that none of our spots (ie. the times when our ads are showing) are playing on the same station (channel) within a 16 minute interval.
Each week, we copy all of the spots (often tens of thousands) that we have into an excel document.
The data look something like the following (but imagine 10000000000 more rows):
** Brief **
I am trying to find a quick and easy way to not only identify, but also single out the, what we call, "consecutive breaks" - i.e. spots that play on the same station within a 16 minute interval.
At the moment, I have done the following:
- As the time is pasted in as a number, I am unable to simply reformat it into a time, so I have added a column to the left with the following formula : =TIMEVALUE(LEFT(F2,LEN(F2)-2)&":"&RIGHT(F2,2))
This has given the data in column F a time function.
- I then applied Conditional Formatting to the cells with column A the following custom formula: =ABS(A2-A1)<16/(24*60)
As you can see, this has made the spots appearing within a 16 minute interval appear in Red.
HOWEVER, this doesn't take into account the date, which is why the data in cell a5 has also appeared in red.
Additionally, this only highlights ONE of the rows involved in the consecutive break (e.g. A2, but not A3), which means I cannot simply filter by "Consecutive breaks", as one of them would not appear.
- If the date was able to be taken into consideration in the conditional formatting, I could leave it as is, and scroll through all of the ones that appear in Red, and pair them up, however, when there are huge amounts of data, this takes FOREVER, and I'm sure there is a more efficient way of doing this.
Thank you in advance for your help,
Emma