Hi,
I have data in an excel sheet that provides a time and date at which a certain meal was
taken during the day. For example breakfast at 9:00 am, lunch at 3:30 pm and dinner at 5:00 pm.
The meal time includes a start date, end date, start time and end time. With this data I can calculate how long it took to eat a meal.
However, I would like to calculate the difference in time between each meal in relation to the meal previous to it. So for example, if breakfast finished at 9:00 am and lunch was eaten at 2:00 pm on the same day the difference between the meals is 5 hrs.
The challenge is that the data I have in excel has multiple entries for breakfast, lunch and dinner for different dates. How can I calculate the time difference between meals for each single day and ensure that I don't calculate the time difference between meals on different dates?
Any help will be appreciated. I have attached the excel sheet with sample data.
Thanks,
Nader
I have data in an excel sheet that provides a time and date at which a certain meal was
taken during the day. For example breakfast at 9:00 am, lunch at 3:30 pm and dinner at 5:00 pm.
The meal time includes a start date, end date, start time and end time. With this data I can calculate how long it took to eat a meal.
However, I would like to calculate the difference in time between each meal in relation to the meal previous to it. So for example, if breakfast finished at 9:00 am and lunch was eaten at 2:00 pm on the same day the difference between the meals is 5 hrs.
The challenge is that the data I have in excel has multiple entries for breakfast, lunch and dinner for different dates. How can I calculate the time difference between meals for each single day and ensure that I don't calculate the time difference between meals on different dates?
Any help will be appreciated. I have attached the excel sheet with sample data.
Thanks,
Nader