Hi,
I have measurements of an equipment that produces tablets. The operator logs the value that the machine shows every 15 minutes. This value shows how many tablets were produced from the last reset.
I would like to see how many tablets were produced between two consecutive measurements.
My data looks like this:
Date&Time Measurement
Date&Time | Measurement |
01/06/2016 06:00 | 0 |
01/06/2016 06:30 | 12000 |
01/06/2016 07:00 | 22000 |
01/06/2016 07:30 | 30000 |
01/06/2016 08:00 | 44000 |
01/06/2016 08:30 | 58000 |
01/06/2016 09:00 | 72000 |
01/06/2016 09:30 | 80000 |
01/06/2016 10:00 | 102000 |
I would need to add a new column that shows every 30 minutes how many tablets were produced. My table should be like this:
Date&Time | Measurement | Tablets produced between two measurements |
01/06/2016 06:00 | 0 | 0 |
01/06/2016 06:30 | 12000 | 12000 |
01/06/2016 07:00 | 22000 | 10000 |
01/06/2016 07:30 | 30000 | 8000 |
01/06/2016 08:00 | 44000 | 14000 |
01/06/2016 08:30 | 58000 | 14000 |
01/06/2016 09:00 | 72000 | 14000 |
01/06/2016 09:30 | 80000 | 8000 |
01/06/2016 10:00 | 102000 | 22000 |
Thank you for the help.
Nandor