vba for excel training - organising worksheet
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » vba for excel training - Organising a worksheet

vba for excel training - Organising a worksheet

resolvedResolved · Low Priority · Version Standard

replyReply Thu 1 Nov 2007, 11:06Delegate Ashraful said...

Ashraful has attended:
Excel Advanced course

Organising a worksheet

I am working with a worksheet and have data from several countries in my file. I have put in an autofilter but I want to be able to group each country individually so the overall figures show for that country but have the fucntion whereby when you click it drops down to give a detailed breakdown of the data.

I remember doing something similar on the course bu don't have my manual to hand.

For upcoming training course dates see: Pricing & availability

replyReply Mon 5 Nov 2007, 14:13Trainer Amanda said...

RE: Organising a worksheet

Hi Ashraful

Thank you for your question.

I think by the sounds of what you are wanting to do that you need to use the Subtotals feature in Excel.

Here's how:
1. Select any cell in the column containing the countries.
2. Sort this column so the rows for each country are listed together.
3. Go to Data - Subtotals.
4. In the At each change in box, select the heading for the column you have sorted in (2) above.
5. Leave SUM as the Function
6. Put a tick next to the column/s you want subtotals added into (the column/s you wish to see the overall totals in - these need to contain numeric data).
7. Click OK.

To see different levels of detail, click the 1, 2 or 3 button in the grey outline area on the left side of your screen.

I hope this is what you were after.
Amanda

 

Excel tip:

Return to the active cell after scrolling

When I scroll a long way down the screen from a selected cell, I can return to that cell with the Ctrl+Back Space shortcut. The active cell now appears in roughly the middle of the screen.

Shift+Back Space does something similar. Scroll down from the active cell and Shift+Back Space returns me to it and puts the active cell at the top of the screen; scroll up from the active cell and Shift+Back Space returns me to it and puts the active cell at the bottom of the screen.

Note also, that while Ctrl+Back Space will return me back to a selected range, Shift+Back Space only ever returns me to the active cell, which is normally at the top left-hand corner of any selected range.

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard