SlideShare a Scribd company logo
Dealing with Data in Excel 2010
Excel provides the ability to do computations and graphing of data. Here we provide the basics and
some advanced capabilities available in Excel that are useful for dealing with scientific data.
Graphing Data
Let’s consider graphing the data given below. Go to cell A5 click and hold while highlighting to cell B12.
Then go to the Insert
ribbon and click on Scatter
to bring down the choices.
If you move the cursor
around on the choices, an
explanation appears.
In Excel, the scatter chart is
the ONLY graph where the
x-axis is treated as a
numerical value. (On other
charts the x-axis is treated
as a category, even if
numbers are entered).

Most scientific plots of
data, plot only the data
points (“Scatter with
only markers”). It is
usually bad practice to
“connect the dots” with
lines. When you click
on the scatter type, the
graph should appear as
seen on the screenshot
below. Notice the data
is highlighted (purple is
x-axis and blue is the yaxis) and that the Chart
Tools appear on the
ribbon bar.

Dealing with Data in Excel 2010 – February 2012

Sinex & Wong

Page 1
One instance where you may want to use a different type of scatter plot is if you have non-linear data
such as absorption spectra: in such cases using the “Scatter/ smooth lines” option may be appropriate.
Click on the Layout ribbon (under Chart Tools, NOT “Chart Layouts” on the Design ribbon) as this is the
most useful ribbon for charts. Here you can remove the gridlines, label the x and y axes, add a title, and
maneuver the legend if needed. The Chart tools only appear if the graph is highlighted – click on the
graph to get them. Clean up your graph at this point!
One thing you cannot do in the layout section is
change the text of the legend. To do this, you
must rename the data series: right click
anywhere in the chart and click Select Data…
and the Select Data Source menu pops up.
Select the series of data you wish to rename
(Series 1 here) and click Edit. You can then
rename the data series. This is handy if you
have more than one data set on the graph and
need to show a legend.
You can also switch the x and y axes, or select a new set of data
by clicking the value box next to the series X and Y values and
highlighting the appropriate data.

Adding a Regression Line or Trendline
Regression lines are lines of best fit through the
data. Excel can do a variety of fits as you will see.
Click on Trendline and drop the menu down. Go
to More Trendline Options… at the bottom and
click on it.

Dealing with Data in Excel 2010 – February 2012

Sinex & Wong

Page 2
This will get you the Format Trendline pop-up menu. You may need to move it off the graph. This menu
will default to a linear regression which you can change by clicking on the other types of regression fits.

You can view these on the graph. Since in most cases we want to know the equation of the model
selected and how well it fits the data, go to the bottom of this menu and select Display Equation on
chart and Display R-squared value on chart.
R-squared is the coefficient of determination and a measure of the goodness-of-fit of the equation to
the data. A perfect fit has a value of 1.000. In simple terms, R-squared*100 tells you the percentage of
the variation of the y-variable due to the variation of the x-variable.
How does linear regression work? Linear regression minimizes the sum of the square of the deviations,
where the deviation is the difference between the calculated y-value minus the y-data value. This is
shown visually with user eye-balling a best-fit line using an interactive Excel spreadsheet at:
http://academic.pgcc.edu/~ssinex/regression.xls
Users can also explore the difference between interpolation and extrapolation with this spreadsheet:
http://academic.pgcc.edu/~ssinex/interpol_extrapol.xls

Dealing with Data in Excel 2010 – February 2012

Sinex & Wong

Page 3
Simple Computations and Formatting Data
Transformation of data for analysis is very common. A large number of functions are available in the on
the Formula ribbon (click anywhere in the spreadsheet outside of a chart, then click Formula) using the
Function Library.

The More Functions button includes many common statistical functions such as standard deviation,
median, plus others.
You can type the function directly into a cell, or you can select it from the library.
Any function will have a specific syntax that will appear when the function is
selected. Hence to use average, you place the range of cells to average.

If you need to calculate a quantity down a column of data, click on the first cell and go to the lower right
corner (note the cursor changes) and click and hold while dragging down the column.

Dealing with Data in Excel 2010 – February 2012

Sinex & Wong

Page 4
All calculations must start with an equal sign, “=” in the cell. To multiply numbers use the asterisk such
as 3*2. To raise a number to a power: 52 is 5^2. Many of the functions need only a cell reference to
deliver the quantity.

