Excel Tutorial Mac f19
Excel Tutorial Mac f19
Graphs are used in science for both data analysis and for presenting results. In this exercise, you
will use Excel to:
• Create a graph of Mass vs Volume for your data
• Add and format a title and axis labels
• Display a best-fit line and equation for your data
You are going to create a scatter plot for this graph, but you can see
that there are different types of graphs which you can make in Excel,
such as bar graphs and pie charts. Select the Scatter Graph Tool and
choose the ‘Scatter’ option as shown in the image to the right.
Your graph will show up as a separate window and should look
similar to the one below:
There are a number of problems with this graph. First of all, we did not include data for the x-
axis. Currently, the masses are plotted vs sample number. Also, there are no axis-labels, the title
is not descriptive and there is a legend which is unnecessary for this plot.
1
First, we will take care of the missing x-axis
information. Select any of the data points on the graph,
which will select all points in the data set. Right click
on one of the data points and choose ‘Select data’ from
the drop down menu. Using the dialogue box which
opens, you can edit the data plotted in the graph. Select
the data from the Legend Entries (Series) box on the left.
There are three entry boxes on the right: Name, X values
and Y values. We want to input the Volume data into
the X values box. By selecting the button highlighted in
the picture to the right, you can select the volume data
directly from your spreadsheet with your
mouse/trackpad. Click on the button at the right of the
entry box and you will be returned to the Select Data
Source dialogue box and hit OK. Your graph should
now have the correct values on the x-axis.
(The Layout Tab may not appear in all versions of Excel for Mac. If you don’t see a Layout Tab,
click on the Chart Design Tab and then Quick Layout in the upper left corner. You can select one
of the options in Quick Layouts and then edit your graph from there.)
Begin by choosing the Layout Tab to display the layout tools. The Layout Tab is not present
unless the graph is selected. If you would like to edit the scale or appearance of either the x or y-
axis, you can do so by selecting the ‘Axes’ button. To add axis-labels, select the ‘Axis Titles’ tool
and choose either the x (horizontal) or y (vertical) axis. At this point, add suitable titles for your x
and y-axis. Display the x-axis below the graph and the y-axis as a Rotated Title. Once the titles
appear on the graph, you can select them with your mouse and edit the text and font as you prefer.
Make sure you include the units within parentheses in your axis-labels.
Add or edit the title of the graph using the ‘Chart Title’ tool. Display an appropriate title above
the graph. Edit the font as you wish.
2
For graphs with multiple series of data, it makes sense to show a legend. For this graph, there is
only one series of data and the legend is unnecessary. You can delete the legend by selecting it
and simply pressing the delete button.
3
From the Formulas tab, choose ‘Insert Function’ and a menu box will open. In the search box,
type ‘LINEST’ and click ‘Insert Function’.
The LINEST menu needs both the values of y and x as well as some preferences. Select the ranges
of the y and x values.
For this exercise: set both Const and Stats to TRUE as shown below:
4
This is because LINEST is an array function that must be called by simultaneously
pressing CTRL-SHIFT-ENTER (or COMMAND-SHIFT-ENTER depending on your
version of Excel)! After you have filled out the categories above, click on the formula
that has been filled out in the fx bar from the home tab that is just above the lettered
columns. Then press (and hold) command, shift, and enter at the same time.
slope intercept