Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jay Jay is offline
external usenet poster
 
Posts: 671
Default Dynmic Range in pivot table

Thanks in advance.

My pivot table needs to be refreshed every time when new data come.
I set up a dynamic data source using OFFSET as follow:
=OFFSET(Data!$A$1,0,0,COUNTA(Data!$A:$A),COUNTA(Da ta!$1:$1))
It works fine at this point.

I want to insert one extra row in row number 1 and range definition get
changed as follows.
=OFFSET(Data!$A$2,0,0,COUNTA(Data!$A:$A),COUNTA(Da ta!$2:$2)).

Unfortunately this range cover one extra row!!

Please, let me know how not to include one extra blank row.

Thanks

Jae


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,355
Default Dynmic Range in pivot table

Did you try this?

=OFFSET(Data!$A$2,0,0,COUNTA(Data!$A:$A)-1,COUNTA(Data!$2:$2)).
--
HTH,
Barb Reinhardt



"Jay" wrote:

Thanks in advance.

My pivot table needs to be refreshed every time when new data come.
I set up a dynamic data source using OFFSET as follow:
=OFFSET(Data!$A$1,0,0,COUNTA(Data!$A:$A),COUNTA(Da ta!$1:$1))
It works fine at this point.

I want to insert one extra row in row number 1 and range definition get
changed as follows.
=OFFSET(Data!$A$2,0,0,COUNTA(Data!$A:$A),COUNTA(Da ta!$2:$2)).

Unfortunately this range cover one extra row!!

Please, let me know how not to include one extra blank row.

Thanks

Jae


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
Pivot Table as Source Range Jim May Excel Discussion (Misc queries) 4 January 9th 08 12:09 AM
Pivot Table Range Scott R Excel Worksheet Functions 1 September 27th 07 06:56 AM
Pivot Table Date Range carolini Excel Discussion (Misc queries) 0 March 12th 07 07:33 PM
Multiple Range Pivot Table chalky Excel Worksheet Functions 1 November 11th 05 09:34 PM
Setting Range in Pivot Table Dhiraj Charts and Charting in Excel 1 August 15th 05 01:27 AM


All times are GMT +1. The time now is 10:00 PM.

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

About Us

"It's about Microsoft Excel"