SlideShare a Scribd company logo
1 of 19
CS 105
Spreadsheet Computations

What is a cell? What is a range?
What is a formula?

What is a circular reference?
What’s the difference between copying text
and copying a formula?

CS 105 Spring 2011

#1
Manipulating Data
• A calculator can store two numbers and do
simple manipulations
current

M
memory clear
memory recall
memory set
memory plus

Mem clear

Set M to zero

M=0

Mem recall

Set current to M

current = M

Mem set

Set M to current

M = current

Mem plus

Set M to M + current M = M + current

CS 105 Spring 2011

#2
Manipulating Spreadsheet Data
• A workbook contains worksheets(spreadsheets).
A spreadsheet stores data organized in cells,
and can do complex data manipulation.
Name box

active cell

formula bar

fill handle
The cell location is referred to as its cell reference.
CS 105 Spring 2011

#3
Cell Ranges
An adjacent range is a rectangular block of cells and can
be as small as a single cell.

G2 : G8
Single
Column
Range

column letters
A1
Single cell
A3 : E3
Single Row Range
B6:E13

Read as
“B6 to
E13”

Row numbers

CS 105 Spring 2011

#4
Cell contents can be either
Data or Formulas
• Data can be either Numeric or Strings:
– numbers (e.g. 25.32, -56, $78, 1.02E-3, 5%, 1/1/2011)
– strings (e.g., Total, Angelina Jolie, 1-217-244-0000)
• Formulas always begin with an equals = and can contain
operators, data, cell references, ranges and functions,
e.g.
= 1+ A1
• Cells also have formatting attributes

CS 105 Spring 2011

#5
Numbers as strings
• Some “numbers” are
entered as text
(strings):
– zip codes
– phone numbers
– social security
numbers
– Such numbers do not
get involved in
computation.

By default Excel left-justifies strings and right-justifies numbers.
CS 105 Spring 2011

#6
Date Entries
• Dates are a special kind of number – Try
01/01/1900
• Two-digit year values 00 through 29 are
interpreted as the years 2000 through 2029
• Year values 30 through 99 are interpreted
as the years 1930 through 1999.

CS 105 Spring 2011

#7
Formatting a two-digit date

CS 105 Spring 2011

#8
Date Calculations

Format cell as a
number, not a date

Formula view:

CS 105 Spring 2011

#9
Operators in Formulas
• Arithmetic operations (in order of precedence)
– parentheses
( )
– negation (as in -1)
– exponentiation
^
– multiplication, division
*
/
– addition, subtraction
+
-

CS 105 Spring 2011

# 10
Hierarchy of Arithmetic Operations in
Excel
– Scan the formula from left to right

– Evaluate what is in parentheses first
– Operations of highest priority are done first

– Evaluate from left to right operations of equal priority.
= B1 + B2 * C3

= -C1 ^ A1
= (B3-A1)*A1^2/B2

CS 105 Spring 2011

# 11
Functions in Formulas
• =TODAY()
• =MONTH( March 7, 2006)
• =MONTH(A1)

CS 105 Spring 2011

# 12
Bad Formulas!!! Circular References
• When a formula references itself
(either directly or indirectly) there is
a Circular Reference
• When this happens, Excel warns you
several times!!
• BAD:

CS 105 Spring 2011

# 13
Copying formulas
• Example: In a Sudoku board, every row must sum to 45
– more conditions, but we’ll stick to this for now

• Copy formula to the remaining rows (formula changes)

CS 105 Spring 2011

# 14
When you cut and paste a
cell that is referenced in a formula,
then again the formula changes

CS 105 Spring 2011

# 15
Copying/Pasting Formulas
Relative Cell Reference
• A cell reference that adjusts automatically
when it is copied.
• By default, formulas that you enter use
relative cell references.
• For example:

B to D = moved 2 Columns
2 to 5 = moved 3 Rows
CS 105 Spring 2011

# 16
Mixed Cell References
• A cell reference that refers to an exact
location on the worksheet and does not
adjust when copied.
• Cell reference is preceded by a dollar sign.
• For example:

