cis 300 excel &access. agenda 1.logical functions. 2.mathematical functions. 3.statistical...
TRANSCRIPT
![Page 1: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/1.jpg)
CIS 300 EXCEL &ACCESS
![Page 2: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/2.jpg)
AGENDA1. Logical Functions.
2. Mathematical Functions.
3. Statistical Functions.
4. Lookup Functions.
5. Date Functions.
6. Time Functions.
7. Text Functions.
8. Database Functions.
9. Sorting data by one and multiple columns.
10. Applying auto filter on one and multiple columns.
11. Calculating subtotals.
12. Applying advanced auto filters.
13. Pivot tables and Pivot charts.
14. Insert or delete a drop down list.
15. What if analysis
16. Data Validation
17. Protecting Worksheets
18. Hiding Columns
19. Access Review.
![Page 3: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/3.jpg)
3
MICROSOFT EXCEL LOGICAL FUNCTIONS
AND=AND(logical1, [logical2], ...)
OR=OR(logical1, [logical2], ...)
NOT=NOT(logical)
IF=IF(logical_test, [value_if_true], [value_if_false])
NESTEDIF
IF( condition1, value_if_true, IF( condition2, value_if_true,
value_if_false ))
IFERROR
=IFERROR(value, value_if_error)
![Page 4: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/4.jpg)
4
THE AND FUNCTION
Syntax:
=AND(logical1, [logical2], ...)
Arguments:
•logical1 Required The first condition that you want to test that can evaluate to either TRUE or
FALSE.•logical2, ... Optional
Additional conditions that you want to test that can evaluate to either TRUE or FALSE, up to a maximum of 255 conditions.
Description:
• Returns FALSE if one or more arguments is FALSE
• Otherwise, all arguments must evaluate TRUE
![Page 5: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/5.jpg)
5
THE OR FUNCTION
Syntax:
=OR(logical1, [logical2], ...)
Arguments:
•logical1 Required The first condition that you want to test that can evaluate to either TRUE or
FALSE.•logical2, ... Optional
Additional conditions that you want to test that can evaluate to either TRUE or FALSE, up to a maximum of 255 conditions.
Description:
• Returns TRUE if one or more arguments is TRUE
• Otherwise, all arguments must evaluate FALSE
![Page 6: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/6.jpg)
6
THE NOT FUNCTION
Syntax:
=NOT(logical)
Arguments:
•logical Required A value or expression that can be evaluated to TRUE or FALSE.
Description:
• Reverses the value of its argument.
![Page 7: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/7.jpg)
7
THE IF FUNCTION
Syntax:
=IF(logical_test, [value_if_true], [value_if_false])
Arguments:
•logical_test Required Any value or expression that can be evaluated to TRUE or FALSE.
•value_if_true Optional• The value that you want to be returned if the logical_test argument
evaluates to TRUE. • If logical_test evaluates to TRUE and the value_if_true argument is omitted
(that is, there is only a comma following the logical_test argument), the IF function returns 0 (zero).
• To display the word TRUE, use the logical value TRUE for the value_if_true argument.
![Page 8: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/8.jpg)
8
THE IF FUNCTION
Description:
• The IF function returns one value if a condition you specify evaluates to TRUE, and another value if that condition evaluates to FALSE.
![Page 9: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/9.jpg)
9
NESTED IF IN EXCEL
A nested IF statement says something like...
"If the answer is yes, do this. If the answer is no do this or this (depending on...“
Syntax:
IF( condition1, value_if_true, IF( condition2, value_if_true, value_if_false ))
![Page 10: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/10.jpg)
10
THE IFERROR FUNCTION
Syntax:
=IFERROR(value, value_if_error)
Arguments:
• Value Required. The argument that is checked for an error.
• Value_if_error Required. The value to return if the formula evaluates to an error. The following error types are evaluated: #N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!.
Description:
• Returns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formula. Use the IFERROR function to trap and handle errors in a formula.
![Page 11: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/11.jpg)
Is there an employee named Daniel Handel? (Yes or No)
=IF(C1="Handel"&B1="Daniel","yes","No")
![Page 12: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/12.jpg)
12
Microsoft ExcelMathematical Functions
SUM=SUM(number1,[number2], ...)
SUMIF=SUMIF(range,criteria,[sum_range])
SUMIFS=SUMIFS(sum_range, criteria_range1, criteria1,
[criteria_range2, criteria2], ...)
ROUND=ROUND(number,num_digits)
![Page 13: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/13.jpg)
13
THE SUM FUNCTION
Syntax:
=SUM(number1, [number2], [number3], [number4], ...)
Arguments:
•number1 Required The first item that you want to add.
•number2, number3, number4, ... Optional The remaining items that you want to add, up to a total of 255 items.
Description:
• Adds all the numbers that you specify as arguments.
![Page 14: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/14.jpg)
14
THE SUMIF FUNCTIONSyntax:
=SUMIF(range, criteria, [sum_range])
Arguments:•range Required
The range of cells that you want evaluated by criteria.o Cells in each range must be numbers or names, arrays, or references that contain
numbers.o Blank and text values are ignored.
criteria Required The criteria in the form of a number, expression, a cell reference, text, or a function that
defines which cells will be added.o Criteria can be expressed as 32, ">32", B5, "32", "apples", or TODAY().
•sum_range Optional The actual cells to add, if you want to add cells other than those specified in the range
argument.o Excel adds the cells that are specified in the range argument (the same cells to which
the criteria is applied).
Description:
• Sums the values in a range that meet criteria that you specify.
![Page 15: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/15.jpg)
15
THE SUMIFS FUNCTION
Syntax:
SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)
Arguments:
sum_range Required. One or more cells to sum, including numbers or names, ranges, or cell references that contain numbers. Blank and text values are ignored.
criteria_range1 Required. The first range in which to evaluate the associated criteria.
criteria1 Required. The criteria in the form of a number, expression, cell reference, or text that define which cells in the criteria_range1 argument will be added. For example, criteria can be expressed as 32, ">32", B4, "apples", or "32."
criteria_range2, criteria2, … Optional. Additional ranges and their associated criteria. Up to 127 range/criteria pairs are allowed.
![Page 16: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/16.jpg)
16
THE SUMIFS FUNCTION
Description:
Adds the cells in a range that meet multiple criteria. For example, if you want to sum the numbers in the range A1:A20 only if the corresponding numbers in B1:B20 are greater than zero (0) and the corresponding numbers in C1:C20 are less than 10, you can use the following formula:
=SUMIFS(A1:A20, B1:B20, ">0", C1:C20, "<10")
IMPORTANT The order of arguments differ between the SUMIFS and SUMIF functions. In particular, thesum_range argument is the first argument in SUMIFS, but it is the third argument in SUMIF. If you are copying and editing these similar functions, make sure you put the arguments in the correct order
![Page 17: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/17.jpg)
17
THE ROUND FUNCTION
Syntax:
=ROUND(number, num_digits)
Arguments:
•number Required The number that you want to round.
•num_digits Required The number of digits to which you want to round the number argument.
Description:
• Rounds a number to a specified number of digits.
![Page 18: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/18.jpg)
18
MICROSOFT EXCEL
STATISTICAL FUNCTIONSAVERAGE
=AVERAGE(number1, [number2],...)AVERAGEIF
=AVERAGEIF(range, criteria, [average_range])COUNT
=COUNT(value1, [value2],...)COUNTIF
=AVERAGEIF(range, criteria, [average_range])COUNTIFS
COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2]…)COUNTA
=COUNTA(value1, [value2],...)MAX
=MAX(number1,[number2],...)MIN
=MIN(number1,[number2],...)LARGE
=LARGE(array,k)SMALL
=LARGE(array,k)
![Page 19: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/19.jpg)
19
THE AVERAGE FUNCTION
Syntax:
=AVERAGE(number1, [number2],...)
Arguments:
•number1 Required The first number, cell reference, or range for which you want the average.
•number2, ... Optional Additional numbers, cell references or ranges for which you want the
average, up to a maximum of 255.
Description:
• Returns the average (arithmetic mean) of the arguments.
![Page 20: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/20.jpg)
20
THE AVERAGEIF FUNCTION
Syntax:
=AVERAGEIF(range, criteria, [average_range])
Arguments:
•range Required One or more cells to average, including numbers or names, arrays, or
references that contain numbers.•criteria Required
The criteria in the form of a number, expression, cell reference, or text that defines which cells are averaged.
•average_range Optional The actual set of cells to average.
Description:
• Returns the average (arithmetic mean) of all the cells in a range that meet a given criteria.
![Page 21: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/21.jpg)
21
THE AVERAGEIFS FUNCTIONSyntax:
AVERAGEIFS(average_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)
Arguments:
•Average_range Required. One or more cells to average, including numbers or names, arrays, or references that contain numbers.•Criteria_range1, criteria_range2, … Criteria_range1 is required, subsequent criteria_ranges are optional. 1 to 127 ranges in which to evaluate the associated criteria.•Criteria1, criteria2, ... Criteria1 is required, subsequent criteria are optional. 1 to 127 criteria in the form of a number, expression, cell reference, or text that define which cells will be averaged. For example, criteria can be expressed as 32, "32", ">32", "apples", or B4.
Description:
•Returns the average (arithmetic mean) of all cells that meet multiple criteria.
![Page 22: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/22.jpg)
22
THE COUNT FUNCTION
Syntax:
=COUNT(value1, [value2],...)
Arguments:
•value1 Required The first item, cell reference, or range within which you want to count
numbers.•value2, ... Optional
Up to 255 additional items, cell references, or ranges within which you want to count numbers.
Description:
• Counts the number of cells that contain numbers, and counts numbers within the list of arguments.
![Page 23: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/23.jpg)
23
THE COUNTIF FUNCTIONSyntax:
=COUNTIF(range, criteria)
Arguments:
•range Required One or more cells to count, including numbers or names, arrays, or
references that contain numbers.o Blank and text values are ignored.
criteria Required A number, expression, cell reference, or text string that defines which cells
will be counted.o Criteria can be expressed as 32, ">32", B4, "apples", or "32".
Description:
• Counts the number of cells within a range that meet a single criterion that you specify.
![Page 24: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/24.jpg)
24
THE COUNTIFS FUNCTIONSyntax:
COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2]…)
Arguments:
• criteria_range1 Required. The first range in which to evaluate the associated criteria.
• criteria1 Required. The criteria in the form of a number, expression, cell reference, or text that define which cells will be counted. For example, criteria can be expressed as 32, ">32", B4, "apples", or "32".
• criteria_range2, criteria2, ... Optional. Additional ranges and their associated criteria. Up to 127 range/criteria pairs are allowed.
IMPORTANT Each additional range must have the same number of rows and columns as the criteria_range1argument. The ranges do not have to be adjacent to each other.
Description:
• Applies criteria to cells across multiple ranges and counts the number of times all criteria are met.
![Page 25: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/25.jpg)
25
THE COUNTA FUNCTION
Syntax:
=COUNTA(value1, [value2],...)
Arguments:
•value1 Required The first argument representing the values that you want to count.
•value2, ... Optional Additional arguments representing the values that you want to count, up to
a maximum of 255 arguments.
Description:
• Counts the number of cells that are not empty in a range.
![Page 26: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/26.jpg)
26
THE MAX FUNCTION
Syntax:
=MAX(number1,[number2],...)
Arguments:
•number1, number2, ... Required 1 to 255 numbers for which you want to find the maximum value.
Description:
• Returns the largest value in a set of values.
![Page 27: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/27.jpg)
27
THE MIN FUNCTION
Syntax:
=MIN(number1,[number2],...)
Arguments:
•number1, number2, ... Required 1 to 255 numbers for which you want to find the minimum value.
Description:
• Returns the smallest value in a set of values.
![Page 28: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/28.jpg)
28
THE LARGE FUNCTION
Syntax:
=LARGE(array,k)
Arguments:
•array Required The array or range of data for which you want to determine the k-th largest
value.k Required
The position (from the largest) in the array or cell range of data to return.
Description:
• Returns the k-th largest value in a data set.
![Page 29: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/29.jpg)
29
THE SMALL FUNCTION
Syntax:
=SMALL(array,k)
Arguments:
•array Required The array or range of data for which you want to determine the k-th
smallest value.k Required
The position (from the smallest) in the array or cell range of data to return.
Description:
• Returns the k-th smallest value in a data set.
![Page 30: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/30.jpg)
30
MICROSOFT EXCEL LOOKUP FUNCTIONS
VLOOKUP=VLOOKUP(lookup_value, table_array, col_index_num,
[range_lookup])HLOOKUP
= HLOOKUP(lookup_value,table_array,row_index_num,range_lookup)
INDEX=INDEX(array,row_num,[column_num])
MATCH=MATCH(lookup_value, lookup_array, [match_type])
![Page 31: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/31.jpg)
31
THE VLOOKUP FUNCTIONSyntax:
=VLOOKUP(lookup_value,table_array,col_index_num,[range_lookup])
Arguments:
•lookup_value Required The value to search in the first column of the table or range.
•table_array Required The range of cells that contains the data.
•col_index_num Required The column number in the table_array argument from which the matching
value must be returned. •range_lookup OptionalA logical value that specifies whether you want VLOOKUP to find an exact match or an approximate match.
Description:
• Searches the first column of a range of cells, and then returns a value from any cell on the same row of the range.
![Page 32: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/32.jpg)
32
THE HLOOKUP FUNCTIONSyntax:
= HLOOKUP(lookup_value,table_array,row_index_num,range_lookup)
Arguments:
•lookup_value Required The value to search in the first row of the table or range.
•table_array Required The range of cells that contains the data.
•row_index_num Required The row number in table_array from which the matching value will be
returned range_lookup Optional. A logical value that specifies whether you want HLOOKUP to find an exact match or an approximate match. If TRUE or omitted, an approximate match is returned. In other words, if an exact match is not found, the next largest value that is less than lookup_value is returned. If FALSE, HLOOKUP will find an exact match. If one is not found, the error value #N/A is returned.Description:
• Searches for a value in the top row of a table or an array of values, and then returns a value in the same column from a row you specify in the table or array.
![Page 33: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/33.jpg)
THE INDEX FUNCTION
Microsoft® Excel® Lookup Functions
Syntax:
=INDEX(array,row_num,[column_num])
Arguments:
•array Required A range of cells or an array constant.
•row_num Optional Selects the row in array from which to return a value.
o If row_num is omitted, column_num is required.
•column_num Optional Selects the column in array from which to return a value.
o If column_num is omitted, row_num is required.
Description:
• Returns the value of an element in a table or an array, selected by the row and column number indexes.
![Page 34: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/34.jpg)
THE MATCH FUNCTION
Microsoft® Excel® Lookup Functions
Syntax:
=MATCH(lookup_value, lookup_array, [match_type])
Arguments:
•lookup_value Required The value that you want to match in lookup_array.
•lookup_array Required The range of cells being searched.
•match_type Optional Specifies how Excel matches lookup_value with values in lookup_array.
o The number -1, 0, or 1
Description:
• Searches for a specified item in a range of cells, and then returns the relative position of that item in the range
![Page 35: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/35.jpg)
35
MICROSOFT EXCEL DATE FUNCTIONS
DATE=DATE(year,month,day)
YEAR=YEAR(serial_number)
MONTH=MONTH(serial_number)
DAY=DAY(serial_number)
TODAY=TODAY()
NOW=NOW()
YEARFRAC=YEARFRAC(start_date,end_date,[basis])
DATEDIF=DATEDIF(startdate,enddate,interval)
![Page 36: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/36.jpg)
THE DATE FUNCTION
Microsoft® Excel® Date Functions
Syntax:
=DATE(year,month,day)
Arguments:
•year Required The value of the year argument can include one to four digits.
•month Required A positive or negative integer representing the month of the year from 1
to 12 (January to December).
•day Required A positive or negative integer representing the day of the month from 1
to 31.
Description:
• Returns the sequential serial number that represents a particular date.
![Page 37: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/37.jpg)
THE YEAR FUNCTION
Microsoft® Excel® Date Functions
Syntax:
=YEAR(serial_number)
Arguments:
•serial_number Required The date of the year you want to find.
Description:
• Returns the year corresponding to a date.
![Page 38: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/38.jpg)
THE MONTH FUNCTION
Microsoft® Excel® Date Functions
Syntax:
=MONTH(serial_number)
Arguments:
•serial_number Required The date of the month you want to find.
Description:
• Returns the month of a date represented by a serial number.
![Page 39: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/39.jpg)
THE DAY FUNCTION
Microsoft® Excel® Date Functions
Syntax:
=DAY(serial_value)
Arguments:
•serial_value Required The date of the day you want to find.
Description:
• Returns the day of a date, represented by a serial number.
![Page 40: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/40.jpg)
THE TODAY FUNCTION
Microsoft® Excel® Date Functions
Syntax:
=TODAY()
Arguments:
None
Description:
• Returns the serial number of the current date.
![Page 41: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/41.jpg)
THE NOW FUNCTION
Microsoft® Excel® Date Functions
Syntax:
=NOW()
Arguments:
None
Description:
• Returns the serial number of the current date and time.
![Page 42: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/42.jpg)
THE YEARFRAC FUNCTION
Microsoft® Excel® Date Functions
Syntax:
=YEARFRAC(start_date,end_date,[basis])
Arguments:
•start_date Required A date that represents the start date.
•end_date Required A date that represents the end date.
•basis Optional The type of day count basis to use.
Description:
• Calculates the fraction of the year represented by the number of whole days between two dates (the start_date and the end_date).
![Page 43: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/43.jpg)
THE YEARFRAC FUNCTION-DAY COUNT BASIS
0 – This value is used for US (NASD) date systems that assume 30 days are in a month and 360 days are in one year. If no basis value is specified, a value of 0 is used.
1 – A value of 1 should be used for the basis if you want your calculations based on the actual number of days in any given month or year.
2 – This value uses the actual number of days in any given month but assumes there are only 360 days in a year.
3 – This value is similar to the previous option as it uses the actual number of days in any given month, but it assumes there are 365 days in each year. That is, it disregards leap years.
4 – This value is similar to 0 (30 days in each month and 360 days in a year), but it assumes a European date system.
![Page 44: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/44.jpg)
THE DATEDIF FUNCTION
Microsoft® Excel® Date Functions
Syntax:
=DATEDIF(startdate,enddate,interval)
Arguments:
•startdate Required A date that represents the start date.
•enddate Required A date that represents the end date.
•interval Required The type of day count basis to use.
![Page 45: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/45.jpg)
THE DATEDIF FUNCTION
Microsoft® Excel® Date Functions
Arguments:
•interval Required The type of day count basis to use.
Description:
• Computes the difference between two dates in a variety of different intervals.
![Page 46: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/46.jpg)
MICROSOFT EXCEL TIME FUNCTIONS
HOUR=HOUR(serial_number)
MINUTE=MINUTE(serial_number)
SECOND=SECOND(serial_number)
![Page 47: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/47.jpg)
THE HOUR FUNCTION
Microsoft® Excel® Time Functions
Syntax:
=HOUR(serial_number)
Arguments:
•serial_number Required The time that contains the hour you want to find.
Description:• Returns the hour of a time value.
![Page 48: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/48.jpg)
THE MINUTE FUNCTION
Microsoft® Excel® Time Functions
Syntax:
=MINUTE(serial_number)
Arguments:
•serial_number Required The time that contains the minute you want to find.
Description:• Returns the minutes of a time value.
![Page 49: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/49.jpg)
THE SECOND FUNCTION
Microsoft® Excel® Time Functions
Syntax:
=SECOND(serial_number)
Arguments:
•serial_number Required The time that contains the seconds you want to find.
Description:• Returns the seconds of a time value.
![Page 50: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/50.jpg)
MICROSOFT EXCEL TEXT FUNCTIONS
FIND=FIND(find_text,within_text,[start_num])
LEFT=LEFT(text,[num_chars])
LEN=LEN(text)
RIGHT=RIGHT(text,[num_chars])
CONCATENATE (including &)=CONCATENATE(text1, [text2], ...)
UPPER=UPPER(text)
LOWER=LOWER(text)
PROPER=PROPER(text)
TRIM=TRIM(text)
MID=MID(text, start_num, num_chars)
![Page 51: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/51.jpg)
THE FIND FUNCTION
Microsoft® Excel® Text Functions
Syntax:
=FIND(find_text,within_text,[start_num])
Arguments:
•find_text Required The text you want to find.
•within_text Required The text string containing the text you want to find.
•start_num Optional Specifies the character at which to start the search.
Description:
• Locates one text string within a second text string, and returns the number of the starting position of the first text string from the first character of the second text string
![Page 52: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/52.jpg)
THE LEFT FUNCTION
Microsoft® Excel® Text Functions
Syntax:
=LEFT(text,[num_chars])
Arguments:
•text Required The text string that contains the characters you want to extract.
•num_chars Optional Specifies the number of characters you want LEFT to extract.
Description:
• Returns the first character or characters in a text string, based on the number of characters you specify
![Page 53: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/53.jpg)
THE LEN FUNCTION
Microsoft® Excel® Text Functions
Syntax:
=LEN(text)
Arguments:
•text Required The text whose length you want to find.
Description:
• Returns the number of characters in a text string.
![Page 54: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/54.jpg)
THE RIGHT FUNCTION
Microsoft® Excel® Text Functions
Syntax:
=RIGHT(text,[num_chars])
Arguments:
•text Required The text string that contains the characters you want to extract.
•num_chars Optional Specifies the number of characters you want RIGHT to extract.
Description:
• Returns the last character or characters in a text string, based on the number of characters you specify.
![Page 55: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/55.jpg)
THE CONCATENATE FUNCTION
Microsoft® Excel® Text Functions
Syntax:
=CONCATENATE(text1, [text2], ...)
Arguments:
•text1 Required The first text item to be concatenated.
•text2 Optional Additional text items, up to a maximum of 255 items, which must be
separated by commas.
Description:
• Joins up to 255 text strings into one text string.
![Page 56: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/56.jpg)
THE UPPER FUNCTION
Microsoft® Excel® Text Functions
Syntax:
=UPPER(text)
Arguments:
•text Required The text you want converted to uppercase.
Description:
• Converts text to uppercase.
![Page 57: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/57.jpg)
THE LOWER FUNCTION
Microsoft® Excel® Text Functions
Syntax:
=LOWER(text)
Arguments:
•text Required The text you want converted to lowercase.
Description:
• Converts all uppercase letters in a text string to lowercase.
![Page 58: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/58.jpg)
THE PROPER FUNCTION
Microsoft® Excel® Text Functions
Syntax:
=PROPER(text)
Arguments:
•text Required Text enclosed in quotation marks, a formula that returns text, or a
reference to a cell containing the text you want to partially capitalize.
Description:
• Capitalizes the first letter in a text string and any other letters in text that follow any character other than a letter.
![Page 59: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/59.jpg)
THE TRIM FUNCTION
Microsoft® Excel® Text Functions
Syntax:
=TRIM(text)
Arguments:
•text Required
is the text from which you want spaces removed.
Description:
Removes all spaces from text except for single spaces between words. Use TRIM on text that you have received from another application that may have irregular spacing.
![Page 60: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/60.jpg)
THE MID FUNCTION
Microsoft® Excel® Text Functions
Syntax:
=MID(text, start_num, num_chars)
Arguments:
Text Required. The text string containing the characters you want to extract.Start_num Required. The position of the first character you want to extract in text. The first character in text has start_num 1, and so on.Num_chars Required. Specifies the number of characters you want MID to return from text.
Description:
• MID returns a specific number of characters from a text string, starting at the position you specify, based on the number of characters you specify.
![Page 61: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/61.jpg)
MICROSOFT EXCEL DATABASE FUNCTIONS
DAVERAGE=DAVERAGE(database,field,criteria)
DCOUNT=DCOUNT(database,field,criteria)
DMAX=DMAX(database,field,criteria)
DMIN=DMIN(database,field,criteria)
DSUM=DSUM(database,field,criteria)
![Page 62: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/62.jpg)
THE DAVERAGE FUNCTION
Microsoft® Excel® Database Functions
Syntax:
=DAVERAGE(database,field,criteria)
Arguments:
•database Required The range of cells that makes up the list or database.
•field Required Indicates which column is used in the function.
•criteria Required The range of cells that contains the conditions you specify.
Description:
• Averages the values in a field (column) of records in a list or database that match conditions you specify.
![Page 63: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/63.jpg)
THE DAVERAGE FUNCTION
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10,"Yield",A1:B2)
The average yield of apple trees over 10 feet in height.
![Page 64: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/64.jpg)
THE DAVERAGE FUNCTION
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10,"Yield",A1:B2)
The average yield of apple trees over 10 feet in height.
![Page 65: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/65.jpg)
THE DAVERAGE FUNCTION
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10,"Yield",A1:B2)
The average yield of apple trees over 10 feet in height.
![Page 66: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/66.jpg)
THE DAVERAGE FUNCTION
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10,"Yield",A1:B2)
The average yield of apple trees over 10 feet in height.
![Page 67: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/67.jpg)
THE DAVERAGE FUNCTION
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10,"Yield",A1:B2)=12
The average yield of apple trees over 10 feet in height.
![Page 68: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/68.jpg)
THE DAVERAGE FUNCTION
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10,3,A4:E10)
The average age of all trees in the database.
![Page 69: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/69.jpg)
THE DAVERAGE FUNCTION
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10, 3,A4:E10)
The average age of all trees in the database.
![Page 70: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/70.jpg)
THE DAVERAGE FUNCTION
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10, 3,A4:E10)
The average age of all trees in the database.
![Page 71: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/71.jpg)
THE DAVERAGE FUNCTION
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10, 3,A4:E10)
The average age of all trees in the database.
![Page 72: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/72.jpg)
THE DAVERAGE FUNCTION
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10, 3,A4:E10)=13
The average age of all trees in the database.
![Page 73: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/73.jpg)
THE DMAX FUNCTION
Microsoft® Excel® Database Functions
=DMAX(A4:E10,"Profit",A1:A3)
The maximum profit of apple and pear trees.
![Page 74: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/74.jpg)
THE DMAX FUNCTION
Microsoft® Excel® Database Functions
=DMAX(A4:E10,"Profit",A1:A3)
The maximum profit of apple and pear trees.
![Page 75: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/75.jpg)
THE DMAX FUNCTION
Microsoft® Excel® Database Functions
=DMAX(A4:E10,"Profit",A1:A3)
The maximum profit of apple and pear trees.
![Page 76: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/76.jpg)
THE DMAX FUNCTION
Microsoft® Excel® Database Functions
=DMAX(A4:E10,"Profit",A1:A3)
The maximum profit of apple and pear trees.
![Page 77: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/77.jpg)
THE DMAX FUNCTION
Microsoft® Excel® Database Functions
=DMAX(A4:E10,"Profit",A1:A3)=105
The maximum profit of apple and pear trees.
![Page 78: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/78.jpg)
THE DMIN FUNCTION
Microsoft® Excel® Database Functions
=DMIN(A4:E10,"Profit",A1:B2)
The minimum profit of apple trees over 10 in height.
![Page 79: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/79.jpg)
THE DMIN FUNCTION
Microsoft® Excel® Database Functions
=DMIN(A4:E10,"Profit",A1:B2)
The minimum profit of apple trees over 10 in height.
![Page 80: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/80.jpg)
THE DMIN FUNCTION
Microsoft® Excel® Database Functions
=DMIN(A4:E10,"Profit",A1:B2)
The minimum profit of apple trees over 10 in height.
![Page 81: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/81.jpg)
THE DMIN FUNCTION
Microsoft® Excel® Database Functions
=DMIN(A4:E10,"Profit",A1:B2)
The minimum profit of apple trees over 10 in height.
![Page 82: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/82.jpg)
THE DMIN FUNCTION
Microsoft® Excel® Database Functions
=DMIN(A4:E10,"Profit",A1:B2)=75
The minimum profit of apple trees over 10 in height.
![Page 83: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/83.jpg)
THE DCOUNT FUNCTION
Microsoft® Excel® Database Functions
=DCOUNT(A4:E10,"Age",A1:F2)
This function looks at the records of apple trees between a height of 10 and 16 and counts how many of the Age fields in those records contain numbers.
![Page 84: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/84.jpg)
THE DCOUNT FUNCTION
Microsoft® Excel® Database Functions
=DCOUNT(A4:E10,"Age",A1:F2)
This function looks at the records of apple trees between a height of 10 and 16 and counts how many of the Age fields in those records contain numbers.
![Page 85: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/85.jpg)
THE DCOUNT FUNCTION
Microsoft® Excel® Database Functions
=DCOUNT(A4:E10,"Age",A1:F2)
This function looks at the records of apple trees between a height of 10 and 16 and counts how many of the Age fields in those records contain numbers.
![Page 86: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/86.jpg)
THE DCOUNT FUNCTION
Microsoft® Excel® Database Functions
=DCOUNT(A4:E10,"Age",A1:F2)
This function looks at the records of apple trees between a height of 10 and 16 and counts how many of the Age fields in those records contain numbers.
![Page 87: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/87.jpg)
THE DCOUNT FUNCTION
Microsoft® Excel® Database Functions
=DCOUNT(A4:E10,"Age",A1:F2)=1
This function looks at the records of apple trees between a height of 10 and 16 and counts how many of the Age fields in those records contain numbers.
![Page 88: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/88.jpg)
THE DSUM FUNCTION
Microsoft® Excel® Database Functions
=DSUM(A4:E10,"Profit",A1:A2)
The total profit from apple trees.
![Page 89: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/89.jpg)
THE DSUM FUNCTION
Microsoft® Excel® Database Functions
=DSUM(A4:E10,"Profit",A1:A2)
The minimum profit of apple trees over 10 in height.
![Page 90: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/90.jpg)
THE DSUM FUNCTION
Microsoft® Excel® Database Functions
=DSUM(A4:E10,"Profit",A1:A2)
The minimum profit of apple trees over 10 in height.
![Page 91: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/91.jpg)
THE DMIN FUNCTION
Microsoft® Excel® Database Functions
=DSUM(A4:E10,"Profit",A1:A2)
The minimum profit of apple trees over 10 in height.
![Page 92: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/92.jpg)
THE DMIN FUNCTION
Microsoft® Excel® Database Functions
=DSUM(A4:E10,"Profit",A1:A2)=225
The minimum profit of apple trees over 10 in height.
![Page 93: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/93.jpg)
SORTING DATA BY ONE AND MULTIPLE COLUMNS1. Select the data that you want to sort
Select a range of data, such as A1:L5 (multiple rows and columns) or C1:C80 (a single column). The range can include titles that you created to identify columns or rows.
2. Sort quickly
2. Select a single cell in the column on which you want to sort.
3. Click Button Image to perform an ascending sort (A to Z or smallest number to largest).
4. Click to perform a descending sort (Z to A or largest number to smallest).
93
![Page 94: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/94.jpg)
SORTING DATA BY ONE AND MULTIPLE COLUMNS
3. Sort by specifying criteria
You can choose the columns on which to sort by clicking the Sort command in the Sort & Filter group on the Data tab.
1. Select a single cell anywhere in the range that you want to sort.
2. On the Data tab, in the Sort & Filter group, click Sort.The Sort dialog box appears.
3. In the Sort by list, select the first column on which you want to sort.
4. In the Sort On list, select either Values, Cell Color, Font Color, or Cell Icon.
5. In the Order list, select the order that you want to apply to the sort operation — alphabetically or numerically ascending or descending (that is, A to Z or Z to A for text or lower to higher or higher to lower for numbers).
94
![Page 95: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/95.jpg)
APPLYING AUTO-FILTER ON ONE AND MULTIPLE COLUMNS
By filtering information in a worksheet, you can find values quickly.
You can filter on one or more columns of data.With filtering, you can control not only what you want to see, but what you want to exclude.
You can filter based on choices you make from a list, or you can create specific filters to focus on exactly the data that you want to see.
When you filter data, entire rows are hidden if values in one or more columns don't meet the filtering criteria.
95
![Page 96: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/96.jpg)
APPLYING AUTO-FILTER ON ONE AND MULTIPLE COLUMNS
1. Select the data that you want to filter
1. On the Data tab, in the Sort & Filter group, click Filter.
2. Click the arrow in the column header to display a list in which you can make filter choices.
Note Depending on the type of data in the column, Microsoft Excel displays either Number Filters or Text Filters in the list.
96
![Page 97: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/97.jpg)
APPLYING AUTO-FILTER ON ONE AND MULTIPLE COLUMNS
2. Filter by selecting values or searching
Selecting values from a list and searching are the quickest ways to filter. When you click the arrow in a column that has filtering enabled, all values in that column appear in a list.
97
![Page 98: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/98.jpg)
APPLYING AUTO-FILTER ON ONE AND MULTIPLE COLUMNS
1 Use the Search box to enter text or numbers on which to search
2 Select and clear the check boxes to show values that are found in the column of data
3 Use advanced criteria to find values that meet specific conditions
1. To select by values, in the list, clear the (Select All) check box. This removes the check marks from all the check boxes. Then, select only the values you want to see, and click OK to see the results.
2. To search on text in the column, enter text or numbers in the Search box. Optionally, you can use wildcard characters, such as the asterisk (*) or the question mark (?). Press ENTER to see the results.
98
![Page 99: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/99.jpg)
APPLYING AUTO-FILTER ON ONE AND MULTIPLE COLUMNS
3. Filter data by specifying conditions
By specifying conditions, you can create custom filters that narrow down the data in the exact way that you want. You do this by building a filter. If you've ever queried data in a database, this will look familiar to you.
1. Point to either Number Filters or Text Filters in the list. A menu appears that allows you to filter on various conditions.
2. Choose a condition and then select or enter criteria. Click the And button to combine criteria (that is, two or more criteria that must both be met), and the Or button to require only one of multiple conditions to be met.
3. Click OK to apply the filter and get the results you expect.
99
![Page 100: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/100.jpg)
CALCULATING SUBTOTALS
You can use Excel 2010's Subtotals feature to subtotal data in
a sorted list.
To subtotal a list, you first sort the list on the field for which you
want the subtotals, and then you designate the field that
contains the values you want summed — these don't have to
be the same fields in the list.
Excel does not allow you to subtotal a list formatted as a table.
You must first convert your table into a normal range of cells.
100
![Page 101: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/101.jpg)
CALCULATING SUBTOTALS
How to add a subtotal to a worksheet?
1. Sort the list on the field for which you want subtotals inserted.
2. Click the Subtotal button in the Outline group on the Data tab.
101
![Page 102: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/102.jpg)
CALCULATING SUBTOTALS
3. Select the field for which the subtotals are to be calculated in the At Each Change In drop-down list.
4. Specify the type of totals you want to insert in the Use function drop-down list.
When you use the Subtotals feature, you aren't restricted to having the values in the designated field added together with the SUM function. You can instead have Excel return the number of entries with the COUNT function, the average of the entries with the AVERAGE function, the highest entry with the MAXIMUM function, the lowest entry with the MINIMUM function, or even the product of the entries with the PRODUCT function.
5. Select the check boxes for the field(s) you want to total in the Add Subtotal To list box.
6. Click OK.
102
![Page 103: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/103.jpg)
CALCULATING SUBTOTALS
Excel adds the subtotals to the worksheet.
103
![Page 104: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/104.jpg)
APPLYING ADVANCED AUTO-FILTERS
Insert at least three blank rows above the range that can be used as a criteria range. The criteria range must have column labels. Make sure there is at least one blank row between the criteria values and the range.
104
![Page 105: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/105.jpg)
APPLYING ADVANCED AUTO-FILTERS
In the rows below the column labels, type the criteria you want to match.
105
![Page 106: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/106.jpg)
APPLYING ADVANCED AUTO-FILTERS
1. Click a cell in the range.
2. On the Data menu, point to Filter, and then click Advanced Filter.
3. To filter the range by hiding rows that don't match your criteria, click Filter the list, in-place.
To filter the range by copying rows that match your criteria to another area of the worksheet, click Copy to another location, click in the Copy to box, and then click the upper-left corner of the area where you want to paste the rows.
4. In the Criteria range box, enter the reference for the criteria range, including the criteria labels.(A1:C3)
To move the Advanced Filter dialog box out of the way temporarily while you select the criteria range, clickCollapse Dialog .
5. To change how the data is filtered, change the values in the criteria range and filter the data again.
106
![Page 107: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/107.jpg)
PIVOT TABLES & PIVOT CHARTS
Excel 2010 has an option of creating pivot table, as name implies it pivots down the existing data table and tries to make user understand the crux of it.
107
![Page 108: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/108.jpg)
PIVOT TABLES & PIVOT CHARTS
To start out with making pivot table, make sure that all rows and columns are selected. Navigate to Insert tab, click PivotTable.
108
![Page 109: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/109.jpg)
PIVOT TABLES & PIVOT CHARTS You will reach Create Pivot Table dialog box. Excel fills in data
range from first to last selected columns and rows.
You can also specify any external data source to be used. Finally choose worksheet to save the pivot table report.
Click OK to proceed further
109
![Page 110: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/110.jpg)
PIVOT TABLES & PIVOT CHARTS Pivot table will appear.
Now we will populate this table with data fields which is being present at the right side of the Excel window.
110
![Page 111: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/111.jpg)
PIVOT TABLES & PIVOT CHARTS We start off with enabling Platform field, and then other fields.
Excel start filling cells in a sequence you want to populate. The Platform field will come first in the Pivot Table as shown in screen shot.
111
![Page 112: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/112.jpg)
PIVOT TABLES & PIVOT CHARTS For creating chart of pivot table, go to Insert
tab, click Column select an appropriate chart type.
In this example we will create a simple 3-D Column chart.
112
![Page 113: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/113.jpg)
PIVOT TABLES & PIVOT CHARTS Chart content can be changed by using the options at the
bottom-left of its area.
113
![Page 114: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/114.jpg)
INSERT OR DELETE A DROPDOWN LIST
To make data entry easier in Excel, or to limit entries to certain items that you define, you can create a drop-down list of valid entries that is compiled from cells elsewhere in the workbook.
To create a drop-down list from a range of cells, use the Data Validation command in the Data Tools group on the Data tab.
1. To create a list of valid entries for the drop-down list, type the entries in a single column or row without blank cells. For example:
114
![Page 115: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/115.jpg)
INSERT OR DELETE A DROPDOWN LIST
2. NOTE You may want to sort the data in the order that you want it to appear in the drop-down list.
3. If you want to use another worksheet, type the list on that worksheet, and then define a name for the list.
4. Select the cell where you want the drop-down list.
5. On the Data tab, in the Data Tools group, click Data Validation.
6. In the Data Validation dialog box, click the Settings tab.
115
![Page 116: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/116.jpg)
INSERT OR DELETE A DROPDOWN LIST
7. In the Allow box, click List.
8. To specify the location of the list of valid entries, do one of the following:
• If the list is in the current worksheet, enter a reference to your list in the Source box.
• If the list is on a different worksheet, enter the name that you defined for your list in the Source box.
9. Make sure that the In-cell dropdown check box is selected
116
![Page 117: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/117.jpg)
WHAT IF ANALYSIS (KENDRA & MCINTOSH ONLY)
• Goal Seeking function
• Can work through multiple scenarios
• Can have Data tables
• Example:
Find the interest rate that is needed to finance $25,000 car over 5 years (60 months) with a payment no more than $450.
![Page 118: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/118.jpg)
FORM CONTROLS (KENDRA & MCINTOSH ONLY)
Where to find them?
In Excel 2010, click the File tab, and then click Options.
click the Customize Ribbon tab, and then in the Customize the Ribbon box, select the Developer check box.
![Page 119: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/119.jpg)
FORM CONTROLSList box example
1. To add a list box click the Developer tab, click Insert in the Controls group, and then click List Box Form (Control) under Form Controls.
![Page 120: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/120.jpg)
FORM CONTROLS2. Click the worksheet location where you want the upper-left corner of the list box to appear, and then drag the list box to where you want the lower-right corner of the list box to be. In this example, create a list box that covers cells B2:E10.
3. In the Controls group, click Properties.
![Page 121: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/121.jpg)
FORM CONTROLS4. In the Format Object window, type the following information, and then click OK.
To specify the range for the list, type H1:H20 in the Input range box.
To put a number value in cell G1 (depending on which item is selected in the list),
type G1 in the Cell link box.
Note The INDEX() formula uses the value in G1 to return the correct list item.
Under Selection type, make sure that the Single
option is selected.
Note The Multi and Extend options are only useful
when you are using a Microsoft Visual Basic for
Applications procedure to return the values of
the list.
Note also that the 3-D shading check box adds a
three-dimensional look to the list box.
![Page 122: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/122.jpg)
FORM CONTROLS
5. The list box should display the list of items. To use the list box, click any cell so that the list box is not selected. If you click an item in the list, cell G1 is updated to a number that indicates the position of the item that is selected in the list. The INDEX formula in cell A1 uses this number to display the item's name.
![Page 123: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/123.jpg)
FORM CONTROLS
Combo box example
1. To add a combo box click the Developer tab, click Insert, and then click Combo Box under Form Controls.
![Page 124: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/124.jpg)
FORM CONTROLS2. Click the worksheet location where you want the upper-left corner of the combo box to appear, and then drag the combo box to where you want the lower-right corner of the list box to be. In this example, create a combo box that covers cells B2:E2.
![Page 125: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/125.jpg)
FORM CONTROLS
3.Right-click the combo box, and then click Format Control.
![Page 126: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/126.jpg)
FORM CONTROLS
4. Type the following information, and then click OK:
• To specify the range for the list, type H1:H20 in the Input range box.• To put a number value in cell G1 (depending on which item is selected in the list),
type G1 in the Cell link box.
Note The INDEX formula uses the value in G1 to return the correct list item.
• In the Drop down lines box, type 10. This entry determines how many items will be displayed before you have to use a scroll bar to view the other items.
Note The 3-D shading check box is optional. It adds a three-dimensional look to
the drop-down or combo box.
![Page 127: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/127.jpg)
FORM CONTROLS5. The drop-down box or combo box should display the list of items. To use the drop-down box or combo box, click any cell so that the object is not selected. When you click an item in the drop-down box or combo box, cell G1 is updated to a number that indicates the position in the list of the item selected. The INDEX formula in cell A1 uses this number to display the item's name.
![Page 128: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/128.jpg)
FORM CONTROLSSpin button example
1. To add a spin button click the Developer tab, click Insert, and then click Spin Button under Form Controls.
2. Click the worksheet location where you want the upper-left corner of the spin button to appear, and then drag the spin button to where you want the lower-right corner of the spin button to be. In this example, create a spin button that covers cells B2: B3.
![Page 129: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/129.jpg)
FORM CONTROLS3. Right-click the spin button, and then click Format Control.
![Page 130: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/130.jpg)
FORM CONTROLS4. Type the following information, and then click OK:In the Current value box, type 1.
This value initializes the spin button so that the INDEX formula will point to the first item in the list.
In the Minimum value box, type 1.
This value restricts the top of the spin button to the first item in the list.
In the Maximum value box, type 20.
This number specifies the maximum number of entries in the list.
In the Incremental change box, type 1.
This value controls how much the spin button control increments the current value.
To put a number value in cell G1
(depending on which item is selected in the list), type G1 in the Cell link box.
![Page 131: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/131.jpg)
FORM CONTROLS5. Click any cell so that the spin button is not selected. When you click the up control or down control on the spin button, cell G1 is updated to a number that indicates the current value of the spin button plus or minus the incremental change of the spin button. This number then updates the INDEX formula in cell A1 to show the next or previous item.
The spin button value will not change if the current value is 1 and you click the down control, or if the current value is 20 and you click the up control.
![Page 132: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/132.jpg)
FORM CONTROLS
Scroll bar example
1. To add a scroll bar in Excel 2010 and Excel 2007, click the Developer tab, click Insert, and then click Scroll Bar under Form Controls.
![Page 133: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/133.jpg)
FORM CONTROLS2. Click the worksheet location where you want the upper-left corner of the scroll bar to appear, and then drag the scroll bar to where you want the lower-right corner of the scroll bar to be. In this example, create a scroll bar that covers cells B2:B6 in height and is about one-fourth of the width of the column.
![Page 134: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/134.jpg)
FORM CONTROLS3. Right-click the scroll bar, and then click Format Control.
![Page 135: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/135.jpg)
FORM CONTROLS4.Type the following information, and then click OK: In the Current value box, type 1.
This value initializes the scroll bar so that the INDEX formula will point to the first item in the list.
In the Minimum value box, type 1.
This value restricts the top of the scroll bar to the first item in the list.
In the Maximum value box, type 20. This number specifies the maximum number of entries in the list.
In the Incremental change box, type 1.
This value controls how many numbers the scroll bar control increments the current value.
In the Page change box, type 5. This value controls how much the current value will be incremented if you click inside
the scroll bar on either side of the scroll box).
To put a number value in cell G1 (depending on which item is selected in the list), type G1 in the Cell link box.
![Page 136: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/136.jpg)
FORM CONTROLS5. Click any cell so that the scroll bar is not selected. When you click the up or down control on the scroll bar, cell G1 is updated to a number that indicates the current value of the scroll bar plus or minus the incremental change of the scroll bar. This number is used in the INDEX formula in cell A1 to show the item next to or before the current item. You can also drag the scroll box to change the value or click in the scroll bar on either side of the scroll box to increment it by 5 (the Page change value). The scroll bar will not change if the current value is 1 and you click the down control, or if the current value is 20 and you click the up control.
![Page 137: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/137.jpg)
DATA VALIDATION (KENDRA & MCINTOSH ONLY)
It is used to control the type of data or the values that users enter into a cell.
Data validation options are located on the Data tab, in the Data Tools group.
You configure data validation in the Data Validation dialog box.
![Page 138: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/138.jpg)
DATA VALIDATIONWhen is data validation useful?
Restrict numbers outside a specified range For example, you can specify a minimum limit of deductions to two times the number of children in a particular cell.
Restrict dates outside a certain time frame For example, you can specify a time frame between today's date and 3 days from today's date.
Restrict times outside a certain time frame For example, you can specify a time frame for serving breakfast between the time when the restaurant opens and 5 hours after the restaurant opens.
Limit the number of text characters For example, you can limit the allowed text in a cell to 10 or fewer characters. Similarly, you can set the specific length for a full name field (C1) to be the current length of a first name field (A1) and a last name field (B1), plus 10 characters.
Validate data based on formulas or values in other cells For example, you can use data validation to set a maximum limit for commissions and bonuses of $3,600, based on the overall projected payroll value. If users enter more than $3,600 in the cell, they see a validation message.
![Page 139: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/139.jpg)
DATA VALIDATION
Data validation messages:CON TYPE USE TO
Stop Prevent users from entering invalid data in a cell. A Stop alert message has two options: Retry or Cancel.
Warning Warn users that the data they entered is invalid, without preventing them from entering it. When a Warning alert message appears, users can click Yes to accept the invalid entry,No to edit the invalid entry, or Cancel to remove the invalid entry.
Information Inform users that the data they entered is invalid, without preventing them from entering it. This type of error alert is the most flexible. When an Information alert message appears, users can click OK to accept the invalid value or Cancel to reject it.
![Page 140: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/140.jpg)
PROTECTING WORKSHEETS (KENDRA & MCINTOSH ONLY)
By default, all cells in an Excel spreadsheet are locked. This makes it very easy to protect all data in a single worksheet simply by applying the Protect Sheet option.
Unlocking specific cells permits changes to be made to these cells after the protect sheet option has been applied.
Often certain areas of a worksheet are unlocked so that new data can be added. Cells containing formulas, functions, or other important data are kept locked so that once the protect sheet option has been applied, these cells cannot be changed.
![Page 141: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/141.jpg)
PROTECTING WORKSHEETS
Protect a worksheet in Excel
1. Open an Excel file to protect. If you open a new file all cells in the worksheet will be protected. If you wish, follow the example in step one to unlock certain cells in a worksheet.
2. Click on the Home tab.
3. Choose the Format option on the ribbon to open the drop down list.
4. Click on Protect Sheet option at the bottom of the list to open the Protect Sheet dialog box.
5. This dialog box contains a number of options when protecting the worksheet.
6. The first option is to add a password to prevent worksheet protection from being turned off. This password does not stop users from opening the worksheet and viewing the contents.
![Page 142: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/142.jpg)
PROTECTING WORKSHEETS
7. Next there a number of options that can be turned on or off with check boxes. The first two allow a user to drag select locked and unlocked cells. If these two are turned off, users will not be able to make any changes to a worksheet - even if it contains unlocked cells.
8. The remaining options allow users to carry out specific tasks on a protected worksheet, such as formatting cells and sorting data.
9. These options, however, do not all work the same. For instance, if the format cells option is checked off when a sheet is protected, all cells can be formatted. The sort option, on the other hand, works only on those cells that have been unlocked before the sheet was protected.
10. When you have selected the appropriate options, click OK.
![Page 143: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/143.jpg)
PROTECTING WORKSHEETS
Turning off worksheet protection
1. Click on the Home tab.
2. Choose the Format option on the ribbon to open the drop down list.
3. Click on Unprotect Sheet option at the bottom of the list.
![Page 144: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/144.jpg)
HIDING COLUMNS (KENDRA & MCINTOSH ONLY)
Hide one or more rows or columns
1. Select the rows or columns that you want to hide.
2. On the Home tab, in the Cells group, click Format.
3. Do one of the following:
• Under Visibility, point to Hide & Unhide, and then click Hide Rows or Hide Columns.
• Under Cell Size, click Row Height or Column Width, and then type 0 in the Row Height or Column Widthbox.
TIP You can also right-click a row or column (or a selection of multiple rows or columns), and then click Hide.
![Page 145: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/145.jpg)
HIDING COLUMNSDisplay one or more hidden rows or columns
1. Do one of the following:
• To display hidden rows, select the row above and below the rows that you want to unhide.
• To display hidden columns, select the columns adjacent to either side of the columns that you want to unhide.
• To display the first hidden row or column on a worksheet, select it by typing A1 in the Name Box next to theformula bar.
TIP You can also select it by using the Go To dialog box. On the Home tab, under Editing, click Find & Select, and then click Go To. In the Reference box, type A1, and then click OK.
![Page 146: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/146.jpg)
HIDING COLUMNS2. On the Home tab, in the Cells group, click Format.
3. Do one of the following:
• Under Visibility, point to Hide & Unhide, and then click Unhide Rows or Unhide Columns.
• Under Cell Size, click Row Height or Column Width, and then type the value that you want in the Row Heightor Column Width box.
TIP You can also right-click the selection of visible rows and columns that surround the hidden rows and columns, and then click Unhide.
![Page 147: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/147.jpg)
HIDING COLUMNS
Display all hidden rows and columns at the same time
1. To select all cells on a worksheet, do one of the following:
• Click the Select All button.Select All Button
• Press CTRL+A.
NOTE If the worksheet contains data and the active cell is above or to the right of the data, pressing CTRL+A selects the current region. Pressing CTRL+A a second time selects the entire worksheet.
![Page 148: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/148.jpg)
HIDING COLUMNS
2. On the Home tab, in the Cells group, click Format.
3. Do one of the following:
• Under Visibility, point to Hide & Unhide, and then click Unhide Rows or Unhide Columns.
• Under Cell Size, click Row Height or Column Width, and then type the value that you want in the Row Height or Column Width box.
![Page 149: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/149.jpg)
HIDING COLUMNS
Unhide the first row or column of the worksheet
1. To select the first hidden row or column on the worksheet, do one of the following:
• In the Name Box next to the formula bar, type A1.• On the Home tab, in the Editing group, click Find & Select,
and then click Go To. In the Reference box, typeA1, and then click OK.
2. On the Home tab, in the Cells group, click Format.
![Page 150: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/150.jpg)
HIDING COLUMNS
3. Do one of the following:
• Under Visibility, point to Hide & Unhide, and then click Unhide Rows or Unhide Columns.
• Under Cell Size, click Row Height or Column Width, and then type the value that you want in the Row Height or Column Width box.
![Page 151: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/151.jpg)
Access Review
![Page 152: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/152.jpg)
152
DATABASE DESIGN
Basic Terminology:
A table consists of data that is arrayed in rows and columns.
A row of data is called a record.
A column of data is called a field.
Thus, a record is a set of related fields. The fields in a table
should be related to one another in some way.
![Page 153: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/153.jpg)
153
BASIC TERMINOLOGYPrimary key field is a field in which each record has a
unique value.
e.g. The SSN
Compound Primary Key is used when there is no single
field whose values are all different. In that case, two or more fields are combined. The combination of the fields’ values should be unique.
Foreign key is the primary key of another table.
e.g. suppose we need to link the employee table with the Hours worked table for payroll purposes. The Employee ID number (EIN) is the primary key of the employees table but the foreign key of the hours worked table.
*Every foreign key must be associated with a primary key in another table.
![Page 154: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/154.jpg)
154
BASIC TERMINOLOGY
A form is a database object that is created from an existing table to make the process of entering data more user-friendly
A query is the database equivalent of a question that is posed about data in a table (or tables).
Queries can be designed to search multiple tables but these tables should be connected by a join operation.
![Page 155: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/155.jpg)
155
DATABASE DESIGNDatabase design concepts:
Entities an entity is a tangible thing or an event. It is a person, place, thing or concept about which data can be collected.
Consider the following examples:
1) The database of a video store would have one entity named video and another named customer (These are physical entities).
2) Organizations incur expenses from paying hourly employees and purchasing materials from suppliers. Hours worked and purchases are event entities in the database of most organizations.
3) The library lends books for free. If you were to think of checking out a book as a sales transaction for zero revenue, how would you handle the revenue generating event?
The event entity here is the number of checkouts.
![Page 156: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/156.jpg)
156
DATABASE DESIGNRelationships you should consider the relationship of each entity to the other entities you have identified.
Cardinality of any relationship can be one-to-one, one-to-many, or many-to-many.
A one-to-one relationship is like A book is published by one company or A shark lives in one place (the ocean).
There is a many-to-many relationship between the records in the doctor table and records in the patient table because doctors have many patients, and a patient could have several doctors;
A one-to-many relation between the department table and the doctor table because each doctor may work for only one department, but one department could have many doctors.
![Page 157: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/157.jpg)
157
DATABASE DESIGN
A book can have more than one author. An author can write more than one book. How would you describe the relationship between authors and books?
Many-to-many
A member can borrow any number of books at one checkout. A book can be checked out more than once. How would you describe the relationship between books and checkouts?
Many-to-many
![Page 158: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/158.jpg)
158
DATABASE DESIGN
Attributes an attribute is a characteristic of an entity. These attributes become the table’s field.
E.g. what are the attributes for the entity “Customer”?
Customer ID, First name, Surname, Date of Birth, Address and Phone no.
What are the attributes for the entity “Fashion Model”?
Name, Height, Weight, Dress size, Hair color and Eye color.
![Page 159: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/159.jpg)
159
DATABASE DESIGN RULES
Rule 1: You do not need a table for the business
The database represents the entire business. Thus in the practice example* The library is not an entity.
*practice problem at the end of tutorial A.
Rule 2: Identify the entities in the business description
In our example the entities are Members, employees and books.
![Page 160: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/160.jpg)
160
DATABASE DESIGN RULES
Rule 3: Look for relationships among the entities
look for relationships between entities; one-to-many and many-to-many.
In our example: one-to-many: a member can check out more than one book.
Rule 4: Look for attributes of each entity and designate a primary key.
Attributes of members: name, DOB, phone no., email address, member ID card number …etc.
Employees: name, # of hours worked, job title,…etc.
Books: name, authors, type, status, member ID card number…etc.
Primary Key
Foreign key
![Page 161: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/161.jpg)
161
DATABASE DESIGN RULES
Rule 5: Avoid data redundancy
you should not include extra (redundant) fields in a table. Redundant fields take up extra disk space and lead to data entry errors because the same value must be entered in multiple tables.
Rule 6: Do not include a field if it can be calculated from other fields
A calculated field is made using the query generator as we will see later.
** You should realize the importance of accuracy, case sensitivity…etc in designing databases.
![Page 162: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/162.jpg)
162
METADATA & HIERARCHY OF DATA
Metadata: Data about data. Metadata describes how and when and by whom a particular set of data was collected, and how the data is formatted. A text document's metadata may contain information about how long the document is, who the author is, when the document was written, and a short summary of the document.
Hierarchy of Data: refers to the systematic organization of data, often in a hierarchical form. Data organization involves fields, records, files and so on.
![Page 163: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/163.jpg)
163
DATA DICTIONARY
Data Dictionary: In database management systems, a file that defines the basic organization of a database. A data dictionary contains a list of all files in the database, the number of records in each file, and the names and types of each field. Most database management systems keep the data dictionary hidden from users to prevent them from accidentally destroying its contents.
Data dictionaries do not contain any actual data from the database, only bookkeeping information for managing it. Without a data dictionary, however, a database management system cannot access data from the database.
![Page 164: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/164.jpg)
164
CREATING TABLES
Create tab Table design (in the tables group)
Fill in the table’s fields.Choose a suitable data type for each field.
For example text Last Name Date/time Date Hired
Yes/No US Citizen
Change the lengths of the text fields from 255 to 30 spaces.
![Page 165: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/165.jpg)
165
CREATING TABLESWe need to make the Employee ID a primary key:Select the Employee ID field then in the Table tools Design click Primary Key tab
After you finish click the File tab Save object as then name your table
Note that this is different from Save Database as which saves the whole database.
![Page 166: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/166.jpg)
166
CREATING COMPOUND PRIMARY KEYThe two fields must be appear one after the other in the table definition screen (plan ahead for that format).
Highlight one field, hold down the control key and highlight the next field.
Go to table tools design tab Primary Key
![Page 167: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/167.jpg)
167
ADDING RECORDS TO A TABLE
Double click the table’s name in the navigation pane at the left of the screen then start typing data directly into the cells.
Enter your data one field value at a time.
Each time you finish entering a value, press Enter to move the cursor to the next cell.
After you enter the data in the last cell in a row, the cursor moves to the first cell in the next row and Access automatically saves the record
No need to save through the File tab.
![Page 168: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/168.jpg)
168
CREATING QUERIES
Using Calculated Fields in Queries:
E.g. suppose we have the following table.
if you have an existing field containing the number of boxes of Girl Scout cookies sold, you may want to see how much money was collected for each cookie sale. In this example, the boxes sold for $3.95 each.
![Page 169: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/169.jpg)
169
USING CALCULATED FIELDS IN QUERIESIn this case we will create a calculated field in a query.
Create tab Query design
Don’t Forget the Colon.
Also the field name must be enclosed in square brackets.
![Page 170: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/170.jpg)
170
USING CALCULATED FIELDS IN QUERIESHow to format the calculated field output?
1. select the output column by clicking the line above the calculated field expression.
2. the column darkens to indicate the selection.
3. Design tab property sheet format
![Page 171: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/171.jpg)
171
AVOIDING ERRORS WHEN MAKING CALCULATED FIELDS1. Do not enter the expression in the criteria cell. Enter it in
the Field cell.
2. Spell, capitalize, and space a field’s name exactly as you did in the table definition.
3. Don’t use parentheses or curly braces instead of the square brackets.
![Page 172: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/172.jpg)
172
“RELATING” TWO OR MORE TABLES BY THE JOIN OPERATION
Suppose you want to see the last names, employee IDs, wage rates, salary status, and citizenship only for US citizens and hourly workers.
Problem: the data is spread across two tables.
Solution: add both tables and pull down the five fields you need.
Step 1: Create tab Query design
Step 2: Click one table name and hold down the ctrl button while choosing the other table name.
Step 3: start pulling down the fields you need and add the criteria expressions.
![Page 173: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/173.jpg)
173
“RELATING” TWO OR MORE TABLES BY THE JOIN OPERATION
![Page 174: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/174.jpg)
174
“RELATING” TWO OR MORE TABLES BY THE JOIN OPERATION
you can use calculated fields using more than one table.
Just follow the same steps and add the calculated field in the
design view like what we did earlier.
![Page 175: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/175.jpg)
175
TOTALS QUERIESAssume that you want to see two pieces of information for hourly workers:
1. The average wage rate
2. 110 percent of the average rate
Step1:
Create the first query, click the design tab Totals button in the show/hide group. This will give us the average of the wage rate field.
Note that: you should type the revisedheading for the wage rate field, i.e. Average rate: wage rate.
N.B. we need the average of this field.
Also to get the hourly workers only, enter Criteria=No.
![Page 176: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/176.jpg)
176
TOTALS QUERIES
Now begin a new Query.But instead of basing it on a table, we will base it on the previous query.
Design the new query and create a calculated field inside it.
![Page 177: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/177.jpg)
177
USING THE DATE() FUNCTION IN QUERIES
Access has two important date function features:
1. The built in Date() function which gives today’s date.
2. Date arithmetic lets you subtract one date from another
to obtain the difference-in number of days- between two
calendar dates.
![Page 178: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/178.jpg)
178
USING THE DATE() FUNCTION IN QUERIES
Suppose you want to give each employee a $1 bonus for each day the employee has worked.
So, you need to calculate the number of days between the employee’s date of hire and the date the query is run.
Date arithmetic
![Page 179: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/179.jpg)
179
USING TIME ARITHMETIC IN QUERIES
Access allows you to subtract the values of time fields to get an elapsed time.
In Access, subtracting one time from the other yields the decimal portion of a 24-hour day.E.g. if the employee worked 8 hours, the time arithmetic function yields 0.333. That’s why we multiply by 24.
![Page 180: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/180.jpg)
180
UPDATE QUERIES
Suppose you want to give all non-salaried workers a $0.5 pay
raise.
If you have 3 workers change the wage rate data in the
table.
If you have 3000 workers it would be much faster and more
accurate to change the wage rate by using an update query
that adds $0.5 to each non-salaried employee’s wage rate.
![Page 181: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/181.jpg)
181
UPDATE QUERIESFirst start by making a select query.
Then click the update button in the query type group.
![Page 182: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/182.jpg)
182
UPDATE QUERIES
We will write the updated data in the Update to line in the QBE grid.
We will update only the non-salaried workers by using a filter under the salaried field.
![Page 183: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/183.jpg)
183
UPDATE QUERIESWhen you run the query, the following warning message will appear.
Click yes, and the records will be updated.
![Page 184: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/184.jpg)
184
DELETE QUERIESDelete queries work like the update queries.
E.g. Suppose your company is purchased by the state of Delaware. So you need to delete or “fire” all employees who are not exclusively Delaware residents.
<> not
![Page 185: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/185.jpg)
185
SCENARIO
You have a table of medicines. One of them is now banned. Create a query with the new requirements.
So what is the type of this query?
Delete Query
![Page 186: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/186.jpg)
186
PARAMETER QUERIES
Suppose you want to know how many hours a particular employee has worked.
1. Run a select query.
2. You will get a message to enter the employee ID.Enter your employee IDand you will get thedesired information
![Page 187: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/187.jpg)
187
PRACTICE QUERIES (P.33 37)#2 Create a query that shows the last name, first name, date hired, and state for employees who live in Delaware or were hired after 12/31/99. The primary sort (ascending) is on last name, and the secondary sort (ascending) is on first name. The primary sort field must be to the left of the Secondary sort field in the query setup.N.B. you have 3 tables.Employee Last Name, First Name, Employee ID, Street Address, City, State, Zip, Date Hired, Us Citizen.Wage Data Employee ID, Wage Rate, Salaried.Hours Worked Employee ID, Week #, Hours.
![Page 188: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/188.jpg)
188
Field
Table
Sort
Show
Criteria
Or:
Use this table to solve the practice query.
![Page 189: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/189.jpg)
189
ANSWER TO PRACTICE QUERY #2
Field Last Name First Name Date Hired State
Table Employee Employee Employee Employee
Sort Ascending Ascending
Show
Criteria >#12/31/1999# =“DE”
Or:
![Page 190: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/190.jpg)
190
PRACTICE QUERIES
#6 Create a parameter query that shows the hours employees have worked. Have the parameter query prompt for the week number. The output headings should be Last Name, First Name, Week #, and hours. This query is for non-salaried employees only.N.B. you have 3 tables.Employee Last Name, First Name, Employee ID, Street Address, City, State, Zip, Date Hired, Us Citizen.Wage Data Employee ID, Wage Rate, Salaried.Hours Worked Employee ID, Week #, Hours.
Field
Table
Sort
Show
Criteria
Or:
![Page 191: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/191.jpg)
191
ANSWER TO PRACTICE QUERY #6
Field Last Name First Name Week # Hours Salaried
Table Employee Employee Hours Worked Hours Worked Wage Date
Sort
Show
Criteria [Enter Week #] =No
Or:
![Page 192: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/192.jpg)
192
CREATING REPORTS
Create basic ungrouped report:
Select the table create tab report
![Page 193: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/193.jpg)
193
CREATING REPORTS
Create Grouped Report:
Design tab Group and Sort button in the grouping and tools group.
Click the Add group buttonthen select the desired table (Employee ID)
![Page 194: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/194.jpg)
194
CREATING REPORTS
To total the hours worked by each employee:select the Hours column heading.Then on the Design tab totals button in the grouping and totals group Sum
Layout View
![Page 195: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/195.jpg)
195
CREATING REPORTS
Design tab Report view from the views group
Report view (final view)
![Page 196: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/196.jpg)
196
MAKING FORMS
First select the table or query you want to base the form on
then select Create tab form
When you create a form within another form this is called a
subform
The Subform is useful when the form is based on one or
more tables.
![Page 197: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/197.jpg)
197
MAKING FORMS
Step 1: select the table create Form
Take the form into design view.Design tab make sure that the use control wizard option is selected click the subform/subreport button.
![Page 198: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/198.jpg)
198
MAKING FORMS
Use your cursor to stretch out the box under your main menu. This dialog box will appear
Select use existing tables and Queries Next
![Page 199: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/199.jpg)
199
MAKING FORMS
Choose the required table from the list Next select choose from a list Next Finish.
![Page 200: CIS 300 EXCEL &ACCESS. AGENDA 1.Logical Functions. 2.Mathematical Functions. 3.Statistical Functions. 4.Lookup Functions. 5.Date Functions. 6.Time Functions](https://reader031.vdocuments.mx/reader031/viewer/2022012919/5697bfce1a28abf838ca9a27/html5/thumbnails/200.jpg)
200