If you want to enter a constant in a separate cell (such as C2) to
use in a computation, you will want to change its format to $C$2
(This is an absolute reference.) in the calculation cell and hence it
will not change on dragging the calculation down the column.
Here we want y =kx.

To format data in cells, click on a cell or
highlight a column of data and then right
click and select Format Cells…

Dealing with Data in Excel 2010 – February 2012

Sinex & Wong

Page 5
When the Format Cells menu pops up, select the Number tab. Here you can select Number and set the
number of decimal places. You can select Scientific is you want to use scientific notation. In Excel the
number 2.0 x 105 will show up as 2.0E5.

For more information on computational spreadsheets, see the following handout.
http://academic.pgcc.edu/~ssinex/excelets/Computational_Spreadsheets.pdf

Error Bars on Graphs
Error bars are a method of
expressing the uncertainty in
data on a graph. Adding error
bars to a graph is done by
selecting the graph, then going
to the Layout ribbon, selecting
the Error Bars menu and then
the More Error Bars Option…

Dealing with Data in Excel 2010 – February 2012

Sinex & Wong

Page 6
Both horizontal and vertical error bars appear with a fixed value. The vertical or y error bars opens up
first as seen on the screenshot below of the Format Error Bars pop-up menu. To set the horizontal or x
error bar click on the horizontal bars on the graph. If you highlight the x error bars and then hit delete,
you can remove them.

We can add custom error amounts such as plus and minus one standard deviation. Here we are using
the standard deviation of the three values, so the error bar is plus/minus one standard deviation around
the mean value. Select the Custom at the bottom of the Format Error Bar menu and the Custom Error
Bars menu pops up. Click in the Positive Error Value box and then highlight the column of data and then
repeat for the Negative Error Value.

Dealing with Data in Excel 2010 – February 2012

Sinex & Wong

Page 7
Standard Error of Slope and Y-intercept for Linear Regression with Confidence Intervals
This is a prebuilt spreadsheet to which you can add data that uses LINEST. This spreadsheet calculates
the standard error of the slope and y-intercept plus plots confidence intervals on the graph.
http://academic.pgcc.edu/~ssinex/excelets/regression_2.xls

Putting a Excel Graph into a Word or PowerPoint Document
The easiest way is to click on a graph and then right click and select copy in Excel. Move to Word or
PowerPoint and paste. You can drag a corner to resize. An alternate method is to use the Snipping Tool
is Windows 7 or your favor screen capture software to capture the graph as an image and save as gif or
jpeg and name the file.
Here is an Excel graph with y-variable error bars on the data points (markers), axes labeled, title, and a
linear regression line and equation. Try to keep the colors simple and all items readable on printing
especially if using a black ink printer. This is what a graph should look like!!!

Dealing with Data in Excel 2010 – February 2012

Sinex & Wong

Page 8

More Related Content

What's hot

MS Excel Pivot Table Reports & Charts
MS Excel Pivot Table Reports & ChartsMS Excel Pivot Table Reports & Charts
MS Excel Pivot Table Reports & Charts
dnbakhan
 
Basic Ms excel
Basic Ms excelBasic Ms excel
Basic Ms excel
maharzahid0
 
Advanced Excel Demo
Advanced Excel DemoAdvanced Excel Demo
Advanced Excel Demo
Pecific University
 
Pivot table
Pivot tablePivot table
Pivot table
Vijay Perepa
 
Excel Basic Knowledge
Excel Basic KnowledgeExcel Basic Knowledge
Excel Basic Knowledge
Md. Mujahiduzzaman
 
Pivot Table | Statistics
Pivot Table | StatisticsPivot Table | Statistics
Pivot Table | Statistics
Transweb Global Inc
 
50 MS Excel Tips and Tricks
50 MS Excel Tips and Tricks 50 MS Excel Tips and Tricks
50 MS Excel Tips and Tricks
BurCom Consulting Ltd.
 
2016 ms excel_bm
2016 ms excel_bm2016 ms excel_bm
2016 ms excel_bm
Rajesh Math
 
Ppt on pivot table
Ppt on pivot tablePpt on pivot table
Ppt on pivot table
Hemendra Vyas
 
Microsoft Excel Basics
Microsoft Excel BasicsMicrosoft Excel Basics
Microsoft Excel Basics
Compudon
 
Common MS Excel and MS Excel 2013 useful tricks. By Ashot Engibaryan
Common MS Excel and MS Excel 2013 useful tricks. By Ashot EngibaryanCommon MS Excel and MS Excel 2013 useful tricks. By Ashot Engibaryan
Common MS Excel and MS Excel 2013 useful tricks. By Ashot Engibaryan
Ashot Engibaryan
 
Excel Crash Course: Pivot Tables
Excel Crash Course: Pivot TablesExcel Crash Course: Pivot Tables
Excel Crash Course: Pivot TablesBobby Jones
 
Creating graphs in excel
Creating graphs in excelCreating graphs in excel
Creating graphs in excel
clynnc
 
Making a Chart Using Excel
Making a Chart Using ExcelMaking a Chart Using Excel
Making a Chart Using Excel
rebelbrindley
 
Creating a graph in excel
Creating a graph in excelCreating a graph in excel
Creating a graph in excel
orthms
 
Lesson 11 working with charts
Lesson 11   working with chartsLesson 11   working with charts
Lesson 11 working with chartsguevarra_2000
 

What's hot (20)

MS Excel Pivot Table Reports & Charts
MS Excel Pivot Table Reports & ChartsMS Excel Pivot Table Reports & Charts
MS Excel Pivot Table Reports & Charts
 
Basic Ms excel
Basic Ms excelBasic Ms excel
Basic Ms excel
 
Excel2002
Excel2002Excel2002
Excel2002
 
Advanced Excel Demo
Advanced Excel DemoAdvanced Excel Demo
Advanced Excel Demo
 
Pivot table
Pivot tablePivot table
Pivot table
 
Excel Basic Knowledge
Excel Basic KnowledgeExcel Basic Knowledge
Excel Basic Knowledge
 
Pivot Table | Statistics
Pivot Table | StatisticsPivot Table | Statistics
Pivot Table | Statistics
 
50 MS Excel Tips and Tricks
50 MS Excel Tips and Tricks 50 MS Excel Tips and Tricks
50 MS Excel Tips and Tricks
 
2016 ms excel_bm
2016 ms excel_bm2016 ms excel_bm
2016 ms excel_bm
 
stats
statsstats
stats
 
Ppt on pivot table
Ppt on pivot tablePpt on pivot table
Ppt on pivot table
 
Pivot Tables
Pivot TablesPivot Tables
Pivot Tables
 
Microsoft Excel Basics
Microsoft Excel BasicsMicrosoft Excel Basics
Microsoft Excel Basics
 
Common MS Excel and MS Excel 2013 useful tricks. By Ashot Engibaryan
Common MS Excel and MS Excel 2013 useful tricks. By Ashot EngibaryanCommon MS Excel and MS Excel 2013 useful tricks. By Ashot Engibaryan
Common MS Excel and MS Excel 2013 useful tricks. By Ashot Engibaryan
 
Excel Crash Course: Pivot Tables
Excel Crash Course: Pivot TablesExcel Crash Course: Pivot Tables
Excel Crash Course: Pivot Tables
 
Creating graphs in excel
Creating graphs in excelCreating graphs in excel
Creating graphs in excel
 
Making a Chart Using Excel
Making a Chart Using ExcelMaking a Chart Using Excel
Making a Chart Using Excel
 
Creating a graph in excel
Creating a graph in excelCreating a graph in excel
Creating a graph in excel
 
Introduction of ms excel
Introduction of ms excelIntroduction of ms excel
Introduction of ms excel
 
Lesson 11 working with charts
Lesson 11   working with chartsLesson 11   working with charts
Lesson 11 working with charts
 

Viewers also liked

#24進行表
#24進行表#24進行表
#24進行表FMBIRD
 
Quon mai
Quon maiQuon mai
Quon mai
FMBIRD
 
D:\manual de identidad corporativa gar bel
D:\manual de identidad corporativa gar belD:\manual de identidad corporativa gar bel
D:\manual de identidad corporativa gar belvaleria
 
Motores de videojuegos
Motores de videojuegosMotores de videojuegos
Motores de videojuegosJuan Felipe
 
Fundamentals of heat exchangers
Fundamentals of heat exchangersFundamentals of heat exchangers
Fundamentals of heat exchangersdaisydhei
 
MLB Arbitration
MLB ArbitrationMLB Arbitration
MLB Arbitration
tonyguerrero88
 