=($B$5 + $C7) * D$9
Absolutely column b
and absolutely row 5

Absolutely
column c
CS 105 Spring 2011

Absolutely
row 9

# 17
Copying/Pasting Formulas
Mixed Cell References

What happened when these
formulas were copied?
CS 105 Spring 2011

# 18
To Summarize:
• What is a cell? What is a range?

• What is a formula?
• What is a circular reference?
• What’s the difference between copying text
and copying a formula?

CS 105 Spring 2011

# 19

More Related Content

What's hot

Excel spreadsheet
Excel spreadsheetExcel spreadsheet
Excel spreadsheetByju Antony
 
Intro to Excel Basics: Part II
Intro to Excel Basics: Part IIIntro to Excel Basics: Part II
Intro to Excel Basics: Part IISi Krishan
 
Formulas and functions - By Amresh Tiwari
Formulas and functions - By Amresh TiwariFormulas and functions - By Amresh Tiwari
Formulas and functions - By Amresh TiwariAmresh Tiwari
 
Excel Top 10 formula For The Beginners
Excel Top 10 formula For The BeginnersExcel Top 10 formula For The Beginners
Excel Top 10 formula For The BeginnersStat Analytica
 
Quick Checks Computer
Quick Checks ComputerQuick Checks Computer
Quick Checks ComputerViscKand
 
Basic Formulas - Excel 2013 Tutorial
Basic Formulas - Excel 2013 TutorialBasic Formulas - Excel 2013 Tutorial
Basic Formulas - Excel 2013 TutorialSpreadsheetTrainer
 
Ms excel 2013 data management
Ms excel 2013 data managementMs excel 2013 data management
Ms excel 2013 data managementJesus Obenita Jr.
 
Matrix and Matrices
Matrix and MatricesMatrix and Matrices
Matrix and Matricesesfriendsg
 
Errors in ms excel
Errors in ms excelErrors in ms excel
Errors in ms excelNikita Arora
 
Intro To Spreadsheets Y34
Intro To Spreadsheets Y34Intro To Spreadsheets Y34
Intro To Spreadsheets Y34birchfields
 
2. mathematical functions in excel
2. mathematical functions in excel2. mathematical functions in excel
2. mathematical functions in excelDr. Prashant Vats
 
Excel functions and formulas
Excel functions and formulasExcel functions and formulas
Excel functions and formulasJason Wong
 
Spreadsheet text functions
Spreadsheet text functionsSpreadsheet text functions
Spreadsheet text functionsAnjan Mahanta
 
MS-Excel Formulas and Functions
MS-Excel Formulas and FunctionsMS-Excel Formulas and Functions
MS-Excel Formulas and FunctionsP. SUNDARI ARUN
 
Advance database system(part 8)
Advance database system(part 8)Advance database system(part 8)
Advance database system(part 8)Abdullah Khosa
 

What's hot (20)

Week2 excel
Week2 excelWeek2 excel
Week2 excel
 
Excel spreadsheet
Excel spreadsheetExcel spreadsheet
Excel spreadsheet
 
Intro to Excel Basics: Part II
Intro to Excel Basics: Part IIIntro to Excel Basics: Part II
Intro to Excel Basics: Part II
 
Formulas and functions - By Amresh Tiwari
Formulas and functions - By Amresh TiwariFormulas and functions - By Amresh Tiwari
Formulas and functions - By Amresh Tiwari
 
Excel Top 10 formula For The Beginners
Excel Top 10 formula For The BeginnersExcel Top 10 formula For The Beginners
Excel Top 10 formula For The Beginners
 
Quick Checks Computer
Quick Checks ComputerQuick Checks Computer
Quick Checks Computer
 
Basic Formulas - Excel 2013 Tutorial
Basic Formulas - Excel 2013 TutorialBasic Formulas - Excel 2013 Tutorial
Basic Formulas - Excel 2013 Tutorial
 
