Working with Formulas in Microsoft Excel 2007

by Jeremy Reis on Tuesday, September 25, 2007

Working with Formulas

In the previous sections, you have created a pretty budget using a lot of great formatting techniques. In this section, we’re going to start having Excel 2007 do some heavy lifting for us and starting having it perform calculations.

If you’ve skipped ahead or just want to start with a fresh copy of the spreadsheet with where we are at in the tutorial, download it here:

Family Budget 6.xlsx (zipped)

What is a Formula?

An Excel formula is an equation containing functions, cell references, numbers, and/or operators. Excel is very powerful and can perform complex calculations which are updated as easily as entering data in a cell. It has simple functions – such as summing several cells – and much more complex statistical functions.

We’ll focus in the section on the simpler formulas to calculate information we need in our budget.

Creating a Formula

1. Open the Family Budget spreadsheet.

2. Click in cell B8.

3. Click on the button in the Editing section of the Home ribbon and press Enter:

4. The AutoSum button sums the cells which are above and closest to the cell you are in. It stops summing at the first break – in the case, cell B3 has no data, so it is the first break.

5. Click on cell B13. Type in =sum(B10:B12) and press Enter.

6. B10:B12 is a range of cells – it tells Excel to sum all of the cells in the range: B10, B11, and B12.

