LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 133
Default Excel 2007: "Reference is not valid" when refreshing pivot table

Perhaps someone can shed more light on this, but I ascertained that
the problem was with a dynamic range that works in Excel 2003 but not
in Excel 2007.

The formula looks like this:

=OFFSET(INDIRECT(ADDRESS(1, 1, , , "DataDaily")), 0, 0,
COUNTA(INDIRECT("DataDaily!" & ADDRESS(1, 1) & ":" & ADDRESS(65536,
1))),
COUNTA(INDIRECT("DataDaily!" & ADDRESS(1, 1) & ":" & ADDRESS(1,
256))))

Which I've changed to:

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

The reason for the original formula was to avoid issues when the range
was deleted. Obviously the second formula is simpler, and I'll have
to workaround deletion issues. Anyway, if anyone has anything to add,
it'd be good to understand why this isn't working in XL07.
 
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
Excel 2007: "Reference is not valid" when refreshing pivot table Paul Martin[_2_] Excel Discussion (Misc queries) 2 January 5th 10 02:47 AM
what does "data source reference is not valid' in Pivot table roshan New Users to Excel 0 August 20th 09 03:18 AM
Pivot Table "Data source reference is not valid" error cause? Bill Neurohr Excel Discussion (Misc queries) 1 March 11th 09 10:16 PM
Pivot Table - Error "Reference Is Not Valid" Olly Excel Discussion (Misc queries) 0 May 22nd 07 09:27 AM
OfficeXP "Cannot open pivot table source file" when refreshing pivot table Luc Alquier Excel Programming 2 December 9th 03 11:11 PM


All times are GMT +1. The time now is 07:20 AM.

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"