pivot table data
Microsoft Office TrainingThe UK's Number 1 for Microsoft Office Training add this page to your favourites/bookmarksBookmark page

view a printable version of this pagePrintable version
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Pivot table - data format issues

Pivot table - data format issues

The UK's most regular instructor-led training courses.
Training information: basic training excel · Excel courses · Microsoft Excel Training UK
See also · excel-courses-london · excel courses in london · excel microsoft training

resolvedResolved · Urgent Priority · Version 2007

No ranking yet
3 posts
replyReplyThu 7 Jan 2010, 09:32Delegate Linda said...

Linda has attended:
Excel Advanced course
Powerpoint Introduction course

Pivot table - data format issues

I have a data table where the data was saved as an excel file from a report run in
I am now manually adding lines to the data table.
When I refresh my pivot table the lines that I have added manually are not being consolidated in the pivot table.
It seems to be a formatting issue. I have tried doing Data, Text to Columns, on all the relevant data columns but this has made no difference.

any suggestions to resolve this issue. It is urgent as I am using this report to summarise my yearend stock take differences!

Thanks

Excel Advanced 1 day course
Version Date Location Places
available
Book Next place rate (£)
Pay by
Card
Pay by
Invoice
2007 Fri 19 Mar 2010 Bloomsbury 0 FULL    
2003 Wed 24 Mar 2010 Limehouse 7 Book now £212 £217
2007 Fri 26 Mar 2010 Rochester (Hoo) 0 FULL    
2007 Mon 29 Mar 2010 Bloomsbury 2 Book now £235 £240
2003 Wed 31 Mar 2010 Southwark 7 Book now £219 £224
2007 Tue 6 Apr 2010 Limehouse 5 Book now £235 £240
Full Schedule: See all 70 Excel Advanced course dates.
Bookings currently available until 22nd December 2010.

Platinum
753 posts
replyReplyThu 7 Jan 2010, 14:04Trainer Stephen said...

RE: pivot table - data format issues

Hi Linda

Thankyou for your question

I am not clear on what you are trying to do. Could you clarify please.

Are you running a pivot table based on a list within an Excel spreadsheet, and then adding extra rows to the bottom of the spreadsheet and hoping to include the extra rows in the pivot table?

Thanks

Stephen

No ranking yet
3 posts
replyReplyThu 7 Jan 2010, 14:41Delegate Linda said...

RE: pivot table - data format issues

yes - your assumptions are correct

Platinum
753 posts
replyReplyFri 8 Jan 2010, 14:29Trainer Stephen said...

RE: pivot table - data format issues

Hi Linda

Thanks for the clarification

You can accomplish this by using a dynamic named range as the source for your pivot table. A dynamic range changes it's size to include any additional rows.

If involves nesting a COUNTA function within an offset function

Go to Insert-Name-Define
Type a name for the range, e.g. MyDataSource

In the Refers To box, enter an Offset Function that defines the range size.

=OFFSET(SourceSheet!$A$1,0,0,COUNTA(SourceSheet($A:$A),10)

The arguments used in the Offset function are:

Reference cell: SourceSheet!$A$1

Source Sheet is the name of the sheet where the data is held, and the cell is the start cell of the range

Rows to offset: 0
Columns to offset: 0
The above justs specifies that you are starting at cell A1

Number of Rows: COUNTA(Data!$A:$A)

This counts the number of rows in the range. It simply counts down until it finds a blank row

Number of Columns: 10

Or however many columns there are in your source data

Click OK


You can then simply use the range name "MyData" as the datasource for your pivot table

Hope this is useful

Regards

Stephen

Fri 15 Jan 2010: Automatically marked as resolved.


Related articles

· Charting Another Dimension With Excel
· Interesting Things About Charts In Excel 2003
· 3 Reasons Why Excel Training Courses For Employees Can Improve Your Business
· 5 Microsoft Excel Charts for Creating Stunning Business Documents
· Reasons Why VBA for Excel Training Fails

Please browse our web site to find out more about
basic training excel and other Microsoft training courses.

Excel tip:

Creating custom lists

In Excel if you type in January in a cell, you can then copy this cell to replicate Febraury, MArch, April etc.

This list has come from Tools- options and Custom lists.

Therefore to save time and create your own list you can click on New (in Tools and custom list tab) and type out the lsit that you want copied quickly.

All you have to do is then type in the 1st word and you will be able to copy the rest of the list quickly.

View all Excel hints and tips


Rate this page:
2.1/5 (108 votes cast)
Institute of IT Training - Accredited Training Provider ILM
Microsoft Certified Partner
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider
McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
Association of Computer Trainers verified by visa, mastercard securecard