Skip to main content

Working out Weekly and Annual Sums


- OK, so what else can we do to our spreadsheet? Well, we can work out how much this addiction is costing each week.
You have the individual costs of each chocolate bar. So all you need to do is add the Cost column up. So enter a suitable heading, something like "Weekly Cost of Chocolate Addiction". Next, enter a formula to add up the Cost column, so that you have a figure for how much is being spent on chocolate bars each week. When you are done, your spreadsheet should look like the one below.
Weekly Cost in Cell F20
The formula to add up the Cost column has gone in cell F20. As you can see, the total is £26.18 per week. A lot of money to spend on chocolate bars!We can also work out how much the addiction costs each year.
Enter some text for the yearly total. In the spreadsheet above, we would just click on cell A21 and enter the text "Annual Cost of Chocolate addiction". We would then want the answer to appear in cell F21, right under the Weekly total of £26.18.
But what's our formula?
We know that there are 52 weeks in a year. We spend £26.18 on chocolate bars every week. So the sum is quite simple:
= F20 * 52
  • So click inside cell F21
  • Click inside the formula bar
  • Enter the formula above
  • Press the Return key on your keyboard
  • The correct figure should appear in cell F21
  • Your spreadsheet should now look like the one below:
Yearly Sum in cell F21
The formula you just entered demonstrates that you can mix cell references with real numbers: you don't need to enter cell reference in formulas, and only cell references. In fact, you don't even need to enter a cell reference at all. You could have entered this in the formula bar instead:
= 26.18 * 52
Excel wouldn't mind either way. It would mind, however, if you tried to enter the pound sign in the formula bar. To get the pound sign you would need to format the cell to Currency.
And that completes our Chocolate Addiction spreadsheet. At an annual cost of one thousand, three hundred and sixty one pounds and thirty six pounds it is definitely time to quit!

The next part is the final part of section section three, and it's all about how to add comments to your excel spreadsheets.

Comments

Popular posts from this blog

Beginners PHP  -This is a complete and free PHP programming course for beginners. It's assumed that you already have some HTML skills. But you don't need to be a guru, by any means. If you need a refresher on HTML, then click the link for the Web Design course on the left of this page. Everything you need to get started with this PHP course is set out in section one below. Good luck! Home Page > PHP Section One - An Introduction to PHP 1. What is PHP and Why do I need it? 2. What you need to get started 3. Installing and testing Wampserver 4. Troubleshooting > PHP Two - Getting Started With Variables 1. What is a Variable? 2. Putting text into variables 3. Variables - some practice 4. More variable practice 5. Joining direct text and variable data 6. Adding up in PHP 7. Subtraction 8. Multiplication 9. Division 10. Floating point numbers > PHP Three - Conditional Logic 1. If Statements 2. Using If Statements 3....
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...

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