Spreadsheet Functions. Functions  Simple functions Array functions IF - logical functions

Download Spreadsheet Functions. Functions  Simple functions Array functions IF - logical functions

Post on 04-Jan-2016

222 views

Category:

Documents

6 download

Embed Size (px)

TRANSCRIPT

<ul><li><p>Spreadsheet Functions</p></li><li><p>FunctionsSimple functions</p><p>Array functions</p><p>IF - logical functions</p></li><li><p>Function notationA function is a piece of computation that takes 1 or more arguments (data) and returns a value</p><p>Function( arg1, arg2, arg3 )Sine(90)Max(100,200,120,-7)Sqrt( min(7+4, 9) )</p></li><li><p>Using functions</p></li><li><p>Using functions</p></li><li><p>Finding functions</p></li><li><p>Finding functions</p></li><li><p>Finding functions</p></li><li><p>Finding functions</p></li><li><p>Finding functions</p></li><li><p>Finding functions</p></li><li><p>FunctionsSimple functions</p><p>Array functions</p><p>IF - logical functions</p></li><li><p>Sum</p></li><li><p>Sum programSum=0;for (each row R){ for (each column C in row R) {Sum=Sum+Sheet[R, C]; }}</p><p>Sheet1</p><p>2324</p><p>-781244Sum0</p><p>2320R?</p><p>C?</p><p>1256</p><p>Sheet2</p><p>Sheet3</p></li><li><p>Sum programSum=0;for (each row R){ for (each column C in row R) {Sum=Sum+Sheet[R, C]; }}</p><p>Sheet1</p><p>2324</p><p>-781244Sum0</p><p>2320R1</p><p>C?</p><p>1256</p><p>Sheet2</p><p>Sheet3</p></li><li><p>Sum programSum=0;for (each row R){ for (each column C in row R) {Sum=Sum+Sheet[R, C]; }}</p><p>Sheet1</p><p>2324</p><p>-781244Sum0</p><p>2320R1</p><p>CA</p><p>1256</p><p>Sheet2</p><p>Sheet3</p></li><li><p>Sum programSum=0;for (each row R){ for (each column C in row R) {Sum=Sum+Sheet[R, C]; }}</p><p>Sheet1</p><p>2324</p><p>-781244Sum23</p><p>R1</p><p>1213CA</p><p>Sheet2</p><p>Sheet3</p></li><li><p>Sum programSum=0;for (each row R){ for (each column C in row R) {Sum=Sum+Sheet[R, C]; }}</p><p>Sheet1</p><p>2324</p><p>-781244Sum23</p><p>2320R1</p><p>CB</p><p>1256</p><p>Sheet2</p><p>Sheet3</p></li><li><p>Sum programSum=0;for (each row R){ for (each column C in row R) {Sum=Sum+Sheet[R, C]; }}</p><p>Sheet1</p><p>2324</p><p>-781244Sum47</p><p>2320R1</p><p>CB</p><p>1256</p><p>Sheet2</p><p>Sheet3</p></li><li><p>Sum programSum=0;for (each row R){ for (each column C in row R) {Sum=Sum+Sheet[R, C]; }}</p><p>Sheet1</p><p>2324</p><p>-781244Sum47</p><p>2320R2</p><p>CB</p><p>1256</p><p>Sheet2</p><p>Sheet3</p></li><li><p>Sum programSum=0;for (each row R){ for (each column C in row R) {Sum=Sum+Sheet[R, C]; }}</p><p>Sheet1</p><p>2324</p><p>-781244Sum-31</p><p>2320R2</p><p>CA</p><p>1256</p><p>Sheet2</p><p>Sheet3</p></li><li><p>Sum programSum=0;for (each row R){ for (each column C in row R) {Sum=Sum+Sheet[R, C]; }}</p><p>Sheet1</p><p>2324</p><p>-781244Sum-31</p><p>2320R2</p><p>CB</p><p>1256</p><p>Sheet2</p><p>Sheet3</p></li><li><p>Sum programSum=0;for (each row R){ for (each column C in row R) {Sum=Sum+Sheet[R, C]; }}</p><p>Sheet1</p><p>2324</p><p>-781244Sum1213</p><p>2320R2</p><p>CB</p><p>1256</p><p>Sheet2</p><p>Sheet3</p></li><li><p>Sum programSum=0;for (each row R){ for (each column C in row R) {Sum=Sum+Sheet[R, C]; }}</p><p>Sheet1</p><p>2324</p><p>-781244Sum1213</p><p>2320R3</p><p>CB</p><p>1256</p><p>Sheet2</p><p>Sheet3</p></li><li><p>Sum programSum=0;for (each row R){ for (each column C in row R) {Sum=Sum+Sheet[R, C]; }}</p><p>Sheet1</p><p>2324</p><p>-781244Sum1213</p><p>2320R3</p><p>CA</p><p>1256</p><p>Sheet2</p><p>Sheet3</p></li><li><p>Sum programSum=0;for (each row R){ for (each column C in row R) {Sum=Sum+Sheet[R, C]; }}</p><p>Sheet1</p><p>2324</p><p>-781244Sum1236</p><p>2320R3</p><p>CA</p><p>1256</p><p>Sheet2</p><p>Sheet3</p></li><li><p>Sum programSum=0;for (each row R){ for (each column C in row R) {Sum=Sum+Sheet[R, C]; }}</p><p>Sheet1</p><p>2324</p><p>-781244Sum1236</p><p>2320R3</p><p>CB</p><p>1256</p><p>Sheet2</p><p>Sheet3</p></li><li><p>Sum programSum=0;for (each row R){ for (each column C in row R) {Sum=Sum+Sheet[R, C]; }}</p><p>Sheet1</p><p>2324</p><p>-781244Sum1256</p><p>2320R3</p><p>CB</p><p>1256</p><p>Sheet2</p><p>Sheet3</p></li><li><p>Sum programSum=0;for (each row R){ for (each column C in row R) {Sum=Sum+Sheet[R, C]; }}</p><p>Sheet1</p><p>2324</p><p>-781244Sum1256</p><p>2320R3</p><p>CB</p><p>1256</p><p>Sheet2</p><p>Sheet3</p></li><li><p>Count</p></li><li><p>Count programCount=0;for (each row R){ for (each column C in row R) {Count=Count+1; }}</p></li><li><p>Average</p></li><li><p>Average Program</p></li><li><p>Average programSum=0;Count = 0;for (each row R){for (each column C in row R) {Sum=Sum+Sheet[R,C]; Count = Count+1;}}Average = Sum/Count;</p></li><li><p>Other array functionsMinMaxStdev - standard deviationMedianProduct - multiply them all together</p></li><li><p>FunctionsSimple functions</p><p>Array functions</p><p>IF - logical functions</p></li><li><p>IfIf ( test, trueVal, falseVal)</p></li><li><p>AND</p></li><li><p>IF with AND</p></li><li><p>ReviewFunctions - name with argumentsFinding functions </p><p>Array functionsSum(B6:D32)Average(F14:R75)IF - AND - OR</p></li></ul>