Montajes destacados 2013
Montajes destacados 2013Montajes destacados 2013
Montajes destacados 2013Juan Felipe
 
Spx cooling tower presentation
Spx cooling tower presentationSpx cooling tower presentation
Spx cooling tower presentationdaisydhei
 
RUS Holding
RUS HoldingRUS Holding
RUS Holding
irenelap
 
Presentasi bisnis-biogano
Presentasi bisnis-bioganoPresentasi bisnis-biogano
Presentasi bisnis-biogano
sansyarif
 
Quiz UAS Struktur Data
Quiz UAS Struktur DataQuiz UAS Struktur Data
Quiz UAS Struktur Data
sansyarif
 
Destacados 2015 casa básica
Destacados 2015 casa básicaDestacados 2015 casa básica
Destacados 2015 casa básica
Juan Felipe
 
1.2 power plant module2 batch3
1.2 power plant module2 batch31.2 power plant module2 batch3
1.2 power plant module2 batch3daisydhei
 
Muestra diseño editorial
Muestra diseño editorialMuestra diseño editorial
Muestra diseño editorialJuan Felipe
 
Examen ofimatica entrada
Examen ofimatica entradaExamen ofimatica entrada
Examen ofimatica entrada
carlosfelipealcan
 

Viewers also liked (17)

#24進行表
#24進行表#24進行表
#24進行表
 
Quon mai
Quon maiQuon mai
Quon mai
 
D:\manual de identidad corporativa gar bel
D:\manual de identidad corporativa gar belD:\manual de identidad corporativa gar bel
D:\manual de identidad corporativa gar bel
 
Motores de videojuegos
Motores de videojuegosMotores de videojuegos
Motores de videojuegos
 
Fundamentals of heat exchangers
Fundamentals of heat exchangersFundamentals of heat exchangers
Fundamentals of heat exchangers
 
Grsb xarxa calent-pam-
Grsb xarxa calent-pam-Grsb xarxa calent-pam-
Grsb xarxa calent-pam-
 
MLB Arbitration
MLB ArbitrationMLB Arbitration
MLB Arbitration
 
Montajes destacados 2013
Montajes destacados 2013Montajes destacados 2013
Montajes destacados 2013
 
Spx cooling tower presentation
Spx cooling tower presentationSpx cooling tower presentation
Spx cooling tower presentation
 
RUS Holding
RUS HoldingRUS Holding
RUS Holding
 
Presentasi bisnis-biogano
Presentasi bisnis-bioganoPresentasi bisnis-biogano
Presentasi bisnis-biogano
 
No SQL
No SQL No SQL
No SQL
 
Quiz UAS Struktur Data
Quiz UAS Struktur DataQuiz UAS Struktur Data
Quiz UAS Struktur Data
 
Destacados 2015 casa básica
Destacados 2015 casa básicaDestacados 2015 casa básica
Destacados 2015 casa básica
 
1.2 power plant module2 batch3
1.2 power plant module2 batch31.2 power plant module2 batch3
1.2 power plant module2 batch3
 
Muestra diseño editorial
Muestra diseño editorialMuestra diseño editorial
Muestra diseño editorial
 
Examen ofimatica entrada
Examen ofimatica entradaExamen ofimatica entrada
Examen ofimatica entrada
 

Similar to Dealing with data-excel

Regression analysis in excel
Regression analysis in excelRegression analysis in excel
Regression analysis in excel
Thilina Rathnayaka
 
computer applications in business unit 3
computer applications in business unit 3computer applications in business unit 3
computer applications in business unit 3
Dr T.Sivakami
 
Lesson11 working with charts
Lesson11 working with chartsLesson11 working with charts
Lesson11 working with chartsricsanmae
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
AbramMartino96
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
AbramMartino96
 
Homework Assignment 9 Edited on 10272014 Due by Wednes.docx
Homework Assignment 9 Edited on 10272014 Due by Wednes.docxHomework Assignment 9 Edited on 10272014 Due by Wednes.docx
Homework Assignment 9 Edited on 10272014 Due by Wednes.docx
adampcarr67227
 
Excel Graphs Charts
Excel Graphs ChartsExcel Graphs Charts
Excel Graphs Chartssimply_coool
 
Print16
Print16Print16
Print16
Hassan Samoon
 
