The Excel AutoSum simply makes using the SUM Function even easier, but only under the right conditions. Basically what the AutoSum will do is sum a range that is visibly directly above or to the left of the cell that we use it in (the default is above). It will include all of the visible range until the first blank cell or the first cell containing text. Try these examples.
You should get the formula =SUM(D5:D14). Notice it Start s at cell D5. This is because D4 is the first blank cell. It includes the empty range D11:D14 because it assumes we will want to add numbers within this range at some stage.
Now try this:
The reason the AutoSum did not work is because there were no visible cells containing numbers above or to the left.
Try a similar exercise on the numbers in cells F5:J5 and the same thing will happen. Although we could not enter the AutoSum in the second example, it did write the =SUM() formula for us and place the mouse insertion point between the opening and closing parenthesis. This means we could simply select any range that we wanted to sum.
Microsoft ® and Microsoft Excel ® are registered trademarks of Microsoft Corporation. OzGrid is in no way associated with Microsoft
Go back to:
See also:
See also: Index to Excel VBA Code and Index to Excel Freebies and Lesson 1 - Excel Fundamentals and Index to how to… providing a range of solutions and Index to new resources and reference sheets
Click here to visit our Free 24/7 Excel/VBA Help Forum where there are thousands of posts you can get information from, or you can join the Forum and post your own questions.
At Casino-X, the game starts immediately after registration is complete! https://casino-x-jp.com is a casino with over 2000 slot machines, live roulette, card games, sports betting and more