when exporting a table to excel, it turns part of the table into an image with a black rectangle
Those are usually things embedded in the Excel file. Exporting data from a PDF is rather unreliable, especially when its not created correctly in the first place.
If you're coming to Unbound, come see my Breakout Session where I talk about how to deal with such things