Docsity

Digital Skills Lab- First Year, Appunti di Controllo digitale

Toggle sidebar
bg1
Digital Skills Lab
LESSON 1 3/10/25
Spreadsheet
A set of cells organized according to rows and columns.
Data can be used to create charts; a spreadsheet can be used as a “model” and
use them for the evaluation of multiple scenarios like what-if analysis (used for
simulation) or what-best analysis (used for optimization).
Excel
• Structure: columns are identified through letters and rows are identified
by numbers.
• Reference: a combination of a letter identifying the column and a number
identifying the row
• Formula bar: where we can see the “real” content of the cell.
• The status bar: it shows us the active sheets where we can change sheets
without creating multiple files
Data type
• Numbers [home -> number -> click on the arrow]: we can change how
we visualise the cell
• Texts: data containing text not identified as date or number. By default, it
never changes the line, we can either expand the column or we can
merge the cells.
• Boolean values (true or false)
• Dates: Excel views them as numbers
• Formulas and functions: we need to write “=” and then just put
mathematical formulas it is important to remember the orders in
which it solves them:
1. Parentheses
2. Negation
3. Percentage
4. Exponentiation ^
5. Multiplication*
6. Division
pf3
pf4
pf5
pf8
pf9
pfa

Anteprima parziale del testo

Scarica Digital Skills Lab- First Year e più Appunti in PDF di Controllo digitale solo su Docsity!

Digital Skills Lab

LESSON 1 3/10/

Spreadsheet A set of cells organized according to rows and columns. Data can be used to create charts; a spreadsheet can be used as a “model” and use them for the evaluation of multiple scenarios like what-if analysis (used for simulation) or what-best analysis (used for optimization). Excel

  • Structure: columns are identified through letters and rows are identified by numbers.
  • Reference: a combination of a letter identifying the column and a number identifying the row
  • Formula bar: where we can see the “real” content of the cell.
  • The status bar: it shows us the active sheets where we can change sheets without creating multiple files Data type
  • Numbers [home - > number - > click on the arrow]: we can change how we visualise the cell
  • Texts : data containing text not identified as date or number. By default, it never changes the line, we can either expand the column or we can merge the cells.
  • Boolean values (true or false)
  • Dates: Excel views them as numbers
  • Formulas and functions : we need to write “=” and then just put mathematical formulas it is important to remember the orders in which it solves them:
  1. Parentheses
  2. Negation
  3. Percentage
  4. Exponentiation ^
  5. Multiplication*
  6. Division
  1. Addition and subtraction Errors
  • #DIV/0!: number divided by zero
  • #N/A, #N/D: one of the values in the formula is not available
  • #NAME?: enter a wrong name for the formula
  • #NUM!: the formula contains an invalid number
  • #REF!: invalid reference to a cell or range
  • #VALUE!: invalid argument, operator or cell reference References
  1. Relative: are related to the distance of the cell and not the physical position
  2. Absolute: preserves the physical position of the cell. They are identified through the sign “$” We can reference to intervals, input not uniform ranges of cells and intersection of two rages. Functions Predefined formulas and functions follow a very simple syntax (=FUNCTIONNAME AND THEN THE ARGUMENTS), it is possible, as well, to nest function into other function =SQRT(SUM(H4;)) Examples of formulas:
  • =SUM(interval): adds up the contents of the cells in the specified range
  • =AVERAGE(interval): calculates the arithmetic mean of the cells in the range
  • =MAX(interval): determines the maximum value contained in the cells of the specified range
  • =MIN(interval): determines the minimum value contained in the cells of the specified range
  • =ROUND(num; num_digits): “num” is the number you want to round to a given number of digits “num_digits”
  • =COUNTA(interval): counts the number of cells containing data in the specified range
  • COUNT.NUMBER(interval): counts the number of cells containing numeric values in the specified range

(optional): true or 1 if an approximate match is sufficient; false or 0 if an exact match is required. Text management functions

  • =MID(text; start; n_char): it rreturns the substring extracted from text, starting at the character in position start for num_chars characters. Its arguments are the text string that contains the characters you want to extract. Start is the position of the first character you want to extract from text. The value of start for the first character in text is 1, and so on. And n_char specifies the number of characters that the function should return from text.
  • =LEFT/RIGHT(text;[n_char])
  • =CONCAT/CONCATENA( text1 ; [ text2 ]; …)
  • =LEN/LUNGHEZZA( text )
  • =UPPER/MAIUSC(text)
  • =LOWER/MINUSC(text)
  • =PROPER/MAIUSC.INIZ(text) Date and time functions In Excel, dates are stored as integers and times as decimal numbers. In this way it is possible to add, subtract, or compare dates and times just like any other number. Times are stored as decimal numbers between 0 and 0.99999, where 0 is 00:00:00 and 0.99999 is 23:59:59. Dates and times can be combined to create numbers with an integer part and a decimal part (and vice versa).
  • The TODAY() function returns the serial number of the current date based on the system clock and does not include the time.
  • The NOW() function returns the serial number of the current date and time. NB: In both cases, if the cell format was General before entering the function, the format will switch to Date. Choose the Number format to display the serial value.
  • =DATE(year;month;day)
  • =DAY( num ) \ =MONTH( num ) \ =YEAR( num )
  • =DAYS ( end_date;start_date )
  • =WEEKDAY ( date;[type] )
  • =NETWORKDAYS( begin_date;end_ate;[holidays])

LESSON 3 17/10/

