google-sheets-custom-function

“Reference does not exist” error when executing a custom function

五迷三道 提交于 2020-08-24 03:29:26
问题 I am writing a function in Google Apps Script and it seems the last error I need to get around is a "reference does not exist" error in Google Sheets when I call my function. I don't know what to do about this because it doesn't seem to be a problem with my code. This is what my code looks like now. It isn't complete because I need to change it for user input, but this is a test. In a google sheets cell I type in =sortingtesting() function sortingtesting() { var pInfo1 = ['a','b','c','d','e',

“Reference does not exist” error when executing a custom function

时光怂恿深爱的人放手 提交于 2020-08-24 03:28:51
问题 I am writing a function in Google Apps Script and it seems the last error I need to get around is a "reference does not exist" error in Google Sheets when I call my function. I don't know what to do about this because it doesn't seem to be a problem with my code. This is what my code looks like now. It isn't complete because I need to change it for user input, but this is a test. In a google sheets cell I type in =sortingtesting() function sortingtesting() { var pInfo1 = ['a','b','c','d','e',

Can I make custom function on google spreadsheet without Google Apps Script?

梦想的初衷 提交于 2020-08-20 07:36:19
问题 I'm using google spreadsheet with Google Apps Script. but it gives me error message too easily. like this Error Script invoked too many times per second for this Google user account. (line 0). Is there any way to avoid the error? (except the way reduce function call) or alternative Spreadsheet program that support Javascript function define? 回答1: As noted in the documentation you can work around this by ensuring that your function supports ranges, and the function on a range. See also the

How to apply a formula to visible columns only?

百般思念 提交于 2020-08-10 13:15:12
问题 I need the formula to ignore a range if it`s hidden. I know that there is 'SUBTOTAL' that works for rows, but in my case, I need something for columns. I also tried to go with 'CELL("width")' with no luck. Here is the sample spreadsheet: https://docs.google.com/spreadsheets/d/10BNrnAyQw89gy-Sj3CLiz4AgVtFI0AjXTvc0REGGTfY/edit?usp=sharing Is there any other option to ignore hidden columns in a count formula? 来源: https://stackoverflow.com/questions/63241198/how-to-apply-a-formula-to-visible

How to apply a formula to visible columns only?

我只是一个虾纸丫 提交于 2020-08-10 13:14:32
问题 I need the formula to ignore a range if it`s hidden. I know that there is 'SUBTOTAL' that works for rows, but in my case, I need something for columns. I also tried to go with 'CELL("width")' with no luck. Here is the sample spreadsheet: https://docs.google.com/spreadsheets/d/10BNrnAyQw89gy-Sj3CLiz4AgVtFI0AjXTvc0REGGTfY/edit?usp=sharing Is there any other option to ignore hidden columns in a count formula? 来源: https://stackoverflow.com/questions/63241198/how-to-apply-a-formula-to-visible