Lesson 10 working with charts
Lesson 10   working with chartsLesson 10   working with charts
Lesson 10 working with chartsguevarra_2000
 
DATA SCIENCE TRAINING IN HYDERABAD
DATA SCIENCE TRAINING IN HYDERABADDATA SCIENCE TRAINING IN HYDERABAD
DATA SCIENCE TRAINING IN HYDERABAD
RS Trainings
 
Creating & Editing Charts In Microsoft Excel 2003
Creating & Editing Charts In Microsoft Excel 2003Creating & Editing Charts In Microsoft Excel 2003
Creating & Editing Charts In Microsoft Excel 2003bud_00
 
Introduction to Business analytics unit3
Introduction to Business analytics unit3Introduction to Business analytics unit3
Introduction to Business analytics unit3
jayarellirs
 
MS EXCEL INTRODUCTION DISCUSSING ALL FEATURES.ppt
MS EXCEL INTRODUCTION DISCUSSING ALL FEATURES.pptMS EXCEL INTRODUCTION DISCUSSING ALL FEATURES.ppt
MS EXCEL INTRODUCTION DISCUSSING ALL FEATURES.ppt
pkm16499
 
Exp2003 exl ppt_03
Exp2003 exl ppt_03Exp2003 exl ppt_03
Exp2003 exl ppt_03
lonetree
 
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.pptCorrelations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
JoshuaCasas7
 
Lab 4 Excel Basics.ppt
Lab 4 Excel Basics.pptLab 4 Excel Basics.ppt
Lab 4 Excel Basics.ppt
CristianAlfonso20
 
Lab 4 excel basics
Lab 4 excel basicsLab 4 excel basics
Lab 4 excel basics
Prashant07061995
 

Similar to Dealing with data-excel (20)

Regression analysis in excel
Regression analysis in excelRegression analysis in excel
Regression analysis in excel
 
computer applications in business unit 3
computer applications in business unit 3computer applications in business unit 3
computer applications in business unit 3
 
Lesson11 working with charts
Lesson11 working with chartsLesson11 working with charts
Lesson11 working with charts
 
Tech training workshop 3 final 090810
Tech training   workshop 3 final 090810Tech training   workshop 3 final 090810
Tech training workshop 3 final 090810
 
Ms excel ppt
Ms excel pptMs excel ppt
Ms excel ppt
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
 
Homework Assignment 9 Edited on 10272014 Due by Wednes.docx
Homework Assignment 9 Edited on 10272014 Due by Wednes.docxHomework Assignment 9 Edited on 10272014 Due by Wednes.docx
Homework Assignment 9 Edited on 10272014 Due by Wednes.docx
 
Advanced Models
Advanced ModelsAdvanced Models
Advanced Models
 
Excel Graphs Charts
Excel Graphs ChartsExcel Graphs Charts
Excel Graphs Charts
 
Print16
Print16Print16
Print16
 
Lesson 10 working with charts
Lesson 10   working with chartsLesson 10   working with charts
Lesson 10 working with charts
 
DATA SCIENCE TRAINING IN HYDERABAD
DATA SCIENCE TRAINING IN HYDERABADDATA SCIENCE TRAINING IN HYDERABAD
DATA SCIENCE TRAINING IN HYDERABAD
 
Creating & Editing Charts In Microsoft Excel 2003
Creating & Editing Charts In Microsoft Excel 2003Creating & Editing Charts In Microsoft Excel 2003
Creating & Editing Charts In Microsoft Excel 2003
 
Introduction to Business analytics unit3
Introduction to Business analytics unit3Introduction to Business analytics unit3
Introduction to Business analytics unit3
 
MS EXCEL INTRODUCTION DISCUSSING ALL FEATURES.ppt
MS EXCEL INTRODUCTION DISCUSSING ALL FEATURES.pptMS EXCEL INTRODUCTION DISCUSSING ALL FEATURES.ppt
MS EXCEL INTRODUCTION DISCUSSING ALL FEATURES.ppt
 
Exp2003 exl ppt_03
Exp2003 exl ppt_03Exp2003 exl ppt_03
Exp2003 exl ppt_03
 
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.pptCorrelations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
 
Lab 4 Excel Basics.ppt
Lab 4 Excel Basics.pptLab 4 Excel Basics.ppt
Lab 4 Excel Basics.ppt
 
