Changes

218 bytes added ,  21:38, 7 November 2013
no edit summary
Line 148: Line 148:  
=DCOUNT(A4:C10,"Salary",A1:C3)  : Counts the number of cells in the 'Salary' column, in the range A4 to C10, for the employees whose Age<40 and Salary>5000 in addition to employees whose Age>30. ''Displays 8'' as a result.
 
=DCOUNT(A4:C10,"Salary",A1:C3)  : Counts the number of cells in the 'Salary' column, in the range A4 to C10, for the employees whose Age<40 and Salary>5000 in addition to employees whose Age>30. ''Displays 8'' as a result.
   −
=DCOUNT(A4:C10,"Salary",A1:C2)-DCOUNT(A4:C10,"Salary",A1:D2)  :
+
=DCOUNT(A4:C10,"Salary",A1:C2)-DCOUNT(A4:C10,"Salary",A1:D2)  : Counts the difference in the number of cells in the 'Salary' column for employees whose Age<40 and Salary>5000, and employees with 40<Age>32 and salary>5000, in the range A4 to C10. ''Displays 1 ''(3-2=1) as a result.
writer
2,661

edits