Referring to tables using indirect function

If I have multiple tables, how would I use an indirect function to find the correct table and then return the total in column 7 of the table divided by the total in column 4 of the table? I want to be able to drag down this formula so that I don't have to manually update it to the correct reference each time. This is how one of the tables looks.

https://preview.redd.it/q3p071yogyge1.png?width=530&format=png&auto=webp&s=2d925f6d6436de71cb65859beaf9481320a59020