Hi All,
I have what is again probably another one for the Excel gurus on this form, but I am currently about to lob a laptop out a window trying to get this to work.
below should show an example of a sheet currently being used.
Ultimately what I am trying, (in vain) to get to work is if the total time on the road on any given date is over 5 hours that the Meal Allowance in R4 will be applied and if over 10 hours R3 will be applied
For now though I would be happy with getting a simply Yes/No response if applicable or not.
Looking forward to your responses, and thanking you in advance.
I have what is again probably another one for the Excel gurus on this form, but I am currently about to lob a laptop out a window trying to get this to work.
below should show an example of a sheet currently being used.
Ultimately what I am trying, (in vain) to get to work is if the total time on the road on any given date is over 5 hours that the Meal Allowance in R4 will be applied and if over 10 hours R3 will be applied
For now though I would be happy with getting a simply Yes/No response if applicable or not.
Looking forward to your responses, and thanking you in advance.
Expenses sheet 15.06.23- 28.06.23.xlsx | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | |||
1 | Company Expenses Claim Form | ||||||||||||||||||||
2 | |||||||||||||||||||||
3 | ALLOWANCE SHEET | 15th June - 28th June '23 | 39.08 | more 10 hours | |||||||||||||||||
4 | 16.29 | more 5 hours | |||||||||||||||||||
5 | EMPLOYEE:- | Employee 789665 | |||||||||||||||||||
6 | |||||||||||||||||||||
7 | |||||||||||||||||||||
8 | DATE | FROM | TO | REASON | RETURN? | TIME DEPARTED | TIME ARRIVED | JOB COMPLETE | RETURN TO OFFICE | KMS BAND 1 | KMS BAND 2 | KMS BAND 3 | KMS BAND 4 | MILEAGE | TOLLS | TIME AWAY | MEALS | ||||
9 | 0.5182 | 0.9063 | 0.3922 | 0.2587 | TOTAL | ALLOWANCE | ALLOWANCE | ||||||||||||||
10 | |||||||||||||||||||||
11 | 20/06/2023 | Office | Client 1 | On-Site Issue | Y | 11:50:00 | 12:25:00 | 12:35:00 | 13:25:00 | 58.00 | No | 01:35 | |||||||||
12 | 21/06/2023 | Office | Client 2 | On-Site Issue | Y | 10:30:00 | 11:00:00 | 11:40:00 | 12:10:00 | 58.00 | No | 01:40 | |||||||||
13 | 21/06/2023 | Office | Client 3 | On-Site Issue | Y | 15:25:00 | 16:00:00 | 16:10:00 | 17:00:00 | 58.00 | No | 01:35 | |||||||||
14 | 28/06/2023 | Office | Client 4 | On-Site Issue | N | 10:55:00 | 11:13:00 | 11:25:00 | 12.00 | No | 00:30 | ||||||||||
15 | 28/06/2023 | Client 4 | Client 5 | On-Site Issue | N | 11:25:00 | 13:15:00 | 14:00:00 | 16.00 | No | 02:35 | ||||||||||
16 | 28/06/2023 | Client 5 | Client 6 | On-Site Issue | Y | 14:05:00 | 14:45:00 | 16:00:00 | 17:00:00 | 60.00 | No | 02:55 | 16.29 | ||||||||
17 | |||||||||||||||||||||
18 | |||||||||||||||||||||
19 | |||||||||||||||||||||
20 | |||||||||||||||||||||
Main |
Cell Formulas | ||
---|---|---|
Range | Formula | |
P11:P16 | P11 | =IF(SUMIFS(Q11:Q26, A11:A26, A11) > TIME(5,0,0), "Yes", "No") |
Q11:Q16 | Q11 | =IF(I11="", TEXT(MOD((H11-F11+1), 1), "hh:mm"), TEXT(MOD((I11-F11+1), 1), "hh:mm")) |