Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9632

How to write multiple Google Sheets functions properly in set.formula function

$
0
0

I have a Google spreadsheet connected with a Google form. When a new response is submitted, the formula in the upper rows should be copied down to the new added (by Google form) row.

I have used once onformsubmit trigger for another similar situation. But when it comes to writing the formula, I want to be copied down in script, as I am neither a programmer nor a coder, it is being a real problem again.

Here is the formula I wanted to use:

if($D6<>"aroonbank",if($F6="Income (Kirim)",5010,if($F6="Advance returned (Qaytarilgan avans)",5010,if($F6="Bank (Bankka pul topshirish)",5110,))),if($F6="Income (Kirim)",5110,if($F6="Advance returned (Qaytarilgan avans)",5110)))

Could someone please help transfer this formula to "google script" language?


Viewing all articles
Browse latest Browse all 9632

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>