One of the most common formulas you'll create in Excel is a formula that finds the sum of a column of numbers. Excel enables you to create these formulas, called AutoSum formulas, with just a few clicks of the mouse. Creating an AutoSum formula that finds the sum of a series of values is simply a matter of clicking the cell directly below of the values and then, on the toolbar, clicking the AutoSum button. So, I will do that. I have a set of values here that I want to add, from C4 to C15. I've selected cell C16, and I'll go up to the toolbar and click the AutoSum button.
When I do, Excel creates my formula, C3:C15. Press Return, and there is my value. The problem is there is a little mistake, and it can make a very big difference, depending upon the data you're working with. Let's look at that formula again. It finds the value, as you can see here on the formula bar, the sum of all the values in C3:C15. I wanted C4:C15. Now, why did that happen? That's because the year in cell C3 is treated as a value.
When you create an AutoSum formula, you need to make sure that the only numerical values in your column are the ones that you want to summarize in your calculation. So, for example, if I want to exclude the value in C3 from this calculation, the easiest way to do it is, before I even create the formula, change it to something like CY2008, CY2009, or CY2010. Now, this AutoSum formula doesn't change. It just wrote the formula, and it's not something that keeps checking to see where the numbers are.
Instead, if I delete it and then click the AutoSum button again, Excel creates the formula properly, finding the data C4:C15. When I press Return, I get the correct value. You probably noticed that the AutoSum button has a down arrow at its right edge. You can use the AutoSum button's down arrow to create formulas using functions other than Sum. So, let's say for 2009 I wanted to find the average monthly revenue. For that, I click cell D16, and I won't have the possibility of an error, because I now have CY, or Calendar Year 2009.
When I go up to the AutoSum button, I click the down arrow and I click Average. Excel creates the formula Average D4:D15, which I can accept by pressing Return, and I see the average value. Same thing for CY2010. I can click the AutoSum button's down arrow, and I can either select any of these items, or if I want to select another function, I can go to the function library by clicking More Functions.
In this case, I will just find the minimum value, or the lowest value, by clicking min. I have Min E4:E15. Press Return, and I see that the lowest value is 200,757. Creating AutoSum formulas quickly helps you summarize your data efficiently and get on with the more demanding tasks facing you in your workbook. Don't forget that you're not limited to the Sum function. You can select any function you like from the AutoSum button's down arrow list.
Author
Released
10/26/2010- Customizing the Ribbon
- Formatting worksheets, cells, and cell data
- Sorting and filtering data
- Working with formulas
- Detecting formula errors
- Creating charts
- Importing data
- Inserting objects and graphics
- Using PivotTables
- Recording macros
- Sharing workbooks
Skill Level Beginner
Duration
Views
Q: Where can I learn more about Excel formulas?
A: Discover more on this topic by visiting Excel formulas on lynda.com.
Related Courses
-
Introduction
-
Welcome1m 12s
-
-
1. Getting Started with Excel
-
Customizing the Ribbon4m 20s
-
Setting program preferences3m 20s
-
Getting help in Excel4m 16s
-
2. Managing Workbooks
-
Setting workbook properties4m 14s
-
3. Managing Worksheets, Cells, and Cell Data
-
Creating an Excel table4m 43s
-
Sorting worksheet data3m 2s
-
Creating a custom sort order3m 54s
-
Filtering worksheet data4m 6s
-
Managing worksheets5m 28s
-
4. Summarizing Data Using Formulas and Functions
-
Adding a formula to a cell3m 59s
-
Creating an AutoSum formula3m 22s
-
Managing scenarios4m 59s
-
5. Formatting Worksheet Elements
-
Managing text alignment3m 56s
-
Copying cell formats4m 2s
-
Managing cell styles3m 16s
-
Managing Office themes3m 31s
-
6. Working with Charts
-
Creating pie charts2m 32s
-
Creating line charts4m 34s
-
Creating XY (scatter) charts1m 49s
-
Creating stock charts4m 11s
-
Adding trendlines to charts4m 14s
-
Creating sparkline charts4m 31s
-
7. Working with External Data
-
Using hyperlinks6m 1s
-
8. Working with Objects
-
Adding and adjusting images5m 38s
-
Creating WordArt2m 34s
-
9. Exploring PivotTable Reports
-
Creating a PivotTable report4m 37s
-
Pivoting a PivotTable report3m 17s
-
Applying a PivotTable style2m 20s
-
Creating and editing styles2m 59s
-
10. Reviewing and Sharing Your Spreadsheets
-
Checking spelling3m 32s
-
Managing workbook comments3m 40s
-
Exporting to other formats1m 33s
-
Protecting a workbook2m 36s
-
-
11. Automating Workbooks Using Macros
-
Running an existing macro4m 56s
-
Recording a macro3m 56s
-
Adding comments to a macro2m 43s
-
-
Conclusion
-
Additional resources1m 1s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Creating an AutoSum formula