Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I want something essentially like this:

function contains(arg1, arg2) {
  return NOT(ISERROR(search(arg1, arg2)));

But NOT and ISERROR are undefined even though using =ISERROR(...) works in the spreadsheet view.

How do I build custom formulas that can reference and combine existing formulas?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Nowadays you cannot. Here is a workaround: http://www.google.com/support/forum/p/apps-script/thread?tid=21b61c4c5bf9e27c&hl=en

share|improve this answer
The link is no longer valid, so I'll downvote –  Max L. Nov 7 '14 at 19:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.