steveyen
  Log In  |  Create a FREE Account  |  Everyone's Spreadsheets  |  Tags  |  Help  
 Saving... 
  login to save   undo redo  |  bold italic font text underline more font formatting  |  align left align center align right  |  text color background text color  |  sum hide/show tools
  fx
The Num Sum formula language supports functions and mathematical operatorsSample Data Used Below:10
30
50
Function NameExampleResult
SUM"=SUM(F2:F4)"90
AVERAGE"=AVERAGE(F2:F4)"30
COUNT"=COUNT(F2:F4)"3
MIN"=MIN(F2:F4)"10
MAX"=MAX(F2:F4)"50
ABS"=ABS(F3-F4)"20
CEILING"=CEILING(F2/F3)"1
FLOOR"=FLOOR(F2/F3)"
0
0
ROUND"=ROUND(1.6)"2
RAND"=RAND()"0.985650726839389
TRUE"=TRUE() || FALSE()"true
FALSE"=TRUE() && FALSE()"
false
false
FIXED"=FIXED(1234.2345)"1,234.23
"=FIXED(1234.2345, 3)"1,234.2352nd argument is number of decimal places.
DOLLAR"=DOLLAR(123.456)"$123.46Converts a number into a US currency string.
N"=N(D21)"123.46N converts a value into a number.
a * b (multiply)"=F2*F3*F4"15000
a / b (divide)"=F2/F3/F4"0.006666666666666666
a + b (add)"=F2+F3+F4"90
a - b (subtract)"=F2-F3"-20
a % b (modulo or remainder)"=F2 % F3"10
a < b (less than test)"=F2<100"true
true
a <= b (less than or equal to test)"=100<=F3"
false
false
a == b (equal to test)"=F2==F3-20"true
true
a != b (inequality test)"=F2!=F3"true
true
a > b (greater than test)"=F2>F3"
false
false
a >= b (greater than or equal to test)"=F2>=F3"
false
false
!a (boolean not)"=!(F2 < 5)"true
true
a ? b : c (boolean if expression)"=F2 == 10 ? F3 : F4"30
30
(a + b) / c (parentheses for expression precedence)"=(F2 + F3) / F4"0.8
(This page was created as a Num Sum spreadsheet and published/exported as a HTML page.)
(This page was created as a Num Sum spreadsheet and published/exported as a HTML page.)
 
Average Rating:  5 Stars (5 ratings)
 
Name:  Num Sum formula language by  steveyen steveyen 
Description:  Num Sum supports functions like SUM, AVERAGE, COUNT and mathematical operators
Tags:  numsum help formula functions FAQ  

Comments:

anomyous
anonymous
Adding functions, is not that hard
Without too much trouble I was able to put in the functions below into 'spreadsheet engine.js' ( added to standardfunctions: ) using a local copy of NumSum. And I have hardly any JavaScript experience... How can such become a permanent addition? ahab /* AHB: */ EXP : function(v) { return theMath.exp(eng.standardFunctions.N(v)); }, /* AHB: */ ACOS : function(v) { return theMath.acos(eng.standardFunctions.N(v)); }, /* AHB: */ ASIN : function(v) { return theMath.asin(eng.standardFunctions.N(v)); }, /* AHB: */ ATAN : function(v) { return theMath.atan(eng.standardFunctions.N(v)); }, /* AHB: */ COS : function(v) { return theMath.cos(eng.standardFunctions.N(v)); }, /* AHB: */ SIN : function(v) { return theMath.sin(eng.standardFunctions.N(v)); }, /* AHB: */ TAN : function(v) { return theMath.tan(eng.standardFunctions.N(v)); }, /* AHB: */ SQRT : function(v) { return theMath.sqrt(eng.standardFunctions.N(v)); }, /* AHB: */ LN : function(v) { return theMath.log(eng.standardFunctions.N(v)); }, /* AHB: */ STR : function(v) { return theParseInt(v,10).toString(16).toUpperCase();}, /* AHB: */ INTHEX : function(v) { return theParseInt(v,10).toString(16).toUpperCase();}, /* AHB: */ HEXINT : function(v) { return theParseInt(v, 16).toString(10).toUpperCase(); }, /* AHB: */ ATANXY : function(x,y) { return theMath.atan2(x,y); }, /* AHB: */ pi : theMath.PI , /* AHB: */ e : theMath.E ,
2368 days ago 


Square Root
I need to be able to be able to figure square roots of numbers. I have tried numerous vriations of sqrt to no avail. Can you add this to the list of formulas?
2530 days ago 


Date Functions - an absolute must have!
Is Date functionality in the works? When can we expect it?
2614 days ago 


Beginner's guide
It would be nice to also know what each of the functions does. There's an assumption that people using this service already use Excel, but this online service could be an entry into the spreadsheet world, as it is for me. So a beginner's guide would be nice.
2626 days ago 


More Functions
As much as I agree a lot of functions are totally unnecessary I can't do any of my work without slope() y-int() and correl(). Okay, well I could write out the formulas manually but that is kind of riduculous unless there's a way to write our own reusable formulas...
2634 days ago 


Great Help
Great help, but is too hard to find when you need. What abot put this help in the main menu? []'s
2651 days ago 


Help
good list
2814 days ago 


Add Comment
[ default color ]
 
 recent: