Skip to main content

Entering Formula in Excel (continued)

 - In the last part of this lesson, you saw how to add up a column of numbers using the Sum function in Excel. We left the lesson by asking how we could reduce the amount of typing we had to do. We saw that the answer was to use a colon (:)
We can use a colon in our spreadsheet. So do the following:
  • Click inside cell B9
  • Click cell B9 with your Right mouse button
  • A menu pops up, like the one below
Clearing a formula from a cell
  • Locate "Clear Contents" and then click on it with your left mouse button
  • The formula disappears from your formula bar
  • With Cell B9 still highlighted, click inside the formula bar
  • Type in the following =Sum(B4:B7)
  • Your spreadsheet will look like the one below
What your spreadsheet should look like
When your formula bar looks like the one above, press the return key on your keyboard. Excels again understands what you want to do, and enters the correct sum in cell B9.
So, you should have the number 17 in cell B9. We'll now use an Auto Fill to add up the rest of the days of the week.
  • Move your cursor to the bottom right of cell B9
  • Your cursor will turn into a narrow black cross, like in the image below
The Autofill mouse icon
  • When you see the black cross, hold down your left mouse button
  • Keep it held down, and then drag your mouse across to cell H9, as in the image below
Autofill
When your cursor reaches cell H9, let go of your left mouse button. Excel will Auto Fill the formula from cell B9. Because the cell B9 added up cells in the B column, Excel will assume that that is what you want to do with the others columns as well: add them up. So it does the sums for you.
Your spreadsheet should now look like the one below:
Using Autofill to complete the formulas
Notice that the cell H9 is highlighted. The formula in the formula bar reads =Sum(H4:H7). This means "Add up everything in the cells H4 to H7 and pop the answer in the H9 cell."
But we got all that just by using the Auto Fill. We only had to enter one formula for the cell B9 and Excel did the rest.
If you click in any of the cells on row 9 (Click on cell F9, for example), you'll see the formula bar change, with the correct formulas entered for each cell.

Save your work, and remember the location of your file. That's because we're going to be using the same spreadsheet in the next section of the course - How to use the simple mathematical operators in an Excel Spreadsheet.

Comments

Popular posts from this blog

PRATYUSHA HOME

Hi interesting readers, Prathysha NGO, Chennai. Bala gurukul orphange, chennai. Pratyusha support, Hyderbad. Krr oldage home, Vizag. Disa foundation.......................................................... so on..................... Join hands with us for a good cause. Thank you all. Contact  us on our  whatsapp no:  8939374254    for the more details. You can pay through Paytm scanner. for each donor we will give an online PDF book as a gift. Thank you Pratyusha Home
Javascript Tutorials for the Beginner - Welcome to the Home and Learn course for Javascript. Although it is aimed at complete beginners to the subject we do assume that you have some knowledge of HTML and a little CSS. You don't have to be an expert, though. Just the basics will do. (If you're not sure about the HTML then see our Web Design course.) You don't need to buy any software for this Javascript course - you probably already have everything you need to get started.   > Section One: Getting Started 1. Software needed 2. Our Javascript Templates 3. A little word about debugging Home Page > Section Two: The Browser 1. A First Script 2. Javascript Tag Placement 3. The Browser Object Model 4. Browser Window Methods 5. The Document Object Model > Section Three: Javascript Programming Basics 1. Javascript Variables 2. Math Operators 3. Operator Precedence 4. IF Statements 5. IF ... Else 6. Comparison Operators 7...
Sorting Images in Windows 7  -In the previous section, you learned how to add information to an image. In this section, you'll se what you can do with all this information. This comes under the topic of Sorting. First, though, change your View slider from  Tiles  to  Details : When you arrange the window to Details view, your screen should look like this one: We now have a list of images with the Name, Date, Tags, Size and Ratings showing. These headings can all be used to sort your images. Click on the Ratings, for example, and you'll see a dropdown box: You can choose to display only images with 1, 2, 3, 4 or 5 stars. All you need to do is to check each box. The ones not checked will then be hidden: Here, we're choosing to display only 1 and 2 star images, perhaps with a view to deleting them. (To delete an image, right-click. From the menu that appears, select  Delete . Or choose  Rename  to change the name of the image....