ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Dynamic Range Problem (https://www.excelbanter.com/excel-discussion-misc-queries/2966-dynamic-range-problem.html)

[email protected]

Dynamic Range Problem
 
Hi ALL:
I created a dynamic range name Production that refers to the following
formula = offset('daily production output'!$a$1,0,0,counta('daily
production output'!$a$a),5)which is is to be used in a pivot table.
However when I enter data in the range, one row of blanks is always
selected along with row of data. Labels are in a1,b1 etc.
Any help will be appreciatedto solve this problem


Bernie Deitrick

PL,

You may have a seemingling blank cell somewhere way down column A on "Daily
production output" that is increasing the value returned by the counta.

HTH,
Bernie
MS Excel MVP

wrote in message
oups.com...
Hi ALL:
I created a dynamic range name Production that refers to the following
formula = offset('daily production output'!$a$1,0,0,counta('daily
production output'!$a$a),5)which is is to be used in a pivot table.
However when I enter data in the range, one row of blanks is always
selected along with row of data. Labels are in a1,b1 etc.
Any help will be appreciatedto solve this problem




Aladin Akyurek

Would you specify which column from A:E is the most complete and of
numeric type?

wrote:
Hi ALL:
I created a dynamic range name Production that refers to the following
formula = offset('daily production output'!$a$1,0,0,counta('daily
production output'!$a$a),5)which is is to be used in a pivot table.
However when I enter data in the range, one row of blanks is always
selected along with row of data. Labels are in a1,b1 etc.
Any help will be appreciatedto solve this problem


Peo Sjoblom

If it is always one extra row just subtract 1

=offset(cell,0,0,counta(range)-1,5)


Regards,

Peo Sjoblom

" wrote:

Hi ALL:
I created a dynamic range name Production that refers to the following
formula = offset('daily production output'!$a$1,0,0,counta('daily
production output'!$a$a),5)which is is to be used in a pivot table.
However when I enter data in the range, one row of blanks is always
selected along with row of data. Labels are in a1,b1 etc.
Any help will be appreciatedto solve this problem



[email protected]

Thanks very much for your help. I did insert data in row 2000 while
testing!!!
Problem solved

PL



All times are GMT +1. The time now is 11:51 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com