IT File
IT File
Project File
On
Assignment 1
I. Pivot Table
A pivot table, which can be found in spreadsheet programs like Microsoft Excel, Google
Sheets, and others, is a tool for data summarization used in data processing and analysis.
Large volumes of data can be effectively sorted, aggregated, organized, and analysed by
users. The following are some essential characteristics and ideas of pivot tables:
1. Data Summarization: By computing totals, averages, counts, and other aggregate
operations, pivot tables can provide an overview of data.
2. Data Organization: To create a customizable and dynamic summary, users can drag and
drop fields to arrange data into rows, columns, and values.
3. Filtering and Sorting: To highlight particular subsets or patterns, pivot tables offer the
ability to filter and sort data.
4. Dynamic Adjustment: Real-time analysis is possible since the pivot table automatically
updates to reflect changes in the source data.
5. Grouping: Information can be arranged into groups based on numerical ranges or dates
(by year, quarter, or month).
6. Drill-Down: Users can access detailed underlying data by drilling down into
summarized data.
Practical Tips
Large datasets can be easily interpreted with the use of pivot tables, which can also provide
insights that may not be immediately apparent from raw data alone.
When utilizing Goal Seek and Solver in spreadsheet programs such as Microsoft Excel, users
can conduct what-if analysis and identify the best solutions for their data. Although both
tools are a component of Excel's data analysis package, their functions and purposes are
different.
Goal Seek
A straightforward tool called Goal Seek is used to determine the input value that a formula
needs to reach a particular goal or aim. It operates on a single variable at once.
Tips for Using Goal Seek:
1. Establish Your Formula: Ensure that a cell in your formula relies on the value of
another cell.
2. Open Objective Search: Navigate to the "Data" tab, pick "Goal Seek" under "What-If
Analysis."
3. Enter the settings:
Set Cell: The cell containing the formula you're trying to reach a particular value
for.
To Value: The desired outcome that the formula is supposed to achieve.
By Changing Cell: Excel will modify the value of this cell in order to reach the
desired result.
Solver
A more sophisticated tool for handling optimization issues with numerous variables and
constraints is a solver. It has the ability to maximize, minimize, or reach a particular value for a
formula.
1. Establish Your Model: Specify the variable cells (the cells the solver can alter), the
objective cell (the cell you wish to optimize), and any constraints.
2. Solver in Open Form: Select "Solver" from the "Data" tab (if it isn't visible, you might
need to enable the Solver add-in in Excel).
3. Establishing Parameters: The cell containing the formula that you wish to optimize
(maximize, minimize, or set to a specified value) is called the "Set Objective."
By Modifying Variable Cells: The objective can be optimized by the cells solver
by making adjustments.
Subject to Constraints: Include restrictions (such as limitations or certain
conditions) that limit the values of the variable cells.
Clear Objectives: Clearly define what you want to achieve (maximize profit, minimize
cost, reach a specific value).
Check Constraints: Ensure all relevant constraints are considered to get realistic
solutions.
Sensitivity Analysis: After finding a solution, analyse how changes in constraints or
parameters affect the outcome.
Iterate and Refine: Sometimes, refining your model or re-running the analysis with
adjusted parameters can provide better insights.
By using Solver, you can determine the optimal production quantities for each product to
maximize profit while adhering to constraints.
Assignment 2
I. Scenarios
Scenarios in Excel are part of the What-If Analysis tools that allow you to create and save
different sets of input values and see how they affect the results. This is particularly useful for
forecasting and decision-making, enabling you to compare multiple possible outcomes based on
varying assumptions or data points.
1. Multiple Sets of Values: Save and switch between different groups of input values to see
how they impact your results.
2. Scenario Manager: A dedicated interface to manage all your scenarios, add new ones,
edit existing ones, and generate summary reports.
3. Scenario Summary: Create a summary report that compares the results of all scenarios
side by side.
3. Add a Scenario:
o In the Scenario Manager dialog box, click "Add."
o Name your scenario (e.g., "Best Case," "Worst Case").
o Define the changing cells (the input cells that will have different values in each
scenario).
5. Show Scenarios:
o In the Scenario Manager, select a scenario and click "Show" to apply the values of
that scenario to the worksheet.
o Observe how the output cells change based on the different input values.
Practical Tips
Consistent Layout: Ensure your input and output cells are consistently laid out to
simplify scenario creation.
Meaningful Names: Name your scenarios clearly to reflect the situation they represent
(e.g., "High Growth," "Low Demand").
Document Assumptions: Keep notes on the assumptions behind each scenario to
provide context when reviewing results.
Scenarios in Excel are powerful for simulating different business conditions and their potential
impacts, helping you prepare for a range of possibilities.
Creating named scenarios in Excel is a straightforward process that enhances your ability to
perform what-if analyses effectively. Named scenarios allow you to easily switch between
different sets of input values and analyse their impact on your results. Here's a step-by-step guide
to creating named scenarios in Excel:
Before you create scenarios, ensure your worksheet is set up with input cells (variables) and
output cells (results dependent on the input cells).
3. Add a Scenario
1. After defining the changing cells, a dialog box will prompt you to enter the values for
these cells specific to the scenario.
2. Enter the values for the scenario:
o Best Case: Sales Volume = 1000, Price per Unit = 50, Cost per Unit = 30.
3. Click "OK."
1. In the Scenario Manager, select a scenario and click "Show" to apply the values of that
scenario to the worksheet.
2. Observe how the output cells change based on the different input values.
Using named scenarios in Excel is a powerful way to conduct what-if analyses, enabling better
decision-making and strategic planning.
Managing scenarios in Excel involves not just creating them but also viewing, editing, and
deleting them as needed. Here's a guide on how to show, edit, and delete scenarios in Excel using
the Scenario Manager.
Showing Scenarios
Editing Scenarios
Deleting Scenarios
Practical Tips
Backup: Before deleting scenarios, consider creating a backup of your workbook in case
you need to refer to the scenarios later.
Consistent Naming: Use clear and consistent names for your scenarios to easily identify
and manage them.
Regular Updates: Periodically review and update scenarios to ensure they reflect the
most current and relevant data.
Managing scenarios in Excel allows you to dynamically analyse different outcomes and make
informed decisions. By showing, editing, and deleting scenarios, you can keep your data analysis
organized and up-to-date.
Ensure your worksheet is set up with input cells (variables) and output cells (results dependent
on the input cells).
3. Add Scenarios
If you haven’t already, add the scenarios you want to compare. For this example, you might have
scenarios like:
Best Case
Worst Case
Most Likely
Organize Scenarios: Clearly name and document your scenarios for easy reference.
Use Descriptive Labels: Ensure your input and output cells have descriptive labels to
make the summary easy to understand.
Update Regularly: Keep your scenarios and summary reports updated with the latest
data to maintain their relevance.
Creating a Scenario Summary report in Excel is a powerful way to compare different what-if
scenarios and analyse their impact on your results. This helps in making more informed
decisions and understanding potential outcomes based on varying assumptions.
Assignment 3
Using Excel for validation and auditing can greatly enhance data integrity, accuracy and
compliance. Here’s how you can implement both validation and auditing within Excel:
Validation in Excel
Data Validation: Data validation in Excel helps ensure that users enter valid data into cells. This
can prevent errors and maintain data quality.
Auditing in Excel
Auditing Tools: Excel provides several tools to help audit and track changes in your
spreadsheet.
1. Track Changes:
o Enable Track Changes:
Go to the Review tab.
Click on Track Changes and select Highlight Changes.
Check the box for "Track changes while editing" and specify when to
highlight changes (e.g., since last save, all changes).
o Review Changes:
Use the Review Changes dialog to accept or reject changes.
2. Formula Auditing:
o Trace Precedents and Dependents:
Select a cell with a formula.
Go to the Formulas tab.
Use Trace Precedents to see which cells affect the current cell.
Use Trace Dependents to see which cells are affected by the current cell.
o Evaluate Formula:
Select the formula cell.
In the Formulas tab, click on Evaluate Formula to step through the
calculation process.
o Error Checking:
In the Formulas tab, click on Error Checking to identify and correct
formula errors.
3. Show Changes:
o In newer versions of Excel (Office 365), use the Show Changes feature under the
Review tab to see a history of changes made to the workbook.
By effectively using Excel's validation and auditing features, you can maintain high standards of
data quality and integrity, ensuring reliable and accurate data management.
II. Set, edit validation criteria for data entry in a cell range like: whole
number, decimal, list, date, time
To set and edit validation criteria for data entry in a cell range in Excel, you can follow these
steps for different types of validation such as whole number, decimal, list, date and time:
List Validation
2. Set Criteria:
o In the Source box, enter the list items separated by commas (e.g., Yes, No,
Maybe) or select a range of cells that contains the list items.
Date Validation
2. Set Criteria:
o Choose the criteria (e.g., between, not between, equal to, before, after).
o Enter the start and end dates if applicable.
Time Validation
2. Set Criteria:
o Choose the criteria (e.g., between, not between, equal to, before, after).
o Enter the start and end times if applicable.
3. Modify Criteria:
o Make necessary changes in the Settings tab.
o Update the Input Message and Error Alert tabs if needed.
4. Apply Changes:
o Click OK to save the changes.
By following these steps, you can effectively set and manage various data validation criteria in
Excel, ensuring that the data entered into your spreadsheet meets your specific requirements.
Trace Precedents
Trace Precedents are cells that directly or indirectly affect the value of the selected cell. These
are the input cells used in the formula of the selected cell.
2. Trace Precedents:
o Go to the Formulas tab on the Ribbon.
o In the Formula Auditing group, click on Trace Precedents.
4. Remove Arrows:
o To remove the tracing arrows, click on Remove Arrows in the Formula
Auditing group.
Trace Dependents
Trace Dependents are cells that depend on the value of the selected cell. These are the cells that
use the value of the selected cell in their formulas.
Steps to Trace Dependents:
2. Trace Dependents:
o Go to the Formulas tab on the Ribbon.
o In the Formula Auditing group, click on Trace Dependents.
4. Remove Arrows:
o To remove the tracing arrows, click on Remove Arrows in the Formula
Auditing group.
Complex Formulas: For complex spreadsheets, use the tracing features to understand
the flow of data and identify the source of errors.
Multi-Sheet References: If formulas reference cells in different sheets, use the tracing
arrows to navigate between sheets and understand cross-sheet dependencies.
Iterative Review: Use the Remove Arrows feature to clear tracing lines after each
analysis to keep your worksheet clean and uncluttered.
By using the Trace Precedents and Trace Dependents features in Excel, you can better
understand the relationships between cells, making it easier to audit and debug your
spreadsheets.
Assignment 4
I. Macros
Macros in Excel are a powerful tool that allows you to automate repetitive tasks, streamline
workflows, and enhance productivity. Here's a basic overview of macros, how to create them,
and some common uses:
What is a Macro?
A macro is a sequence of instructions that automate tasks in Excel. These instructions are written
in Visual Basic for Applications (VBA), a programming language integrated into Excel.
Recording a Macro:
Save Your Work: Always save your work before running a macro, as macros can make
significant changes quickly.
Backup Your Data: Regularly back up your data, especially when working with
complex macros.
Use Comments: Comment your code to make it easier to understand and maintain.
Test Thoroughly: Test macros on a small set of data before applying them to your entire
workbook.
Macros can greatly enhance your efficiency in Excel by automating repetitive tasks and allowing
you to focus on more complex analysis and decision-making.
Defining macro buttons in Excel is a great way to make your macros easily accessible with a
single click. Here’s how you can create and assign macro buttons:
1. Insert a Button:
o Go to the Developer tab.
o Click Insert in the Controls group.
o Choose Button (Form Control).
2. Draw the Button:
o Click on the worksheet where you want the button to be and drag to draw the
button.
3. Assign a Macro:
o After drawing the button, the Assign Macro dialog box appears.
o Select the macro you want to assign to the button.
o Click OK.
4. Edit the Button Text:
o Right-click the button and choose Edit Text.
o Type the desired text for your button (e.g., "Run Macro").
Moving and Resizing: You can click and drag to move the button, or click and drag the
edges to resize it.
Formatting: Right-click the button and choose Format Control to adjust the appearance,
such as colors, fonts, and borders.
Deleting: Right-click the button and choose Cut to remove it from the worksheet.
Label Clearly: Use descriptive text for your buttons to indicate what each macro does.
Place Strategically: Position buttons in convenient locations on your worksheet for easy
access.
Group Related Buttons: If you have multiple macro buttons, consider grouping them
together or placing them in a logical sequence.
Creating macro buttons enhances usability, making it straightforward to execute your macros and
streamline your workflow.
Assignment 5
I. Creating and formatting charts
Creating and formatting charts in Excel can help you visualize data effectively. Here’s a step-by-
step guide to creating and formatting charts:
Creating Charts
Formatting Charts
Step 5: Legend
Step 6: Gridlines
1. Adjust Gridlines:
o Go to Chart Tools Design > Add Chart Element > Gridlines, and choose which
gridlines to display (e.g., Primary Major Horizontal, Primary Major Vertical).
Advanced Formatting
1. Change Colors:
o Go to Chart Tools Design > Change Colors, and select a different color palette for
your chart.
Creating and formatting charts in Excel can significantly enhance your data presentation, making
it easier to understand and interpret information.
Understanding the different types of charts available in Excel can help you choose the best way
to visualize your data. Here’s an overview of common chart types and when to use them:
1. Column Charts
2. Bar Charts
3. Line Charts
4. Pie Charts
Description: Pie charts display data as slices of a circle, with each slice representing a
proportion of the whole.
Best For: Showing the relative proportions of different categories.
Example: Market share of different companies.
5. Area Charts
Description: Area charts are similar to line charts but with the area below the line filled
in.
Best For: Showing trends over time with an emphasis on the magnitude of change.
Example: Revenue growth over several years.
6. Scatter Charts
7. Bubble Charts
Description: Bubble charts are a variation of scatter charts where the size of the bubbles
represents a third variable.
Best For: Comparing three variables.
Example: Sales revenue (X-axis), profit margin (Y-axis), and market size (bubble size).
8. Stock Charts
Description: Stock charts are specialized charts for showing stock prices and other
financial data.
Best For: Visualizing stock market data such as opening, closing, high, and low prices.
Example: Daily stock prices for a month.
9. Surface Charts
Description: Surface charts display data in a 3D surface format.
Best For: Finding the best combinations between two sets of data.
Example: Performance metrics across different departments and time periods.
Description: Radar charts display data values relative to a central point, with each
category represented by a spoke.
Best For: Comparing multiple variables for a single entity.
Example: Performance evaluation across different skill areas.
Description: Combo charts combine two or more chart types in a single chart.
Best For: Highlighting different data series that have different data types or scales.
Example: Comparing sales volume (column) and average price (line).
Consider the Data: Think about what you want to highlight. Trends over time?
Proportions? Comparisons?
Audience Understanding: Choose a chart type that will be easily understood by your
audience.
Simplicity: Avoid cluttering the chart with too much information. Simpler charts are
often more effective.
Highlight Key Insights: Ensure the chosen chart type effectively communicates the key
insights from your data.
Understanding these chart types and their best use cases will help you effectively present your
data and insights in Excel.
Column Chart Vertical bars Compare data Short category Monthly sales
across categories names or time- data
series
Bar Chat Horizontal bars Compare data Long category Survey results by
across categories names age group
Line Chart Data points Survey results by Continuous data Stock prices over
connected by age group a year
lines
Area Chart Filled area Emphasize Volume or Revenue growth
bellow lines magnitude over quantity changes
time
Pie Chart Circular, divided Show Simple, single- Market share
into slices proportions of a series data
whole
Doughnut Chart Circular with a Show Multiple related Market share by
hole proportions with datasets region
multiple series
Scatter Chart Data point on X Show Correlations and Advertising spends
and Y axis relationship distributions vs sales
between
variables
Bubble Chart Size of bubbles Compare three Correlations with Correlations with
represents values variables an additional an additional
dimension dimension
Stock Chart Specialized on Show detailed Financial market Daily stock prices
financial data stock price data
movements
Radar Chart Values related to Compare multiple Performance Employee
a central point variables evaluations performance
types
IV. Create combination charts like: column and line, column and area
Creating combination charts in Excel, such as column and line charts or column and area charts,
allows you to compare different data series that may have different scales or types. Here’s how
you can create these combination charts:
Final Touches
By following these steps, you can create effective combination charts in Excel that help visualize
data in a more comprehensive way, allowing for easier comparison of different data series.
Assignment 6
I. Column Chart
As one of the most common charts, there are a range of scenarios where they are excellent at
conveying information in a logical, clear manner. Column charts are best used when:
The data has a small number of discrete categories. Each of those categories has a single
value.
The chart needs to compare the values for each category.
The goal is to make the information as easy to understand as possible.
In business settings, column charts are regularly used in reporting. Whether the data is sales
information, KPI outcomes, or a customer analysis, the column chart is ideal. They are far more
flexible in their use than a pie chart, for instance, and present more data and categories.
A bar chart or bar graph is a chart or graph that presents categorical data with rectangular
bars with heights or lengths proportional to the values that they represent. The bars can be
plotted vertically or horizontally. A vertical bar chart is sometimes called a column chart.
A bar graph shows comparisons among discrete categories. One axis of the chart shows the
specific categories being compared, and the other axis represents a measured value. Some bar
graphs present bars clustered in groups of more than one, showing the values of more than one
measured variable.
III. Line Chart.
A line chart (aka line plot, line graph) uses points connected by line segments from left to right
to demonstrate changes in value. The horizontal axis depicts a continuous progression, often that
of time, while the vertical axis reports values for a metric of interest across that progression.
The line chart above shows the exchange rate between two fictional currencies over a six-month
period. As time progresses from left to right, points connect the daily exchange rates. We can
read from the general slope of the line and its vertical positions that the rate improved from about
0.75 to 0.78 between March and early April, then fell gradually to about 0.765 in late May and
June.
You will use a line chart when you want to emphasize changes in values for one variable (plotted
on the vertical axis) for continuous values of a second variable (plotted on the horizontal). This
emphasis on patterns of change is sold by line segments moving consistently from left to right
and observing the slopes of the lines moving up or down.
Horizontal Axis
Vertical Axis
Frequency Polygon
IV. Pie Chart
A pie chart is a type of graph representing data in a circular form, with each slice of the circle
representing a fraction or proportionate part of the whole. All slices of the pie add up to make the
whole equalling 100 percent and 360 degrees.
The pie chart represents data in a pictorial form, making it easier to visualize and understand the
proportionate parts or composition of a data set. It’s also sometimes referred to as a circle chart.
The slices of the pie are often represented with percentages, signifying their contribution to the
whole. This isn’t mandatory; a pie chart can be drawn by directly converting data values into
degrees. However, converting into percentages makes data more comprehensible for an average
reader.
What is a Pie Chart Used For?
Compared to several other types of charts and graphs, pie charts have fairly limited use-case
applications. You can only use a pie chart to represent the parts of a whole. In other words, the
data and categories must be subsets of a larger data group of a single category to be denoted via a
pie chart.
A pie chart is used to:
Show parts-to-whole relationship
Demonstrate each element’s contribution to the whole
Compare the contribution of different categories to the whole
A pie chart helps us better visualize and comprehend categorical and numerical data that can
otherwise be confusing or difficult to understand.
V. XY Scatter Chart
XY (Scatter) charts plot two groups of numbers as one series of XY coordinates. XY charts
show the relatedness of two sets of data. If the data points cluster or bunch in a certain
configuration - for example, if they tend to form the shape of a line -- that indicates that the two
sets of data are correlated in some way.
Each marker represents a data point. Each data point must have two pieces of data related to it:
its X coordinate and its Y coordinate.
XY charts can have more than one series. Data points in one series all have the same marker
style. By default, Formula One for Java connects the markers in a series with a line.
XY charts should be used when you want to compare two sets of values for each series. If one
of the two sets of data falls into categories in which you have one entry per category (for
example, a statistic that happens every year or for every age group), that data is better served
appearing as categories on a different type of chart.
An area chart combines the line chart and bar chart to show how one or more groups’ numeric
values change over the progression of a second variable, typically that of time. An area chart is
distinguished from a line chart by the addition of shading between lines and a baseline, like in a
bar chart.
This area chart shows the number of active users for a fictional web-based company, computed
by month. Values for each month can be measured not just from the vertical position of the top
of the shape, but also the colored height between the baseline and top. In this chart, we can see
that the number of active users has about doubled from November 2019 to February 2020, and
that the rate of user gains has increased over time.
When you should use an area chart
While the example above only plots a single line with shaded area, an area chart is typically used
with multiple lines to make a comparison between groups (aka series) or to show how a whole is
divided into component parts. This leads to two different types of area chart, one for each use
case.
Surface Chart (3D Surface Plot) displays a set of three-dimensional data as a mesh surface. It
is useful when you need to find the optimum combinations between two sets of data. The colors
and patterns in Surface Charts indicate the areas that are in the same range of values by
analogy with a topographic map. A typical 3D Surface Plot is constructed from three variables:
X, Y, and Z. Two of them are independent, located on the horizontal axes. The other is
dependent, shown along the vertical axis. Hence, Surface Charts represent a functional
relationship between a designated dependent variable and two independent ones.
VII. Bubble Chart
A bubble chart (aka bubble plot) is an extension of the scatter plot used to look at relationships
between three numeric variables. Each dot in a bubble chart corresponds with a single data point,
and the variables’ values for each point are indicated by horizontal position, vertical position,
and dot size.
The example bubble chart above depicts the points scored per game by teams in the regular
season of the National Football League in 2018. Each bubble represents a single team’s
performance. A bubble’s horizontal position notes the average points scored against that team
each game, and the vertical position notes the average points scored by that team each game.
Each bubble’s size indicates the number of wins earned by each team, with larger bubbles
corresponding to higher win rates. (Ties are worth half a win.)
From the plot, we can see that there is a lot more variance in points scored by teams than by their
opponents, but there’s no particularly strong correlation between the two. Instead, the main
takeaway from the plot comes from the third variable: as teams score more points and allow
fewer points from their opponents (towards the upper left), they will earn more victories, as one
might naturally expect.
The name “bubble chart” is sometimes used to refer to a different chart type, the packed circle
chart. This is a completely different chart type that will be discussed briefly towards the end of
the article.
Like the scatter plot, a bubble chart is primarily used to depict and show relationships between
numeric variables. However, the addition of marker size as a dimension allows for the
comparison between three variables rather than just two. In a single bubble chart, we can make
three different pairwise comparisons (X vs. Y, Y vs. Z, X vs. Z), as well as an overall three-way
comparison. It would require multiple two-variable scatter plots in order to gain the same
number of insights; even then, inferring a three-way relationship between data points will not be
as direct as in a bubble chart.