+ Reply to Thread
Results 1 to 3 of 3

Compare data from 3 tables and return closely matching timestamps

  1. #1
    Registered User
    Join Date
    09-25-2022
    Location
    Germany
    MS-Off Ver
    Excel 2202
    Posts
    1

    Question Compare data from 3 tables and return closely matching timestamps

    Hey guys, I am new in the forum. To explain my problem shortly:

    I have these 4 tables with Item Number, Palette Number, Date and time stamp for that respective date.

    I need to match the Palette Numbers from Table 1 with that of Table 2, Table 3 and Table 4. Once a match, I need to look for the exact date and closest timestamps for those specific matches and return only the closest timestamp (e.g within 1 hour).

    Example:
    4Tables_Timematching_2.png

    In the above photo, for example, the Palette Numbers is a match, however, there are two same Palette Numbers on the same day, with different time stamps. I need to match the closest ones from Table 1 to Table 2, from Table 2 to Table 3, and from Table 3 to Table 4. In the end I want to calculate the complete movement time with this information.

    I hope I was able to explain myself. Could I do this with VBA or maybe something simpler?

    Thank you for reading!

    Crossposted here:

    https://www.mrexcel.com/board/thread...tamps.1217492/
    Last edited by Glenn Kennedy; 09-26-2022 at 03:04 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Compare data from 3 tables and return closely matching timestamps

    Welcome (back) to the forum.

    Thanks for your question. However, we have just found out that you have posted the same question elsewhere.... and haven't told us. Feel free to cross-post on other sites...

    But. Every forum has its rules. Please see Forum Rule #3 about cross-posting. So.

    Do not keep it a secret. We all are willing to give you our time, freely. However, some of us get very annoyed if we waste our time developing a solution for you, when you already have a nice solution elsewhere. All we ask is that you show us some respect and tell us:

    1) if you have cross-posted, and

    2) the URL of the cross posts.

    That way, those of us who don't want to waste their time can quickly check to see if you're already happy with another solution.

    (Note: since you are new here, on THIS occasion I have done it for you.)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Valued Forum Contributor
    Join Date
    08-08-2022
    Location
    Buenos Aires
    MS-Off Ver
    Excel 2019
    Posts
    1,777

    Re: Compare data from 3 tables and return closely matching timestamps

    Quote Originally Posted by p1nkman View Post
    I hope I was able to explain myself. Could I do this with VBA or maybe something simpler?
    Hello.
    To provide you with an acceptable solution, you need to upload your workbook to the forum. With it is intended:

    - See -exactly- where you have your information.

    - And that you show us what is the solution that you hope to obtain (of course you will create it manually).

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Matrix to compare data columns & express how closely matching
    By jonathan.aulson in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-15-2019, 07:01 AM
  2. Compare data in two tables and extract matching values to a third table
    By bushybob in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-07-2019, 12:21 AM
  3. [SOLVED] Compare item in one column to a list in another, then return corresponding matching data
    By randomkiwi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-21-2016, 07:51 PM
  4. Replies: 2
    Last Post: 07-18-2015, 05:19 PM
  5. Replies: 1
    Last Post: 12-25-2011, 08:19 PM
  6. How to compare data in table and return sum of matching pairs?
    By Chris123 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-03-2007, 10:09 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1