Ms excel 2013 data management
Ms excel 2013 data managementMs excel 2013 data management
Ms excel 2013 data management
 
Matrix and Matrices
Matrix and MatricesMatrix and Matrices
Matrix and Matrices
 
Errors in ms excel
Errors in ms excelErrors in ms excel
Errors in ms excel
 
Intro To Spreadsheets Y34
Intro To Spreadsheets Y34Intro To Spreadsheets Y34
Intro To Spreadsheets Y34
 
Excel Function Training
Excel Function TrainingExcel Function Training
Excel Function Training
 
2. mathematical functions in excel
2. mathematical functions in excel2. mathematical functions in excel
2. mathematical functions in excel
 
Excel text function
Excel text functionExcel text function
Excel text function
 
Excel functions and formulas
Excel functions and formulasExcel functions and formulas
Excel functions and formulas
 
Formulas and functions
Formulas and functions Formulas and functions
Formulas and functions
 
Spreadsheet text functions
Spreadsheet text functionsSpreadsheet text functions
Spreadsheet text functions
 
3 inner plumbing Excel tips
3 inner plumbing Excel tips3 inner plumbing Excel tips
3 inner plumbing Excel tips
 
MS-Excel Formulas and Functions
MS-Excel Formulas and FunctionsMS-Excel Formulas and Functions
MS-Excel Formulas and Functions
 
Advance database system(part 8)
Advance database system(part 8)Advance database system(part 8)
Advance database system(part 8)
 

Viewers also liked

06 excel4
06 excel406 excel4
06 excel4dd
 
Forecasting the future
Forecasting the futureForecasting the future
Forecasting the futureRyan Bautista
 
Primeros pasos de power point
Primeros pasos de power pointPrimeros pasos de power point
Primeros pasos de power pointAlejitha Perdomo
 
Research Peptides Website Reviews & Where to Buy Peptides
Research Peptides Website Reviews & Where to Buy PeptidesResearch Peptides Website Reviews & Where to Buy Peptides
Research Peptides Website Reviews & Where to Buy Peptidesresearchpeptides
 
Cрби у Pумунији
Cрби у PумунијиCрби у Pумунији
Cрби у PумунијиMilan Vučković
 
01
0101
01dd
 
Digital Gravity
Digital GravityDigital Gravity
Digital GravitySebSigloch
 
excel ppt
excel pptexcel ppt
excel pptdd
 
IMAGING OF INTRACRANIAL PRIMARY NON-NEOPLASTIC CYSTS
IMAGING OF INTRACRANIAL PRIMARY NON-NEOPLASTIC CYSTSIMAGING OF INTRACRANIAL PRIMARY NON-NEOPLASTIC CYSTS
IMAGING OF INTRACRANIAL PRIMARY NON-NEOPLASTIC CYSTSAmeen Rageh
 
Testicular Torsion
Testicular TorsionTesticular Torsion
Testicular TorsionAmeen Rageh
 
Applicationofstack by Ali F.RAshid
Applicationofstack  by Ali F.RAshid Applicationofstack  by Ali F.RAshid
Applicationofstack by Ali F.RAshid ali rashid
 

Viewers also liked (18)

06 excel4
06 excel406 excel4
06 excel4
 
Forecasting the future
Forecasting the futureForecasting the future
Forecasting the future
 
Primeros pasos de power point
Primeros pasos de power pointPrimeros pasos de power point
Primeros pasos de power point
 
Research Peptides Website Reviews & Where to Buy Peptides
Research Peptides Website Reviews & Where to Buy PeptidesResearch Peptides Website Reviews & Where to Buy Peptides
Research Peptides Website Reviews & Where to Buy Peptides
 
English whale
English whaleEnglish whale
English whale
 
Cрби у Pумунији
Cрби у PумунијиCрби у Pумунији
Cрби у Pумунији
 
Math120 20122
Math120 20122Math120 20122
Math120 20122
 
Serbian football in 1930
Serbian football in 1930Serbian football in 1930
Serbian football in 1930
 
