Hi bit of a humdinger of a problem here. I oversee a project that runs shifts on a Friday and Saturday night from 21.00hrs to 03.00hrs. I have information on who visited the project for every shift logged in a spreadsheet with part of the columns logging day, date and time.
The day is automatically added in from the date so is logged as Friday, Saturday or Sunday.
I need to 'rename' the days so I know whether the information was logged on a 'Friday' night shift - which would be from 21.00hrs on a Friday to 03.00hrs on a Saturday. Or whether it was a 'Saturday' night shift - which would be from 21.00hrs on a Saturday to 03.00hrs on a Sunday. Obviously the problem is that if it was past midnight on Friday it's logged as Saturday with the change in date, though it was a Friday night shift etc.
This information is logged from 22nd November 2008 and I need a yearly count of visitors depending on whether the visited on a Friday night shift or a Saturday night shift so need to be able to rename the days in the first column accordingly.
I've copied a bit of the information below to give you an idea. Hoping that description makes sense, can anyone wrap their brain round it? Here's hopin - thank you!
[pre]
[/pre]
The day is automatically added in from the date so is logged as Friday, Saturday or Sunday.
I need to 'rename' the days so I know whether the information was logged on a 'Friday' night shift - which would be from 21.00hrs on a Friday to 03.00hrs on a Saturday. Or whether it was a 'Saturday' night shift - which would be from 21.00hrs on a Saturday to 03.00hrs on a Sunday. Obviously the problem is that if it was past midnight on Friday it's logged as Saturday with the change in date, though it was a Friday night shift etc.
This information is logged from 22nd November 2008 and I need a yearly count of visitors depending on whether the visited on a Friday night shift or a Saturday night shift so need to be able to rename the days in the first column accordingly.
I've copied a bit of the information below to give you an idea. Hoping that description makes sense, can anyone wrap their brain round it? Here's hopin - thank you!
[pre]
Code:
Friday 07/12/2012 23.45 00.20
Friday 07/12/2012 23.20 01.15
Saturday08/12/2012 00.01 00.09
Saturday08/12/2012 23.30 23.42
Saturday08/12/2012 23.15 23.30
Saturday08/12/2012 23.00 23.10
Sunday 09/12/2012 01.30 01.48
Sunday 09/12/2012 01.15 01.25
Sunday 09/12/2012 01.20 02.10
Sunday 09/12/2012 01.40 02.00
Sunday 09/12/2012 01.10 01.25
Sunday 09/12/2012 00.55 01.10
Sunday 09/12/2012 00.40 02.45
Sunday 09/12/2012 00.47 00.55
Sunday 09/12/2012 22.30 22.40
Sunday 09/12/2012 02.20 03.00
Friday 14/12/2012 02.35 02.50
Friday 14/12/2012 21.45 22.10
Saturday15/12/2012 02.02 02,28
Saturday15/12/2012 23.30 23.45
Saturday15/12/2012 00.00 00.40
Saturday15/12/2012 22.45 23.00
Saturday15/12/2012 02.15 02.25
Saturday15/12/2012 02.45 03.25
Sunday 16/12/2012 02.10 02.25
Sunday 16/12/2012 00.20 01.10
Sunday 16/12/2012 00.45 00.59