Random number generation

  • = RAND () Returns a random real value uniformly distributed greater than or equal to 0 and less than 1. A new random real number is returned each time the worksheet is recalculated or when pressing the F9 key.
  • =RANDBETWEEN/CASUALE.TRA( min ; max ) It is also possible to automatically generate sequences of realizations for random variables according to the most commonly used continuous or discrete probability distributions. It is necessary to add a component to Excel Cliccare su File → Options → Add-ins → Analysis ToolPak → Go → Check “Analysis ToolPak” → OK Matrix calculations and functions Array/Matrix Formulas are formulas whose result is not contained in a single cell, but spans multiple contiguous cells. When entering the formula, you must press CTRL+SHIFT+ENTER (in older Excel versions; pressing ENTER is often sufficient in newer versions). Once entered, Excel automatically encloses array formulas within curly brackets: { }. Basic Matrix Algebra Operation Excel Equivalent Sum between Matrices Standard cell addition (no special function needed, but can be done using array selection) Product with a Scalar Standard cell multiplication (no special function needed) Key Matrix Functions in Excel

It's primarily used when you know the final outcome you want and need to determine the single variable that will produce it. LESSON 4 24/10/ Treating Data Data in Excel is organized into collections of information:

  • Rows represent Records (individual entries).
  • Columns represent Fields (specific categories of data). Best Practices for Managing a List:
  • Use only one list per worksheet.
  • Field Labels must be in the first row.
  • Records must be contiguous (no empty rows below the first row).
  • Use the same format for all data within the same field. Sorting reorders the list based on the values in one or more fields. Sorting Type How to Apply Single Field Data menu - > Sort & Filter group - > Dedicated Sort Button Multiple Keys Data menu - > Sort & Filter group - > SORT button Non-Alphabetical Conventions Data menu - > Sort & Filter group - >SORT button - > Order column drop-down - > Custom List… (e.g., Days of the week, Months) The Filter tool is used to display only the subset of data that meets specific conditions, hiding the rest. It is useful when a list is large and only a part of its content is of interest. Select the list or an active cell within the list. Data menu
  • > Sort & Filter group - > FILTER button. Mechanism: Filters are automatically generated on all Field Labels. Excel can automatically calculate totals or averages for a portion of the data (often after sorting or filtering).

Charts The purpose of charts is to represent information graphically to make it engaging and easily understandable. To insert a chart, first select the data range (data series and categories), then go to Insert menu - > Charts group.

  • Data Series: A set of homogeneous data to be plotted.
  • Categories: The values or classes used to group or represent the data within a series (e.g., number of children, months). Chart Types and When to Use Them: Chart Type Primary Purpose Key Considerations Clustered Column (Histogram) To compare the data of 1– 4 data series of the same order of magnitude. Avoid if one series strongly dominates another (or use two axes). Avoid if more than four data series are involved. Stacked Column To compare series along with their composition, where the total size of each series is important. Categories are typically on the horizontal axis.

Pivot Tables A List is a data table organized into Records (rows) and Fields (columns). To extract meaningful information (like counts, sums, or averages) by correlating different fields, you need a Pivot Table. A Pivot Table is an interactive data organization tool that transforms a flat list into a two-dimensional matrix. Key Concepts

  • Structure: It's a matrix where the row and column headers are the Items of specific fields you choose from the source list.
  • Cells: The values in the matrix cells are the result of aggregation operations (e.g., sum, count, average) chosen by the user. Creating a Pivot Table
  1. Select a cell within the source data table.
  2. Go to the Insert menu - > Pivot Table.
  3. A window appears to select the source data range.
  4. Specify the layout (structure) of the table. Fundamental Areas (Layout) The structure of the Pivot Table is defined by dragging source column names into these three fundamental areas:
  5. Rows Area: Place the field(s) you want to use for vertical classification (e.g., Area, Product).
  6. Columns Area: Place the field(s) you want to use for horizontal classification.
  7. Data (Values) Area: Insert the data you want to aggregate and calculate (e.g., Number of Customers, Sales Amount). The default operation is often SUM or COUNT. Interactivity and Analysis Pivot Tables are interactive and can be easily modified even after creation:
  • Layout Editability: You can add, remove, or change fields in the Rows, Columns, and Values areas at any time by dragging the column names.
  • Filtering: Data displayed can be easily filtered using drop-down menus next to the row and column labels, similar to automatic filters.
  • Pivot Charts: You can generate a dynamic Pivot Chart from the table (Analyze menu - > Tools group - > Pivot Chart). These charts are also interactive, allowing easy changes to the represented data and aggregation functions. Complementary topics These tools enhance clarity, allow data interchange, and provide visual alerts based on data values. Defined Names are user-friendly labels assigned to individual cells or ranges. They instantly identify the cells they refer to, making complex formulas clearer and the worksheet more readable compared to impersonal cell references. How to Define: . Formulas menu - > Defined Names group - > Define Name button (Specify name and range). . Alternatively: Select the cell/range, click in the Name Box, and type the name. Excel allows data to be exchanged with other files, typically using text-based formats. Importing Data: o Data menu - > Get & Transform Data group - > Get Data. o Select the file type (e.g., From Text/CSV is the most common case for importing from .txt or .csv files). Exporting Data: o File menu->Save As. o Under Save as type, select either Text (Tab delimited) or CSV (Comma delimited). o CSV (Comma-Separated Values) is a standard text-based format for transferring data tables between spreadsheets and databases. Automatic Formatting (Format as Table): applies predefined, professional formats (styles) to a group of tabular data. How to Apply: Home menu - > Styles