Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pivot table- range dynamic - offset - do not refresh correct

Status
Not open for further replies.

bojzon

IS-IT--Management
Sep 18, 2003
25
SI
I have pivot table (left upper corner - J1) on sheet with data (A1:D50000). Number of rows changes a lot, and I always DELETE PREVIOUS PIVOT TABLE AND NAME!!, and create new new pivot table from the beginning (Data are named "RangeDynamic" and "=OFFSET(" & ShtName & "!R1C1,0,0,COUNTA(" & ShtName & "!C1),COUNTA(" & ShtName & "!R1))". When I try to refresh pivot table, offset reference is with 1 or 2 additional columns than current region is, so refresh fail (columns with empty header). The same effect is if I delete all empty columns, refresh last cell, save,..But I have no problems if destination for pivot table is new sheet ?
Any suggestions?

 


Hi,

Seem that you have your PT on the same sheet as your source data along with a DYNAMIC NAMED RANGE for your source data.
That's ok IF....

1) your source data is ISOLATED from your PT (empty column between)

2) you have NOTHING ELSE in ROW1. You have your PT in J1. Move your PT to J2.

Skip,

[glasses] [red]Be Advised![/red]
The band of elderly oriental musicians, known as Ground Cover, is, in reality...
Asian Jasmine![tongue]
 
You are master!
Thanks
Bojzon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top