gheyman
Well-known Member
- Joined
- Nov 14, 2005
- Messages
- 2,342
- Office Version
- 365
- Platform
- Windows
I have a table named results. I need to find the Max date from that table from Field [Quote Date]. I know there is a number of way to get this Max value.
I have found the Max date from within that table and then made a reference of that table , did a grouping, deleted duplicate...... so that I had a table that only contained that Max value in one field that I named ResultsMaxDate
I then tried to add that to my other table ("Delta Results") by adding a column and using the formula =ResultsMaxDate() But that did not work, I got errors in every row of the new column
I tried making a list from the ResultMaxDate (that had only on row) and tried adding that to my "Delta Results" table by adding a new column =ResultsMaxDate() Again errors in each row of the new column
I tried creating a separate table on a tab called Result Max Date [ResultMaxDate] and used VBA to copy the Max date from the [Quote Date] and pasting it in. I then tried to use this tables data to create a new column in "Delta Results" - again nothing but errors in the new column for every row.
Can someone PLEASE lead me in the right direction? Please note that when the table "Results" is created I want to memorialize the Max Date - when I refresh the "Delta Results" I don't want to refresh the "Results" query at the same time. I tried creating a column in my "Delta Results" to get the Max Date from the "Results" [Quote Date] - but that did seem to work either. It make the "Results" query refresh and I lose the original Max date.
As stated, I want to memorialize the Max date when the "Results" query is first ran. Getting very discouraged, I didn't think this would be so difficult and my workbook is developed on the basis that I could gat that date and use it in later queries and VBA code.
I appreciate your time and help - thank you
I have found the Max date from within that table and then made a reference of that table , did a grouping, deleted duplicate...... so that I had a table that only contained that Max value in one field that I named ResultsMaxDate
I then tried to add that to my other table ("Delta Results") by adding a column and using the formula =ResultsMaxDate() But that did not work, I got errors in every row of the new column
I tried making a list from the ResultMaxDate (that had only on row) and tried adding that to my "Delta Results" table by adding a new column =ResultsMaxDate() Again errors in each row of the new column
I tried creating a separate table on a tab called Result Max Date [ResultMaxDate] and used VBA to copy the Max date from the [Quote Date] and pasting it in. I then tried to use this tables data to create a new column in "Delta Results" - again nothing but errors in the new column for every row.
Can someone PLEASE lead me in the right direction? Please note that when the table "Results" is created I want to memorialize the Max Date - when I refresh the "Delta Results" I don't want to refresh the "Results" query at the same time. I tried creating a column in my "Delta Results" to get the Max Date from the "Results" [Quote Date] - but that did seem to work either. It make the "Results" query refresh and I lose the original Max date.
As stated, I want to memorialize the Max date when the "Results" query is first ran. Getting very discouraged, I didn't think this would be so difficult and my workbook is developed on the basis that I could gat that date and use it in later queries and VBA code.
I appreciate your time and help - thank you