Presentation is loading. Please wait.

Presentation is loading. Please wait.

Tutorial: Obchodní akademie Topic: SUMIF, COUNTIF Functions Prepared by: Mgr. Zdeněk Hrdina Projekt Anglicky v odborných předmětech, CZ.1.07/1.3.09/04.0002.

Similar presentations


Presentation on theme: "Tutorial: Obchodní akademie Topic: SUMIF, COUNTIF Functions Prepared by: Mgr. Zdeněk Hrdina Projekt Anglicky v odborných předmětech, CZ.1.07/1.3.09/04.0002."— Presentation transcript:

1

2 Tutorial: Obchodní akademie Topic: SUMIF, COUNTIF Functions Prepared by: Mgr. Zdeněk Hrdina Projekt Anglicky v odborných předmětech, CZ.1.07/1.3.09/04.0002 je spolufinancován Evropským sociálním fondem a státním rozpočtem České republiky.

3  Determines the conditional sum of selected cells  Determines the sum of cells that satisfy a given condition  sumif(range, criteria, sum range) ◦ range – cells that are compared with the condition ◦ criteria – condition that has to be met in the range ◦ sum range – cells that are added if the condition is met

4  Notes to the function: ◦ if range and sum range are the same, it isn’t necessary to enter the sum range ◦ this function cannot be used to perform the sum in a situation where it is needed to meet more than one condition ◦ ways of entering criteria: sumif(range,“10“,sum range) – only the values for which the corresponding value in the range equals 10 are added sumif(range,“>0“,sum range) – only the values for which the corresponding value in the range is greater than 0 are added sumif(range,C2,sum range) – only the values for which the corresponding value in the range equals the value in cell C2 are added sumif(range,“>“&C2, sum range) – only the values for which the corresponding value in the range is greater than the value in cell C2 are added

5  function for conditional count  determines the number of cells that satisfy a given condition  countif (range, criteria) ◦ range – cells that are compared with the condition ◦ criteria – condition that has to be met in the range  the parameters have the same meaning as in the sumif function  the criteria are entered in the same way as in the sumif function

6 The range and the criteria need to be entered in the same way: 1) Whole columns regardless any empty cells 2) Only a selected area if the range is specified in one way and the criteria in the other, the results are not correct

7 Since Excel 2007 Allows a conditional sum and conditional count with more conditions linked with the conjunction „AND“ Sumifs (sum range, criteria range1, criteria1, criteria range2, criteria2,…) sum range – the range of cells to be added criteria range1 – the range of cells which will be compared with the first condition criteria1 – first condition criteria range2 - the range of cells which will be compared with the second condition criteria2 – second condition note: it is possible to enter up to 127 pairs of criteria range, criteria

8 We are looking for the sum of those values in column C which were in January (first condition) and at the same time were greater than 15 (second condition)

9  If the conditions are linked with the conjuction „or“, just use the sum of two sumif (or countif) functions  By using a division of sumif and countif functions, it is possible to create a function for conditional average (the average of values that meet a given condition)

10  Solve the task on the zadání sheet. The data for calculations as well as the cells for results are on the sheet data.  zadani.xlsx zadani.xlsx

11  BARILLA, Jiří, Pavel SIMR a Květuše SÝKOROVÁ. Microsoft Excel 2010: Podrobná uživatelská příručka. Brno: Computer Press, 2010. ISBN 978-80-251-3077-3.  WALKENBACH, John. Microsoft Excel - vzorce a funkce. Praha: Mobil Media a.s., 2001. ISBN 80-86593-01-0.  Microsoft Office. MS EXCEL Funkce - Matematické [online]. 2011-11-04 [2011-12-30]. http://office.lasakovi.com/excel/funkce/ms-excel-funkce-matematicke/


Download ppt "Tutorial: Obchodní akademie Topic: SUMIF, COUNTIF Functions Prepared by: Mgr. Zdeněk Hrdina Projekt Anglicky v odborných předmětech, CZ.1.07/1.3.09/04.0002."

Similar presentations


Ads by Google