2 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Combining several files into one, matching by date and time

Our take

Combining data from multiple sensors into a single master sheet can be challenging, especially when dealing with varying schedules and different measurement variables. In your case, using Power Query in Excel could be an effective solution to merge these CSV files by matching timestamps. While some columns may have different names and you may encounter gaps where data is missing, you can create a cohesive overview of your readings.

Hello fellow excel nerds! I need some help

I currently have data coming from several different sensors in several different csv files. Each operates on its own schedule and measures different variables. I’d like to combine them all into one master sheet, where for each time and date I have the output from each sensor.

I’m sensing power query is going to be what helps me, but I haven’t quite sussed it out yet. Part of the difficulty is that the columns are named differently as the sensors measure different things (like luminosity, speed, humidity, location), and, of course, they operate on different timelines. So for example one sensor will measure every minute, another every hour, and yet another measures only when specific events happen so those timestamps are basically random.

What I’m trying to get is a master table that would tell me at 9pm, the speed was x, the humidity was y, the location was z. I understand I will have a lot of blank values at timestamps where only one or two sensors recorded data points, but I can live with that.

Does anyone know how to do this, or even know the accurate term for this manipulation to help me in my research?

Many thanks!

submitted by /u/Mysterious_Camel_717
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Related Articles