Dear All
With reference to the attached spreadsheet and screenshot below I have a situation where the user enters employee holidays as a start date and end date (black table called data_tbl). In addition the user specifies if the holiday starts and ends in the morning or afternoon to allow for a 1/2 day at the either end of the holiday period. The number of days taken is calculated using the Networkdays function, in combination with IF functions, to determine the number of days taken.
Capture.JPG
As further processing of the data is required by way of using pivot tables / charts I need to convert the data entered by the user in to a new table similar to the blue table depicted called list_tbl. The new table should indicate if a 1/2 or whole day was taken for each date and allowance made so the it will refresh when data is amended, added or removed from the data_tbl. I guess this is a job for vba. I would welcome any assistance as my knowledge of vba is limited.
Bookmarks