# Puling data from matched date, time & machine name

#### conder

##### New Member
Hello, I have a measuring device on 4 x machines which measures run time in minutes and metres of material run through the machines.

The measuring device outputs the data into Excel but the format isn't great it displays as:

Date, Time, Machine 1, Runtime
Date, Time, Machine 1, Length
Date, time, Machine 2, Runtime
Date, Time, Machine 2, Length
etc.

Problem 1 - It doesn't always put the machine names in order, although always together.

It also has two sets of data for each machine per day - 06:00 and 18:00 as we run two shift.

I need to summaries the data as:

Date, 06:00, Machine 1, Runtime, Length - from this I'd also calculate up time / downtime based on 12 hours
Date, 18:00, Machine 1, Runtime, Length - from this I'd also calculate up time / downtime based on 12 hours

Date, 06:00, Machine 2, Runtime, Length - from this I'd also calculate up time / downtime based on 12 hours
Date, 018:00, Machine 2, Runtime, Length - from this I'd also calculate up time / downtime based on 12 hours

### Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,016
Messages
5,834,941
Members
430,327
Latest member
Mr_Himalayan778

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back