Lab 4 excel basics
Lab 4 excel basicsLab 4 excel basics
Lab 4 excel basics
 

More from pacevedoma Acemaci

Interpretaciones del-mensajede silo
Interpretaciones del-mensajede siloInterpretaciones del-mensajede silo
Interpretaciones del-mensajede silo
pacevedoma Acemaci
 
La muerte es la ilusion maxima
La muerte es la ilusion maximaLa muerte es la ilusion maxima
La muerte es la ilusion maximapacevedoma Acemaci
 
Elisabeth kübler ross- sobre la muerte- (rig).pps
Elisabeth kübler ross- sobre la muerte- (rig).ppsElisabeth kübler ross- sobre la muerte- (rig).pps
Elisabeth kübler ross- sobre la muerte- (rig).ppspacevedoma Acemaci
 

More from pacevedoma Acemaci (6)

Interpretaciones del-mensajede silo
Interpretaciones del-mensajede siloInterpretaciones del-mensajede silo
Interpretaciones del-mensajede silo
 
La muerte es la ilusion maxima
La muerte es la ilusion maximaLa muerte es la ilusion maxima
La muerte es la ilusion maxima
 
Autoli bcoreccfinal
Autoli bcoreccfinalAutoli bcoreccfinal
Autoli bcoreccfinal
 
Reconciliacion
ReconciliacionReconciliacion
Reconciliacion
 
Elisabeth kübler ross- sobre la muerte- (rig).pps
Elisabeth kübler ross- sobre la muerte- (rig).ppsElisabeth kübler ross- sobre la muerte- (rig).pps
Elisabeth kübler ross- sobre la muerte- (rig).pps
 
Notashum
NotashumNotashum
Notashum
 

Recently uploaded

Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 

Recently uploaded (20)

Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 

