1 / 29

Computer Science 1A Introduction to Computer Science

Computer Science 1A Introduction to Computer Science. Topic 4 - Excel. Announcements. Assignment #2 – Spreadsheets in Excel Quiz next class on H/W & Excel. What is excel?. Excel is a electronic spreadsheet It is good for Calculations Organizing Data Can use as a small database

burian
Télécharger la présentation

Computer Science 1A Introduction to Computer Science

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Computer Science 1AIntroduction to Computer Science Topic 4 - Excel

  2. Announcements • Assignment #2 – Spreadsheets in Excel • Quiz next class on H/W & Excel of 25

  3. What is excel? • Excel is a electronic spreadsheet • It is good for • Calculations • Organizing Data • Can use as a small database • Tables of 25

  4. Opening a File • Go to File  Open • Click on the file you want to open of 25

  5. Activating a Cell • Left clicking on a cell will activate a cell • When a cell is active you can • Enter data • Enter a formula / function • Format the Cell • NOTE: You must hit enter or activate another cell to deactivate your cell of 25

  6. Columns and Rows • Excel references cells by column letters and row numbers Columns Rows of 25

  7. Worksheets / Workbooks • A workbook is the entire file • The workbook is the name of the file • A worksheet is one sheet in a file • Worksheets are named on tabs at the bottom of the workbook • There can be many worksheets in one workbook • This allows us to organize our work, we can put related worksheets in one workbook • To access a worksheet click on the tab of 25

  8. Worksheets • To rename a worksheet • right click the tab and click on rename or double left click the tab • Worksheets allow us to organize our work • Related sheets can be places in 1 workbook • To create a new worksheet • Right click a tab and click on insert  select worksheet • By default 3 worksheets are created with each new work book • To delete a sheet • Right click the tab and click delete Default sheets of 25

  9. Scroll Bars • Scroll bars can be used to navigate around your spreadsheet of 25

  10. Navigating in Excel • You can navigate by using the arrow keys • Clicking on another cell • Use scroll bars • Or using some ctrl combinations • Home  Takes you to A1 • End  Goes to last row, col, cell • Down  Last cell in col with data • Up  goes to first col with data • Right arrow  goes to last right hand cell with data • Left arrow  goes to last left hand cell with data of 25

  11. The Formula Bar • The Formula bar (the line with the fx) • Where information for that cell will be entered. • Can be: • Data • Formulas • Functions Formula Bar of 25

  12. Entering Data • Can type it in at the formula bar • Can activate the cell and type • Activate a cell by left clicking it Active Cell of 25

  13. Formatting in Excel • You can change fonts / alignments / colors • Change Background color • Select one cell or a group of cells • To select a group click one cell – hold down the mouse button and drag across the ones you want to select. • Or you can hold down the ctrl button and click on each cell you want to select • Click on the Paint bucket • Select a fill color of 25

  14. More Formatting Bolding & Centering Select the “B” button Choose the center alignment button • Changing Cell colors • Select the A button and choose a color of 25

  15. Auto formatting Add Autoformat to the Quick Access Toolbar Click the arrow to the right of the Quick Access Toolbar Select More Commands Click this Arrow More Commands of 25

  16. Auto formatting Go to Commands not in the ribbon Commands not in the ribbon of 25

  17. Select Autoformat • Then Click the add Button Add Autoformat of 25

  18. Select the information to be formatted 2. Click the auto format icon 3. Select the style you want 1. Select info to be formatted of 25

  19. Entering a Formula Must start with a “=” Refer to cells by Column Letter then Row #. of 25

  20. Pre-defined functions Click on fx for a list of predefined functions Can also define your own functions – that is for another class Description of the function of 25

  21. Ex. predefined function Syntax  how we write it so excel understands =SUM(number1, number2, number3) SUM ADDS the value in the cells =SUM(D1, D2, D3, D4) Or we can select a group of cells =SUM(D1:D4) of 25

  22. Conditional Statements Sometime we want a cell to do one thing under one condition or another under another condition IF <some condition is true> THEN Do something ELSE Do something else of 25

  23. Conditional Flowchart • In our example If Gup<=5 False True Display Upper Belt Display Lower Belt of 25

  24. Another Example If hours > 40 False True Pay = (40 * payrate) + ((Hours-40) *1.5*payrate) Pay = Hours * payrate of 25

  25. we can use conditionals in Excel Syntax  format of our function =IF(condition, true_action,false_action) In our example, let’s say we want to differentiate between Lower Gups (Gups 1 through 5) and Upper Gups (Gups 6-10) then else if statement Result of if statement of 25

  26. Applying Calculations to many cells Can drag down but clicking on the corner  wait until you have a+not a Click on cell and copy – then select cells you want to copy to and click on paste Click and drag the little square of 25

  27. Nesting If Statements • Nesting if statements is when we embed an if statement within an if statement • Let’s say we now want to differentiate between • Lower Gups (Gup 1-3),Middle Gups (Gup 4-7) & Upper Gups (Gup 8-10) • We would say IF Gup < 4 THEN OUTPUT “Lower” ELSE IF Gup < 8THEN OUTPUT “Middle” ELSE OUTPUT “Upper” • In Excel using our worksheet =IF( C2 < 4, “Lower”, IF( C2 < 8, “Middle”, “Upper”)) Note: it is good practice in excel to have an “else” condition for each if of 25

  28. Nested If Statement of 25

  29. Announcements • Assignment #2 : Spreadsheets in Excel of 25

More Related