Arial9
Arial9Arial9
Arial9
 
01
0101
01
 
Digital Gravity
Digital GravityDigital Gravity
Digital Gravity
 
CWTS
CWTSCWTS
CWTS
 
excel ppt
excel pptexcel ppt
excel ppt
 
Space
SpaceSpace
Space
 
IMAGING OF INTRACRANIAL PRIMARY NON-NEOPLASTIC CYSTS
IMAGING OF INTRACRANIAL PRIMARY NON-NEOPLASTIC CYSTSIMAGING OF INTRACRANIAL PRIMARY NON-NEOPLASTIC CYSTS
IMAGING OF INTRACRANIAL PRIMARY NON-NEOPLASTIC CYSTS
 
Testicular Torsion
Testicular TorsionTesticular Torsion
Testicular Torsion
 
CYSTIC FIBROSIS
CYSTIC FIBROSISCYSTIC FIBROSIS
CYSTIC FIBROSIS
 
Applicationofstack by Ali F.RAshid
Applicationofstack  by Ali F.RAshid Applicationofstack  by Ali F.RAshid
Applicationofstack by Ali F.RAshid
 

Similar to 03 excel1

MIS 226: Chapter 1
MIS 226: Chapter 1MIS 226: Chapter 1
MIS 226: Chapter 1macrob14
 
Lesson 27 - Excel Lesson 13.pptx
Lesson 27 - Excel Lesson 13.pptxLesson 27 - Excel Lesson 13.pptx
Lesson 27 - Excel Lesson 13.pptxrubben7
 
Lecture 1 Intro to Excel.pptx
Lecture 1 Intro to Excel.pptxLecture 1 Intro to Excel.pptx
Lecture 1 Intro to Excel.pptxEktasingh152981
 
Libre Office Calc Lesson 4: Understanding Functions
Libre Office Calc Lesson 4: Understanding FunctionsLibre Office Calc Lesson 4: Understanding Functions
Libre Office Calc Lesson 4: Understanding FunctionsSmart Chicago Collaborative
 
Introduction to Spreadsheets.ppt
Introduction to Spreadsheets.pptIntroduction to Spreadsheets.ppt
Introduction to Spreadsheets.pptssuser1028f8
 
Excel basics for everyday use-the more advanced stuff
Excel basics for everyday use-the more advanced stuffExcel basics for everyday use-the more advanced stuff
Excel basics for everyday use-the more advanced stuffKevin McLogan
 
Introductionto Spreadsheet - Excel .pptx
Introductionto Spreadsheet - Excel .pptxIntroductionto Spreadsheet - Excel .pptx
Introductionto Spreadsheet - Excel .pptxSanaShah93
 
Functions and formulas of ms excel
Functions and formulas of ms excelFunctions and formulas of ms excel
Functions and formulas of ms excelmadhuparna bhowmik
 
Excel basics for everyday use part three
Excel basics for everyday use part threeExcel basics for everyday use part three
Excel basics for everyday use part threeKevin McLogan
 
Intermediate ms excel for business elective course for dlsu-d hs
Intermediate ms excel for business   elective course for dlsu-d hsIntermediate ms excel for business   elective course for dlsu-d hs
Intermediate ms excel for business elective course for dlsu-d hsMarkFreudBolima
 
functionsandformulas-131221213835-phpapp01.pdf
functionsandformulas-131221213835-phpapp01.pdffunctionsandformulas-131221213835-phpapp01.pdf
functionsandformulas-131221213835-phpapp01.pdfFranzLawrenzDeTorres1
 
MS Excel training (Vidushi Khera)
MS Excel training (Vidushi Khera)MS Excel training (Vidushi Khera)
MS Excel training (Vidushi Khera)Vidushi Khera
 
LECTURE 06 (SPREADSHEET).pptx
LECTURE 06 (SPREADSHEET).pptxLECTURE 06 (SPREADSHEET).pptx
LECTURE 06 (SPREADSHEET).pptxMwangaPrayGod
 
