98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » Pivot table - data format issues
Pivot table - data format issues
Resolved · Urgent Priority · Version 2007
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
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
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.
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Create and delete bordersTo put a border around the outside of a selected range, press Ctrl+Shift+&. Use Ctrl+Shift+_ (underscore) to remove any borders from a range. |