Find formula for two tables

Hey there!

Would this thread help out?

If not, feel free to share the document or a little more context and a ton of people in the community would be willing to help out