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!"


