ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   merging data sets using dates (https://www.excelbanter.com/excel-discussion-misc-queries/210252-merging-data-sets-using-dates.html)

Scubaseth

merging data sets using dates
 
I have two data sets.
Each is two columns. Date/time and temp.
First data set has readings at intervals of 5- 15 minutes.
Second data set has reading every 30 minutes.

I would like to match, to the closest date and time, the second set to the
first.

Argy - Arcasoft

merging data sets using dates
 
Hi:
You can do that by using the Vlookup fuction as follow:

Vlookup(Lookup Value,Table array, Colum Index (Return), Range Lookup)

Range Lookup MUST be equal to TRUE. This will return the closest value
matched.

Argy

"Scubaseth" wrote:

I have two data sets.
Each is two columns. Date/time and temp.
First data set has readings at intervals of 5- 15 minutes.
Second data set has reading every 30 minutes.

I would like to match, to the closest date and time, the second set to the
first.



All times are GMT +1. The time now is 09:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com