Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 376
Default DYNAMIC RANGE FOR PIVOT TABLE

Hi Simon

There is nothing wrong with your formula (although I prefer to use Index
rather than Offset).
However, if your titled columns are not contiguous, and you have any gap
with an untitled column, then you will get that message.

With XL2007, you would probably be better using the Table facility,
rather than creating a dynamic range. The table will grow with your data
source automatically.

Place cursor within your data sourceinsert tabTableclick my Table has
headers.
If there are any untitled columns, Excel will allocate names to them.

Then, from the Design tabSummarize with Pivot Table

--
Regards
Roger Govier

Simon wrote:
Hi I am using Excel 2007 and trying to create a dynamic range for a pivot
table so that its source adjusts depending on the number of rows in the
xternal workbook source.

I have created a range "SalesDataset" with the following formula:

=OFFSET(Summary!$A$1,0,0,COUNTA(Summary!$A:$A),COU NTA(Summary!$1:$1))

However when I try to change the Pivot Table data source to =SalesDataset I
get a pop up "Reference not valid"

Can anyone steer me in the right direction.

Many thanks
Simon

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic range in Pivot table Wanna Learn Excel Discussion (Misc queries) 4 July 2nd 07 08:08 PM
Dynamic Pivot table range watkincm Excel Programming 3 October 24th 06 03:58 PM
Dynamic Range in a Pivot Table Chris C Excel Discussion (Misc queries) 0 June 27th 06 06:11 PM
Dynamic Range for Pivot Table Rob Excel Programming 1 June 20th 06 08:24 PM
Refreshing a Pivot Table from a dynamic range matpj[_4_] Excel Programming 2 October 20th 05 03:19 PM


All times are GMT +1. The time now is 07:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"