Electronic Spreadsheets
Electronic SpreadsheetsElectronic Spreadsheets
Electronic SpreadsheetsNeilfieOrit2
 

Similar to 03 excel1 (20)

MIS 226: Chapter 1
MIS 226: Chapter 1MIS 226: Chapter 1
MIS 226: Chapter 1
 
Lesson 27 - Excel Lesson 13.pptx
Lesson 27 - Excel Lesson 13.pptxLesson 27 - Excel Lesson 13.pptx
Lesson 27 - Excel Lesson 13.pptx
 
Excel
ExcelExcel
Excel
 
Lecture 1 Intro to Excel.pptx
Lecture 1 Intro to Excel.pptxLecture 1 Intro to Excel.pptx
Lecture 1 Intro to Excel.pptx
 
Libre Office Calc Lesson 4: Understanding Functions
Libre Office Calc Lesson 4: Understanding FunctionsLibre Office Calc Lesson 4: Understanding Functions
Libre Office Calc Lesson 4: Understanding Functions
 
Introduction to Spreadsheets.ppt
Introduction to Spreadsheets.pptIntroduction to Spreadsheets.ppt
Introduction to Spreadsheets.ppt
 
Excel basics for everyday use-the more advanced stuff
Excel basics for everyday use-the more advanced stuffExcel basics for everyday use-the more advanced stuff
Excel basics for everyday use-the more advanced stuff
 
Introductionto Spreadsheet - Excel .pptx
Introductionto Spreadsheet - Excel .pptxIntroductionto Spreadsheet - Excel .pptx
Introductionto Spreadsheet - Excel .pptx
 
Functions and formulas of ms excel
Functions and formulas of ms excelFunctions and formulas of ms excel
Functions and formulas of ms excel
 
Excel note.pdf
Excel note.pdfExcel note.pdf
Excel note.pdf
 
Excel basics for everyday use part three
Excel basics for everyday use part threeExcel basics for everyday use part three
Excel basics for everyday use part three
 
Exel
ExelExel
Exel
 
Modulo 1 de diapo..
Modulo  1 de diapo..Modulo  1 de diapo..
Modulo 1 de diapo..
 
Modulo 1 de diapo..
Modulo  1 de diapo..Modulo  1 de diapo..
Modulo 1 de diapo..
 
Intermediate ms excel for business elective course for dlsu-d hs
Intermediate ms excel for business   elective course for dlsu-d hsIntermediate ms excel for business   elective course for dlsu-d hs
Intermediate ms excel for business elective course for dlsu-d hs
 
functionsandformulas-131221213835-phpapp01.pdf
functionsandformulas-131221213835-phpapp01.pdffunctionsandformulas-131221213835-phpapp01.pdf
functionsandformulas-131221213835-phpapp01.pdf
 
MS Excel training (Vidushi Khera)
MS Excel training (Vidushi Khera)MS Excel training (Vidushi Khera)
MS Excel training (Vidushi Khera)
 
LECTURE 06 (SPREADSHEET).pptx
LECTURE 06 (SPREADSHEET).pptxLECTURE 06 (SPREADSHEET).pptx
LECTURE 06 (SPREADSHEET).pptx
 
Electronic Spreadsheets
Electronic SpreadsheetsElectronic Spreadsheets
Electronic Spreadsheets
 
Cucci_-Excel_for_beginners_.pdf
Cucci_-Excel_for_beginners_.pdfCucci_-Excel_for_beginners_.pdf
Cucci_-Excel_for_beginners_.pdf
 

Recently uploaded

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 

Recently uploaded (20)

Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 

