How to call a custom function with multiple arguments in google spreadsheet

I have a little problem. I made a custom function for my google spreadsheet but when i try to call i in a cell in my document it just gives me "#ERROR!". Im guessing this is happening because im trying to pass in 2 arguments into the function but for some reason it doesn’t like that. Does anyone know why this doesn’t work and how i could fix it?

function Test(val, sub) 
{
  return val - sub;
}

Cell input =Test(77, 5) returns "#ERROR!"

85 thoughts on “How to call a custom function with multiple arguments in google spreadsheet”

  1. i need a mortgage loan with bad credit, i need a loan with bad credit fast. i need an emergency loan bad credit need loan now need a loan been refused everywhere i need loan now, cash advance loans with bad credit, cash advance loans, cash advance online, cash advance loans for students. Bank is typically viewed money, designed for companies.

    Reply
  2. I’ve been exploring for a little bit for any high quality articles or weblog
    posts on this kind of space . Exploring in Yahoo I at last
    stumbled upon this web site. Studying this info So i’m happy
    to express that I’ve an incredibly excellent uncanny feeling I came upon just what I needed.

    I so much surely will make certain to don?t fail
    to remember this website and provides it a look
    on a continuing basis.

    Reply
  3. Hi are using WordPress for your blog platform? I’m new to the blog world
    but I’m trying to get started and create my own. Do you require any html
    coding knowledge to make your own blog? Any help would be really appreciated!

    Reply
  4. I don’t even know how I finished up right here, but I assumed this post used to
    be good. I do not recognise who you are but certainly you are going to a well-known blogger for those who are not already.
    Cheers!

    Reply
  5. Hello there! This post could not be written any
    better! Reading this post reminds me of my previous room mate!
    He always kept chatting about this. I will forward this page to him.
    Pretty sure he will have a good read. Thank you for sharing!

    Reply
  6. Oh my goodness! Amazing article dude! Thank you so much, However I am going
    through troubles with your RSS. I don’t understand the reason why I am unable to subscribe to it.

    Is there anybody getting similar RSS problems?
    Anyone who knows the answer can you kindly respond?
    Thanks!!

    Reply
  7. Undeniably believe that which you said. Your favorite reason appeared to be on the web the simplest thing
    to be aware of. I say to you, I certainly get annoyed while people think
    about worries that they plainly do not know about. You managed to hit the nail upon the top as well as defined out the
    whole thing without having side effect , people can take a signal.
    Will probably be back to get more. Thanks

    Reply
  8. Do you mind if I quote a few of your articles as long as I provide credit and sources back to your blog?
    My blog is in the exact same niche as yours and my visitors would certainly benefit
    from a lot of the information you provide here.

    Please let me know if this alright with you.
    Many thanks!

    Reply
  9. Admiring the dedication you put into your blog and detailed information you present.

    It’s nice to come across a blog every once in a while that isn’t the same outdated rehashed material.
    Great read! I’ve bookmarked your site and I’m including your RSS feeds to my Google account.

    Reply

Leave a Comment