Hi all, I need some help adding some records that are not found in a list. I'll try to keep this short and to the point -
I have a database that imports several tables of physician data. One table is a list of all active MDs with their service and specialty (Surgery / Orthopedics for example). Each service has their own table, listing each provider and a variety of data elements. In a form, a user selects the service they want to run a profile for - I have a button that imports all the tables and runs queries and the final profile.
The piece I need to add:
If a provider does not have any data in the provider table, they will not show on the final profile. I need to reference the list of MDs in the final profile against the table with ALL MDs and add all MDs not found on both lists. Does this make sense?
Right now, what I'm doing is opening both files and using VLOOKUP from the all provider file and the final profile. When I find the MDs in the service that are not found, I copy and paste them into the profile. I'd like to automate this if I can.
I'm sorry if it's confusing and if I didn't give enough information please let me know. Your help is greatly appreciated!
I have a database that imports several tables of physician data. One table is a list of all active MDs with their service and specialty (Surgery / Orthopedics for example). Each service has their own table, listing each provider and a variety of data elements. In a form, a user selects the service they want to run a profile for - I have a button that imports all the tables and runs queries and the final profile.
The piece I need to add:
If a provider does not have any data in the provider table, they will not show on the final profile. I need to reference the list of MDs in the final profile against the table with ALL MDs and add all MDs not found on both lists. Does this make sense?
Right now, what I'm doing is opening both files and using VLOOKUP from the all provider file and the final profile. When I find the MDs in the service that are not found, I copy and paste them into the profile. I'd like to automate this if I can.
I'm sorry if it's confusing and if I didn't give enough information please let me know. Your help is greatly appreciated!