03 excel1

  • 1. CS 105 Spreadsheet Computations What is a cell? What is a range? What is a formula? What is a circular reference? What’s the difference between copying text and copying a formula? CS 105 Spring 2011 #1
  • 2. Manipulating Data • A calculator can store two numbers and do simple manipulations current M memory clear memory recall memory set memory plus Mem clear Set M to zero M=0 Mem recall Set current to M current = M Mem set Set M to current M = current Mem plus Set M to M + current M = M + current CS 105 Spring 2011 #2
  • 3. Manipulating Spreadsheet Data • A workbook contains worksheets(spreadsheets). A spreadsheet stores data organized in cells, and can do complex data manipulation. Name box active cell formula bar fill handle The cell location is referred to as its cell reference. CS 105 Spring 2011 #3
  • 4. Cell Ranges An adjacent range is a rectangular block of cells and can be as small as a single cell. G2 : G8 Single Column Range column letters A1 Single cell A3 : E3 Single Row Range B6:E13 Read as “B6 to E13” Row numbers CS 105 Spring 2011 #4
  • 5. Cell contents can be either Data or Formulas • Data can be either Numeric or Strings: – numbers (e.g. 25.32, -56, $78, 1.02E-3, 5%, 1/1/2011) – strings (e.g., Total, Angelina Jolie, 1-217-244-0000) • Formulas always begin with an equals = and can contain operators, data, cell references, ranges and functions, e.g. = 1+ A1 • Cells also have formatting attributes CS 105 Spring 2011 #5
  • 6. Numbers as strings • Some “numbers” are entered as text (strings): – zip codes – phone numbers – social security numbers – Such numbers do not get involved in computation. By default Excel left-justifies strings and right-justifies numbers. CS 105 Spring 2011 #6
  • 7. Date Entries • Dates are a special kind of number – Try 01/01/1900 • Two-digit year values 00 through 29 are interpreted as the years 2000 through 2029 • Year values 30 through 99 are interpreted as the years 1930 through 1999. CS 105 Spring 2011 #7
  • 8. Formatting a two-digit date CS 105 Spring 2011 #8
  • 9. Date Calculations Format cell as a number, not a date Formula view: CS 105 Spring 2011 #9
  • 10. Operators in Formulas • Arithmetic operations (in order of precedence) – parentheses ( ) – negation (as in -1) – exponentiation ^ – multiplication, division * / – addition, subtraction + - CS 105 Spring 2011 # 10
  • 11. Hierarchy of Arithmetic Operations in Excel – Scan the formula from left to right – Evaluate what is in parentheses first – Operations of highest priority are done first – Evaluate from left to right operations of equal priority. = B1 + B2 * C3 = -C1 ^ A1 = (B3-A1)*A1^2/B2 CS 105 Spring 2011 # 11
  • 12. Functions in Formulas • =TODAY() • =MONTH( March 7, 2006) • =MONTH(A1) CS 105 Spring 2011 # 12
  • 13. Bad Formulas!!! Circular References • When a formula references itself (either directly or indirectly) there is a Circular Reference • When this happens, Excel warns you several times!! • BAD: CS 105 Spring 2011 # 13
  • 14. Copying formulas • Example: In a Sudoku board, every row must sum to 45 – more conditions, but we’ll stick to this for now • Copy formula to the remaining rows (formula changes) CS 105 Spring 2011 # 14
  • 15. When you cut and paste a cell that is referenced in a formula, then again the formula changes CS 105 Spring 2011 # 15
  • 16. Copying/Pasting Formulas Relative Cell Reference • A cell reference that adjusts automatically when it is copied. • By default, formulas that you enter use relative cell references. • For example: B to D = moved 2 Columns 2 to 5 = moved 3 Rows CS 105 Spring 2011 # 16
  • 17. Mixed Cell References • A cell reference that refers to an exact location on the worksheet and does not adjust when copied. • Cell reference is preceded by a dollar sign. • For example: =($B$5 + $C7) * D$9 Absolutely column b and absolutely row 5 Absolutely column c CS 105 Spring 2011 Absolutely row 9 # 17
  • 18. Copying/Pasting Formulas Mixed Cell References What happened when these formulas were copied? CS 105 Spring 2011 # 18
  • 19. To Summarize: • What is a cell? What is a range? • What is a formula? • What is a circular reference? • What’s the difference between copying text and copying a formula? CS 105 Spring 2011 # 19