Hi Everyone,
I'm having a bit of trouble with some tables that I was hoping you could help me with. I have three tables. The first is a large spreadsheet of data from another agency that I don't want to make any changes to (I'm just linking to this table). My next table is 'additions', records which I think should be added to the main table, I also have another table, 'corrections', for cases where I believe that the records in the main table are incorrect.
My question is this: how can I create a 4th table that would display all of the records, but replace the ones that are incorrect and append the ones that are missing. In other words, my corrections would take precedence, but when I haven't entered a correction, the original record would appear.
The original table has a unique ID number for each record, and my 'corrections' table has the same ID number, whereas the 'additions' table has an ID field that I left blank.
I attached an excel file where each of the sheets represents a table, and the final sheet represents the table I would like to produce.
Am I right in assuming the best way to deal with this would be to write some VBA code that will do each of the steps? I'm especially unsure of how to replace entire records in the new table.
Any help is very much appreciated!
Erica
I'm having a bit of trouble with some tables that I was hoping you could help me with. I have three tables. The first is a large spreadsheet of data from another agency that I don't want to make any changes to (I'm just linking to this table). My next table is 'additions', records which I think should be added to the main table, I also have another table, 'corrections', for cases where I believe that the records in the main table are incorrect.
My question is this: how can I create a 4th table that would display all of the records, but replace the ones that are incorrect and append the ones that are missing. In other words, my corrections would take precedence, but when I haven't entered a correction, the original record would appear.
The original table has a unique ID number for each record, and my 'corrections' table has the same ID number, whereas the 'additions' table has an ID field that I left blank.
I attached an excel file where each of the sheets represents a table, and the final sheet represents the table I would like to produce.
Am I right in assuming the best way to deal with this would be to write some VBA code that will do each of the steps? I'm especially unsure of how to replace entire records in the new table.
Any help is very much appreciated!
Erica