image: chart axis
Setting up the scale units of the chart axes

Hands on: Creating monthly totals

Automating calculations, plus customising Excel 2007 and animating your charts

Written by Stephen Wells

Oliver Couzens writes: “I have an Excel 2007 spreadsheet that includes columns for dates and amounts of sales. How can I automatically create monthly totals?”

If your dates are in column A and your sales amounts in column B, enter =A2 in cell C2. Click the Number format down arrow and custom format this cell mmm. Under the Font tab in this box, change the font colour to white, assuming you are using a white background. Drag this entry down the column. Give your columns the headings Date, Sales and Month.

Switch to the Data tab. Click anywhere in the data range and click the Subtotal icon at the right of this ribbon. Make the Subtotal dialogue box read “At each change in Month, Use function Sum, Add subtotal to Sales, Summary below data,”.

Under the Home tab, click the down arrow at the right of the Styles group. At the bottom of the Styles box choose, New Cell Style. For the Style name enter “RowLevel_2” and format as Currency, Bold font, and a colour.

Highlight the complete table. Under the Data tab, click the little arrow beside the Outline icon. In the Settings dialogue box check the Summary rows below detail box and click the Apply Styles button. At the top left are three small numbers, 1, 2 and 3. Click 1 for a Grand Total. Click 2 for your monthly totals. Click 3 to show the full data sheet.

In earlier versions
As the majority of our readers don’t have Office 2007 yet, here’s a way of creating monthly totals in earlier versions.

On the Format menu choose Style. For the Style name enter RowLevel_2 and format with Accounting, Bold font and a colour.

If your dates are in column A and your sales amounts in column B, enter =A2 in cell C2. Custom format this cell mmm. Using the Font colour tool, change the font colour for this cell to white, assuming you are using a white background. Drag this entry down the column.

Give your columns the headings Date, Sales and Month. Hold down the Shift key and click on the first and last cells in your data range to highlight it. Choose Subtotals on the Data menu. Make the Subtotal dialogue box read At each change in Month, Use function Sum, Add subtotal to Sales, Summary below data.

Choose Group & Outlines and then Settings on the Data menu. Check the ‘Summary rows below detail’ box and click the Apply Styles button. You should now have a display as in screen 2. At top left are three small numbers 1, 2 and 3. Click 1 for a Grand Total. Click 2 for your monthly totals. Click 3 to show the full data sheet.

Personalising Excel 2007
Anyone coming to Excel for the first time with version 12 should quickly find their way around, as it is intuitive. But those who have been using Excel for years and then upgraded to Excel 2007 can find it very frustrating. Ironically, those few people swapping from Lotus 1-2-3 get more help as version 12 still, under Excel Options, allows for transition formula entry and evaluation.

One saviour for those set in Excel’s earlier ways is the new Quick Access toolbar. By default it comes with Save, Undo and Redo buttons, but you can right-click on any button on any of the Ribbon tabs, choose Add to Quick Access Toolbar and another of your frequently used tools is immediately available.

Tags:

reader comments

related articles

 

today's top stories

Analysis: The true cost of printing

Organisations need to get a better sense of how much they spend on printing before finding ways to reduce it 05 Sep 2008

Computing podcast 4 September 2008

Find out what Michael Dell told Computing, and listen to our take on the latest browser wars 04 Sep 2008

Looking to the future - exclusive Michael Dell interview

Dell's chief executive talks to Computing about the way the company continues to adapt to major changes in the industry 04 Sep 2008

Interview: Delivering power where it's needed at Betfair

The online gambling firm is putting its money on grid computing and virtualisation to underpin global expansion 04 Sep 2008

E-paper displays are an open book

A display revolution is on the way - but only once the user interface issues are solved 04 Sep 2008

Most commented stories

Advertisement

Newsletter signup

Sign up for our range of FREE newsletters:

Existing User

Newsletter user login:

Jobs

Related jobs

Job of the week

Job alerts

Sign up here

Find your next job

Advertisement

White papers

Search white papers

Top categories

VPN, Extranet and Intranet Solutions

WAN/ LAN Solutions

Network Security

Interoperability-Connectivity

Grid/ Utility Computing

Latest poll

Would you use a mobile phone as an alternative to cash?

Would you use a mobile phone as an alternative to cash?

When mobile phones include inbuilt payment technology - would you use one instead of cash?

Previous poll results

Latest audio and video articles

BlackBerry BoldVideo

Video Review: BlackBerry Bold

Technology editor Daniel Robinson takes a hands-on look at the latest device from Research in Motion 01 Sep 2008

Podcast imageAudio

Computing podcast 4 September 2008

Find out what Michael Dell told Computing, and listen to our take on the latest browser wars 04 Sep 2008

Latest in-depth articles

A meetingAnalysis

Turning adversity into an advantage

IT chiefs under pressure to make cost cuts can turn the situation to their benefit 04 Sep 2008

CloudAnalysis

How to introduce cloud computing into your organisation

Best practice advice from Forrester Research 04 Sep 2008

Primary Navigation