Is this formula ok? I am trying to automate a Google Sheets document that will contain about 3000 rows in total.