Dealing with data-excel

  • 1. Dealing with Data in Excel 2010 Excel provides the ability to do computations and graphing of data. Here we provide the basics and some advanced capabilities available in Excel that are useful for dealing with scientific data. Graphing Data Let’s consider graphing the data given below. Go to cell A5 click and hold while highlighting to cell B12. Then go to the Insert ribbon and click on Scatter to bring down the choices. If you move the cursor around on the choices, an explanation appears. In Excel, the scatter chart is the ONLY graph where the x-axis is treated as a numerical value. (On other charts the x-axis is treated as a category, even if numbers are entered). Most scientific plots of data, plot only the data points (“Scatter with only markers”). It is usually bad practice to “connect the dots” with lines. When you click on the scatter type, the graph should appear as seen on the screenshot below. Notice the data is highlighted (purple is x-axis and blue is the yaxis) and that the Chart Tools appear on the ribbon bar. Dealing with Data in Excel 2010 – February 2012 Sinex & Wong Page 1
  • 2. One instance where you may want to use a different type of scatter plot is if you have non-linear data such as absorption spectra: in such cases using the “Scatter/ smooth lines” option may be appropriate. Click on the Layout ribbon (under Chart Tools, NOT “Chart Layouts” on the Design ribbon) as this is the most useful ribbon for charts. Here you can remove the gridlines, label the x and y axes, add a title, and maneuver the legend if needed. The Chart tools only appear if the graph is highlighted – click on the graph to get them. Clean up your graph at this point! One thing you cannot do in the layout section is change the text of the legend. To do this, you must rename the data series: right click anywhere in the chart and click Select Data… and the Select Data Source menu pops up. Select the series of data you wish to rename (Series 1 here) and click Edit. You can then rename the data series. This is handy if you have more than one data set on the graph and need to show a legend. You can also switch the x and y axes, or select a new set of data by clicking the value box next to the series X and Y values and highlighting the appropriate data. Adding a Regression Line or Trendline Regression lines are lines of best fit through the data. Excel can do a variety of fits as you will see. Click on Trendline and drop the menu down. Go to More Trendline Options… at the bottom and click on it. Dealing with Data in Excel 2010 – February 2012 Sinex & Wong Page 2
  • 3. This will get you the Format Trendline pop-up menu. You may need to move it off the graph. This menu will default to a linear regression which you can change by clicking on the other types of regression fits. You can view these on the graph. Since in most cases we want to know the equation of the model selected and how well it fits the data, go to the bottom of this menu and select Display Equation on chart and Display R-squared value on chart. R-squared is the coefficient of determination and a measure of the goodness-of-fit of the equation to the data. A perfect fit has a value of 1.000. In simple terms, R-squared*100 tells you the percentage of the variation of the y-variable due to the variation of the x-variable. How does linear regression work? Linear regression minimizes the sum of the square of the deviations, where the deviation is the difference between the calculated y-value minus the y-data value. This is shown visually with user eye-balling a best-fit line using an interactive Excel spreadsheet at: http://academic.pgcc.edu/~ssinex/regression.xls Users can also explore the difference between interpolation and extrapolation with this spreadsheet: http://academic.pgcc.edu/~ssinex/interpol_extrapol.xls Dealing with Data in Excel 2010 – February 2012 Sinex & Wong Page 3
  • 4. Simple Computations and Formatting Data Transformation of data for analysis is very common. A large number of functions are available in the on the Formula ribbon (click anywhere in the spreadsheet outside of a chart, then click Formula) using the Function Library. The More Functions button includes many common statistical functions such as standard deviation, median, plus others. You can type the function directly into a cell, or you can select it from the library. Any function will have a specific syntax that will appear when the function is selected. Hence to use average, you place the range of cells to average. If you need to calculate a quantity down a column of data, click on the first cell and go to the lower right corner (note the cursor changes) and click and hold while dragging down the column. Dealing with Data in Excel 2010 – February 2012 Sinex & Wong Page 4
  • 5. All calculations must start with an equal sign, “=” in the cell. To multiply numbers use the asterisk such as 3*2. To raise a number to a power: 52 is 5^2. Many of the functions need only a cell reference to deliver the quantity. If you want to enter a constant in a separate cell (such as C2) to use in a computation, you will want to change its format to $C$2 (This is an absolute reference.) in the calculation cell and hence it will not change on dragging the calculation down the column. Here we want y =kx. To format data in cells, click on a cell or highlight a column of data and then right click and select Format Cells… Dealing with Data in Excel 2010 – February 2012 Sinex & Wong Page 5
  • 6. When the Format Cells menu pops up, select the Number tab. Here you can select Number and set the number of decimal places. You can select Scientific is you want to use scientific notation. In Excel the number 2.0 x 105 will show up as 2.0E5. For more information on computational spreadsheets, see the following handout. http://academic.pgcc.edu/~ssinex/excelets/Computational_Spreadsheets.pdf Error Bars on Graphs Error bars are a method of expressing the uncertainty in data on a graph. Adding error bars to a graph is done by selecting the graph, then going to the Layout ribbon, selecting the Error Bars menu and then the More Error Bars Option… Dealing with Data in Excel 2010 – February 2012 Sinex & Wong Page 6
  • 7. Both horizontal and vertical error bars appear with a fixed value. The vertical or y error bars opens up first as seen on the screenshot below of the Format Error Bars pop-up menu. To set the horizontal or x error bar click on the horizontal bars on the graph. If you highlight the x error bars and then hit delete, you can remove them. We can add custom error amounts such as plus and minus one standard deviation. Here we are using the standard deviation of the three values, so the error bar is plus/minus one standard deviation around the mean value. Select the Custom at the bottom of the Format Error Bar menu and the Custom Error Bars menu pops up. Click in the Positive Error Value box and then highlight the column of data and then repeat for the Negative Error Value. Dealing with Data in Excel 2010 – February 2012 Sinex & Wong Page 7
  • 8. Standard Error of Slope and Y-intercept for Linear Regression with Confidence Intervals This is a prebuilt spreadsheet to which you can add data that uses LINEST. This spreadsheet calculates the standard error of the slope and y-intercept plus plots confidence intervals on the graph. http://academic.pgcc.edu/~ssinex/excelets/regression_2.xls Putting a Excel Graph into a Word or PowerPoint Document The easiest way is to click on a graph and then right click and select copy in Excel. Move to Word or PowerPoint and paste. You can drag a corner to resize. An alternate method is to use the Snipping Tool is Windows 7 or your favor screen capture software to capture the graph as an image and save as gif or jpeg and name the file. Here is an Excel graph with y-variable error bars on the data points (markers), axes labeled, title, and a linear regression line and equation. Try to keep the colors simple and all items readable on printing especially if using a black ink printer. This is what a graph should look like!!! Dealing with Data in Excel 2010 – February 2012 Sinex & Wong Page 8