Budget: 4000 UAH Deadline: 5 days
Good day! I am making such connections in Apps Script, and the main divergence for you is not in calculations, but in access rights: separate tabs in one master file will not be divided, because Google grants access to the entire file at once. Therefore, each master has a separate table, and the script runs rows back and forth and consolidates everything into the main one.
I calculate the commission as a separate column from the net profit, so it can be verified visually, rather than trusting the formula. I will take 4000 UAH and 5 days. How many masters and managers are currently working?