+ Reply to Thread
Results 1 to 7 of 7

Query to see updates between two tables

  1. #1
    Forum Contributor
    Join Date
    07-14-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    919

    Query to see updates between two tables

    Hello

    I have a sample sheet with "Past table", "Today table" and I am looking to have new query that display the missions from last two tables that "Start update" (exist in first table and removed from second) and "End update" (exist in second and not in first) and don't display the mission that exist in two tables (mean is running - so no updates)

    note: that sample based on today date : 16 March
    looking for smallest and fastest QUERY steps

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Query to see updates between two tables

    something like this?

    PAST Table
    Uniqe Key MISSION FROM TO
    234
    A66
    01/03/2023
    20/03/2023
    430
    D44
    12/03/2023
    15/03/2023
    TODAY Table
    Uniqe Key MISSION FROM TO
    234
    A66
    01/03/2023
    20/03/2023
    430
    D44
    12/03/2023
    15/03/2023
    55
    T1
    16/03/2023
    19/03/2023
    Uniqe Key MISSION FROM TO
    55
    T1
    16/03/2023
    19/03/2023

  3. #3
    Forum Contributor
    Join Date
    07-14-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    919

    Re: Query to see updates between two tables

    Thanks we are almost there
    uniqe id 430 must appear in updates query (I forget to delete it from second file, but I delete it now and refresh query still not appear)
    and one new column in updates query "update" end/start

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Query to see updates between two tables

    check this one

  5. #5
    Forum Contributor
    Join Date
    07-14-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    919

    Re: Query to see updates between two tables

    Thank you its working, but a lot of queries
    I am looking for less querys/steps (for fast refreshing)
    I think it can be done with 3 querys (past-today-updates)

    looking for more
    Repuatation Added

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Query to see updates between two tables

    try, try, try and maybe you'll get lucky

    it can be done with one query (collapse all queries into one et voilà!)
    Last edited by sandy666; 03-17-2023 at 01:04 AM.

  7. #7
    Forum Contributor
    Join Date
    07-14-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    919

    Re: Query to see updates between two tables

    To be more simple

    the idea is append two tables, then remove duplicated column "unique key" (don't keep any row that was duplicated with another row) - so its not normal remove duplicatedd step
    I think this the fastest steps to get the result
    any help/idea..
    Attached Files Attached Files

+ 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. Need Help with a VBA that updates similar tables in multple sheets
    By rjnewsome in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-27-2013, 06:18 PM
  2. Pivot Tables that updates multiple pie charts at once
    By Paragoomba in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 08-08-2013, 02:40 PM
  3. Help with macro that updates from web query
    By schneizel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-14-2012, 08:59 AM
  4. When the query updates I need to save
    By solidsnake5698 in forum Excel General
    Replies: 1
    Last Post: 06-17-2007, 03:46 PM
  5. When the query updates I need to save
    By solidsnake5698 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-15-2007, 10:26 PM
  6. Change order of query updates in pivot tables
    By ste1000 in forum Excel General
    Replies: 0
    Last Post: 10-16-2006, 07:25 AM
  7. Daily updates of pivot tables
    By jack ireland in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-29-2005, 05:56 AM

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