Dear Alan,
Files attached again and also in column K absent days should be marked as ABSENT
Rest all seems to be fine
Thanks,
Nelson
Dear Alan,
Files attached again and also in column K absent days should be marked as ABSENT
Rest all seems to be fine
Thanks,
Nelson
Hi Nelson
This is a new requirement ?
But I understand and can do it
_........................................
_1)
No rest is still NOT fine
I count 24 days in Worksheet "121" ( "File 3 Before.xlsx" = 24 days worked)
You give 25 ????
Please explain why you give 25 ????
_............................................
_2)
The test data that you have chosen does not test this scenario “...holiday is deducted if the person does not come the day before and after the holiday...”
Let me try to explain to you what you possibly want ( = ..holiday is deducted if the person does not come the day before and after the holiday... )
If Before =
Worksheet: 121Before
Row\Col E F G H I J 9 29.Dec.16 10 30.Dec.16 7:00 18:00 11:00 9:00 2:00 11 31.Dec.16
Then After =
Worksheet: 121After
Row\Col E F G H I J 9 29.Dec.16 10 30.Dec.16 7:00 18:00 11:00 9:00 2:00 11 31.Dec.16
_..................
Else IF Before =
Worksheet: 121Before
Row\Col E F G H I J 9 29.Dec.16 7:00 18:00 11:00 9:00 2:00 10 30.Dec.16 7:00 18:00 11:00 9:00 2:00 11 31.Dec.16
Then After =
Worksheet: 121After
Row\Col E F G H I J 9 29.Dec.16 7:00 18:00 11:00 9:00 2:00 10 30.Dec.16 7:00 18:00 11:00 10:00 11 31.Dec.16
Is this correct?
_................................................
Try again !!!
Alan
P.s. I have had a code for you finished now for many days: But I cannot test it until you give me correct info and data !!!!!!
I am very confused, why you keep giving me wrong and inappropriate data ????
P.P.s. You are using the second code. It uses the formulas suggested by Admin. It need a help column which the code puts in. It did put those in column K. But you want that for the ABSENT indication. So I suggested that could be in column L. I had no response and I do not know why am writing this as I expect you have no idea what I am saying. Never mind. I expect we will get there in the end.
Last edited by DocAElstein; 02-08-2017 at 05:44 PM.
….If you are my competitor, I will try all I can to beat you. But if I do, I will not belittle you. I will Salute you, because without you, I am nothing.
If you are my enemy, we will try to kick the fucking shit out of you…..
Winston Churchill, 1939
Save your Forum..._
KILL A MODERATOR!!
Dear Alan,
TOTAL NO. OF DAYS ----->25 ,i.e, Absent 4 days plus one holiday (5 days) - Absent days are 29,31,9,19 and 30 (the employee did not come on 29 and 31 so 30 holiday marked as absent).......
Rest explained in attached file
Thanks,
Nelson![]()
Hi Nelson,
This I now understand ( It was impossible to know this as the code was not putting ABSENT in. I can do this and understand now_................................................. .........Code:Using Excel 2007 32 bitWorksheet: Sheet1
BEFORE 29.Dec.16 30.Dec.16 31.Dec.16AFTER 29.Dec.16ABSENT 30.Dec.16ABSENT 31.Dec.16ABSENT
OK This makes sense now
( You forgot to put ABSENT in 30. December , ( "File 4 After.xlsx" )
This was your After ( "File 4 After.xlsx" )
Worksheet: 121
29.Dec.16ABSENT 30.Dec.16 31.Dec.16ABSENT
It should have been this !!!
Worksheet: 121
29.Dec.16ABSENT 30.Dec.16ABSENT 31.Dec.16ABSENT
_............................
I think I understand now
I will have time to look again at this tomorrow
Alan
Last edited by DocAElstein; 02-08-2017 at 10:32 PM.
….If you are my competitor, I will try all I can to beat you. But if I do, I will not belittle you. I will Salute you, because without you, I am nothing.
If you are my enemy, we will try to kick the fucking shit out of you…..
Winston Churchill, 1939
Save your Forum..._
KILL A MODERATOR!!
Bookmarks