I'm creating a travel reimbursement document and am trying to figure out how to have excel populate the appropriate reimbursement amount based on multiple fields of entry
I have tried to research this but I'm not sure how to make it happen and am hoping that someone here will be able to provide me some help.
I can provide a couple of screenshots that might be helpful if wanted, but will need to know how to add those here?
Each row in column S will have 3 control buttons for selection (breakfast, lunch, and supper) If the 'breakfast' control button is selected in column S, the departure time and arrival times in the same column must be referenced to determine amount of time in travel status (if the arrival time field is blank, assume midnight, if no value is entered in departure time assume 12:01 am). For breakfast to be allowed, the employee must be in travel status for more than 3 hours prior to 10:00am (6:59am or earlier, until 10:00am). If time requirement is met, then if the employee has selected In-State in column M of the same row, then $8.50 should be allowed for that meal in column T (same row) but if Out-of-state was selected, then $13.00 should be aallowed for that meal in column T. If, however, the employee was not in travel status for more than 3 hours prior to 10:00, then an error message of 'disallowed' should be presented and no value for that meal added to column T. Additionally, coding for the control buttons for lunch and supper must also be considered for each row (15-45). If I have help on this first part, I will try to do the coding for the other meals. However, I will also need to know how to add the multiple amounts in this way to a single field?
Here is the meal allowance details: