Chap3.Data Extraction and Management
Chap3.Data Extraction and Management
Chap3.Data Extraction and Management
Computing in Business
Trang, Ha Thi Thu (Ph.D)
SEM - HUST
LIST OF CONTENTS
01 02 04 05
WORKING BASIC DATA DATA
WITH FUNCTION IN 03 ANALYSIS MODELLING
SPREADSHEET EXCEL DATA EXTRACTION
AND
MANAGEMENT
2
Chapter 3: DATA EXTRACTION & MANAGEMENT
3.1. DATABASE OVERVIEW
Method 2:
Home Editing Sort & Filter Sort A to Z or Sort Z to A
3.2. DATA ORDERING
Method 3:
Data Sort & Filter Custom Sort
The Sort dialog box will appear.
Choose the column you want to sort by
• Sort On: sorting by Values, Cell Color, Font
Color , Cell Icon
• Order: sort by order from A to Z or Z to A, or
Smallest to Largest or Largest to Smallest or by
Custom List
• Click Add Level to add another column to sort
by.
3.2. DATA ORDERING
Method 3:
Data Sort & Filter Custom Sort Order Custom List
3.2. DATA ORDERING
Method 4:
Data Sort & Filter Custom Sort Sort left to right
3.3. DATA FILTERING
Auto Filter:
Data Sort & Filter Filter or Home Editing Sort & Filter Filter.
3.3. DATA FILTERING
Auto Filter:
Data Sort & Filter Filter
Number and Text filter
3.3. DATA FILTERING
Auto Filter:
Data Sort & Filter Filter
Date filter
3.3. DATA FILTERING
Advance Filter:
Data Sort & Filter Advance Filter or Home Editing Sort & Filter
Advance Filter.
• List Range: enter the address of the cell range or select it directly in
the worksheet by dragging through its cells.
• Criteria range: enter the reference for the criteria range, including the
criteria labels.
• Copy to: enter the address of the cell that is to form the upper-left
corner of the copied and filtered records or click this cell directly in the
worksheet.
3.3. DATA FILTERING
Building a criteria
• Create conditions and join them using AND and OR logical operators: The idea is that
every condition inside a row is connected with an AND logic, whereas every row is
connected with an OR.
AND/OR rule
customer name must begin with "MegaMart" AND
AND rule: OR rule: product name must begin with "Cookies"
customer name must begin with "MegaMart" customer name must begin with "MegaMart" OR
AND product name must begin with "Cookies" OR product name must begin with "Cookies" product name must begin with "Cookies" AND total
AND total must be greater than 500 OR total must be greater than 500. must be greater than 500.
3.3. DATA FILTERING
Building a criteria
• Use calculated criteria when filtering or
querying your list.
• Enter a logical formula that Excel can
evaluate as either TRUE or FALSE in the
Criteria Range under a made-up name that
is not any field name used in the data list
(Note, is not a field name in the data list)
• To use this calculated criterion, remember
to place the logical formula under a name
that isn’t used as a field name in the data
list itself.
3.3. DATA FILTERING
Example
3.4. DATABASE FUNCTIONS
3.4. DATABASE FUNCTIONS
Note: DCOUNT function counts matching records in a database using criteria and an optional field.
When a field is provided, DCOUNT will only count numeric values in the field.
Use DCOUNTA to count numbers or text values in a given field.
3.4. DATABASE FUNCTIONS