7. Click on cell B22. Type in =sum(

8. Click in cell B16, hold your mouse button down and drag down to cell B21. Press Enter.

9. Now you’ve learned three ways to sum cells – using AutoSum, typing in the cell references directly, and using the mouse.

10. Practice your favorite method by summing each of the “total” rows in the Expenses section.

11. When you get down to cell B68, we will need to use a different method to sum the cells. Since the Expenses section contains a total row in each section, you don’t want to simply sum the entire section or you will be double counting.

12. Click on cell B68. Type in =sum(

13. Go to the top of the Expenses section and click once on cell B22. In the formula bar at the top, you will see it add cell B22 to the formula:

14. Now hold down the CTRL key and click on cell B32:

15. Continue the process of holding down the CTRL key and clicking on cells B36, B43, B50, B59, B67:

16. Press Enter.

17. Rows 8 and 13 aren’t bold across all of the cells. Select row 8 and press CTRL+B twice. Repeat with row 13. Why do we have to press it twice? The first cell in the row is already bold, pressing it once unbolds the row, pressing it a second time bolds the entire row.

Great job on entering those formulas! Here’s a copy of the spreadsheet with the formulas in it so you see it before we move on to finishing all of the formulas:

Family Budget 7.xlsx (zipped)

Now, we’re going to enter some data for the month of January so when we create the formulas for each month, it will calculate and we can quickly see if we did it right. Here’s the data we want to enter:

Now, we need to add some more formulas, so let’s get right back into that:

18. Go to cell D4.

19. Type in =C4-B4

20. Press Enter.

21. This formula subtracts cell B4 from cell C4, providing the difference in cell D4.

22. We could go down the spreadsheet and type the formula in each cell but there is a much easier way!

23. Click on cell D4.

24. In the bottom right of the box on cell D4 is a little square box. This is the fill control. There are two ways to use it – click on the small square and drag up, down, right, or left and it will fill those cells with the contents of cell D4.

25. The other way to fill the contents of the cells down is to double-click on the small square in the bottom right of the cell.

26. This will fill to the first break – the adjacent column C stops at C8, so the D column will automatically fill down to D7, stopping at D8.

27. Earlier, the formula we entered in D4 was =C4-B4, but as you can see on the spreadsheet, each cell is properly calculated the cells to its left – they don’t all have the formula =C4-B4. Excel automatically updates formulas based on where they are copied to – reflecting the intent of the original formula based on its new position. So, for example, it updated the row number for D5 to 5 (so the formula is now =C5-B5), for D6 to 6 and so on.

28. The same update occurs if you copy the formula to a new cell. Click con cell D6 and press CTRL+C to copy the contents of the cell.

29. Click on cell D10 and press Enter.

30. You will notice the formula in cell D10 is updated to reflect its new location.

31. Double-click on the square on the bottom right of the box in cell D10 to fill the contents of D10 down.

32. Now, copy D12 into D16. Fill down the contents of the cell. Repeat this process through all of the sections.

33. Return to the top of the spreadsheet and click on cell B8.

34. We want to fill the formula in this cell across all of the months. Click on the small square in the bottom right-hand side of the cell and hold the mouse button down as you drag it right to cell Z8:

35. Now repeat this process with each of the “total” rows.

36. The C column doesn’t have the proper $ formatting like the other cells. Let’s fix that – click in cell C4.

37. Click the Format Painter button twice.

38. Click and drag down for cells C4:C7. Now repeat in each section which doesn’t have the correct formatting. You do not want to drag all the way down the column or you will unbold the “total” rows.

39. Click the Format Painter button once when you are finished to turn it off.

40. Here’s what the spreadsheet looks like so far:

41. Go to cell F4.

42. Type in =E4-B4

43. Press Enter.

44. You may notice a problem here. Though the spreadsheet is accurate – we haven’t earned $4350 yet, so we are negative on wages – but when we use this formula all the way down, the spreadsheet will be a little cluttered – just because the month hasn’t occurred yet. What can we do about it?

Page 17 of 23

Comments

 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
It is a good web site
Your site is very nice i appriate you
298 out of 534 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Good material
I like your learningthat page.  I think it has been very helpful.
Thanks for all the hard work.
270 out of 487 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
free courses
it it very interesting and there are a lot of people that do not have the funds for expensive colleges that can learn from you - sorry some courses are not credited or certification,but it's coool.
249 out of 462 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Thanks lot
thank you for assisting..
238 out of 453 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
appreciation
i'm so thankfull of the respected one running this website. here is so useful matirials that can help people get better.
195 out of 369 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Thanks!
Very nice intro!
183 out of 347 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Cool Tut
I really got usefull from this Tut
183 out of 354 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
learning point
I want to learn computer fundamental, jut like to how to create a folder and hide a folder and show it
164 out of 321 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
excel
excel is a wonderful program but it is being taught to me by an idiot thats why it is taking a whole semester to learn
139 out of 276 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Commendation
I want to let you all know that you are doing a great job at Learnthat. Keep up the good work
111 out of 226 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
very useful
I enjoyed this free tutorial and am looking forward to taking an intermediate one.
107 out of 215 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Nice
Nice topic
Thanks
I have found two interesting sources (  http://fileshunt.com and http://filesfinds.com ) and would like to give the benefit of my experience to you.  
86 out of 169 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Thanks for the great job
This is a great job..too informative...Thanks a lot
89 out of 172 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Thank you very much
Thank you for the free tutorial.  Didn't know ANYTHING about excel before and an honestly say it helped me in starting out!
:)
78 out of 155 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Logical Progression of Introductory Material
You have created a user-friendly intro to Excel 2007 that allows the learner to access the information in a sequence that answers questions the normal inquisitive user would have.

Kudos!  
79 out of 155 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
thanku
iam the original commentand hear to licence
71 out of 138 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
what about access 2003
i didn't saw any of it why don't you prepare for it. please!!!
71 out of 130 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Kuno ndi ku Malawi
Taonga peji yinu njiwemi - njakusambizga. Kweni sazgirani Excel ma Macros.
Yewo!!!
62 out of 117 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Mr. Anonymous
Yes it's really good. Thank you. pliz, include more downloads.
63 out of 115 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Miss Anonymous
Yes the free tut is really helping, i really appreciate. keep the good work. Kudos to u all
53 out of 105 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Thank you
Well, the course is free. What face can use to make a complain
37 out of 73 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
certificate
do i have a certificate on this course
25 out of 51 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
cool
Excel is very important software for calculation.
23 out of 44 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Thanks you Very Much
This web site is on of the best web site it is relly helpfull we learned more and more from this web site
6 out of 14 people found this comment informative.

Add a Comment to This Article

Anonymous (Please Login to Post With Your Account)

      
HTML not permitted, some code allowed in [brackets]:
[b]bold[/b] , [i]italicized[/i], [br] line break, other formatting...


Code Image - Please contact webmaster if you have problems seeing this image code Load New Code
Please enter the code above
 
Please submit your comment only once, some comments may be reviewed by moderators
That Network: Interactive Internet Publishing Network DefineThat.com: free technical definitions define wordsExamPractice.com: free certification news and practice exams   Explorestartups.com: find free business plans and business ideas   GiveThat.com: free gift ideas, birthday, Christmas, holidays  helpthat: got questions, we got answers   Jerm.com: entrepreneurship blog   learnthat.com: free software tutorials  mytutorials.com: collaborative write your own tutorials  Publishondemand.net: free publish on demand print on demand pod comparison   Romancetips.com: free romantic tips, advice, dating, date ideas, free romance   seekthat: free technical search engine   selfpublishthat: publish on demand   startupwatch: profiles of new companies   thatgear.com: gadget and electronic reviews   tutorialguru.com: free tutorials