You are posting in the GEDMATCH board, but your subject line indicates that you are asking about the Ancestry DNA test.
In order to find those AncestryDNA tests that match both you and your relatives you will need to download all of your matches and compare the two lists. This is not easy as Ancestry does not give us the tools to do this. You can copy the info as screen captures and transcribe both sets of names into a spreadsheet or other file. If you have a lot of matches this is rather impractical.
The easier way to manage your AncestryDNA matches is to get Jeff Snavely's tool for Chrome browsers at:
https://drive.google.com/file/d/0B25bnZlAp5XnOHhkUkxFWUJ6WWs...You need to install Chrome and use it as your browser to do this. There are people here who can help you do this if you need assistance in installing and using this tool.
--Elizabeth