How to automatically apply formulas to new rows in Google Sheets via Zapier?

I’ve got a Zapier setup that adds new rows to my Google Sheet when certain emails come in. It puts the email, original message, and date/time in columns A, B, and C. I want column D to have a formula that applies to each new row automatically.

Right now, the formula isn’t getting added to new rows. I’ve tried using array formulas, but no luck so far. The new rows just end up blank in column D.

Does anyone know a good way to make sure the formula in column D gets applied to every new row that Zapier adds? I’m stumped and could really use some help figuring this out.

Here’s what my sheet looks like:

Email Message Date/Time Formula
=FUNC()
New New New (blank)

Any ideas on how to fix this?

Have you considered using Google Apps Script to solve this? It is a powerful tool that can automate tasks in Google Sheets. You can create a simple script that runs on a time-based trigger, checking for new rows and applying your formula to column D. A basic approach is to schedule the script to run every few minutes, check the last row with data in column A, and then apply the formula to any new rows in column D. This method is flexible and avoids relying solely on Zapier. It has worked well for me in similar setups.

hey, have u tried using the ARRAYFORMULA function? it might solve ur problem. something like this in D1:

=ARRAYFORMULA(IF(A:A<>“”, YOUR_FORMULA_HERE, “”))

replace YOUR_FORMULA_HERE with whatever formula u need. this should auto-apply to new rows when zapier adds em. hope it helps!

I’ve faced a similar issue and found a workaround that might help. Instead of relying on Zapier to apply the formula, consider using Google Sheets’ built-in functionality. Set up a separate ‘processing’ sheet where Zapier adds the new rows. Then, use IMPORTRANGE or QUERY functions in your main sheet to pull data from the processing sheet and apply your formula.

For example, in your main sheet:
=ARRAYFORMULA(IF(ROW(A:A)=1,“Formula”,IF(A:A<>“”,YOURFORMULA(A:C),“”)))

This approach ensures the formula is always applied to new data, regardless of how it’s added. It’s been reliable for me in similar setups. Just make sure to adjust the cell references and formula as needed for your specific case.