+ Reply to Thread
Results 1 to 2 of 2

Table to populate first time value from external query appears

  1. #1
    Registered User
    Join Date
    10-05-2007
    Posts
    3

    Table to populate first time value from external query appears

    Need help, not sure if this is possible.

    I have a table which pulls data from an external query.
    Two columns pull in a production order number and then the scheduled end date.
    Every time I refresh the query, it updates the table with live scheduling info and that end date moves in and out.
    I would like to keep a new table that adds a new production order to the list everytime it first appears (when the planner first schedules it) and then record the end date. I always want to be able to see the original end date, in addition to the query of where it may happen to be upon a refresh.

    Maybe some formula to look at the table of existing production order numbers, then scan the query table for anything new. If a new prod number is found, then add it the new table and record the end date in the column next to it.

    Thank you all for any help you may be able to offer.
    Rob

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2504
    Posts
    19,341

    Re: Table to populate first time value from external query appears

    It seems to me that this is dependent on how the query refreshes.
    If the query appends the data then I would think that INDEX MATCH would find the first "end date". It may help if we could see a sample table produced by the query to give more specific help. Instructions for uploading an Excel file are given in the banner titled: "HOW TO ATTACH YOUR SAMPLE WORKBOOK".

    On the other hand if the query overwrites the existing data I don't see how this could be accomplished using formulas and I don't know enough about VBA to say whether there is a way that would work.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. How do I return a value from another table that appears as a list item in Power Query?
    By sexcelhelp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-06-2019, 10:55 AM
  2. Replies: 12
    Last Post: 04-11-2017, 06:31 AM
  3. Match a value and check if it appears within a table and shade if it appears
    By khanaran in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-20-2017, 10:19 AM
  4. External web data query fails to insert table data
    By watkincm in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-09-2014, 04:06 PM
  5. [SOLVED] change range a table appears every time a button within a userform is clicked
    By mcdermott2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-11-2013, 05:07 PM
  6. Populate table from external excel wkbk
    By Phraedrique in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-09-2009, 03:58 PM
  7. External Data Query | Time Out
    By John Bates in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-29-2009, 01:08 PM

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