ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   problem naming range (https://www.excelbanter.com/excel-worksheet-functions/189269-problem-naming-range.html)

BorisS

problem naming range
 
I have a range I'm defining in the name manager, and when I enter the formula

OFFSET(a1,0,0,count(a:a),10)

then shft-tab/tab to get the blinking highlight of what it's defining, it's
clearly seeing the right range.

however, three problems:

1) when I go to the named range dropdown, the newly created range isn't there
2) when I use it in a vlookup to test, it only recognizes the range as a
1-column range
3) as soon as I save the range as the formula above, it automatically
converts to

OFFSET([sheet]A1,0,0,count([sheet]a:a,10)

Any of these problems explainable (I can understand (3), but not the
others)? Am using 2003.
--
Boris

Don Guillett

problem naming range
 
OFFSET(a1,0,0,count(a:a),10)
OFFSET($a$1,0,0,count($a:$a),10)
and you probably want countA instead of count
excel will automatically change to the sheet you are on when creating the
formula
OFFSET(sheet1!$a$1,0,0,count(sheet1!$a:$a),10)
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"BorisS" wrote in message
...
I have a range I'm defining in the name manager, and when I enter the
formula

OFFSET(a1,0,0,count(a:a),10)

then shft-tab/tab to get the blinking highlight of what it's defining,
it's
clearly seeing the right range.

however, three problems:

1) when I go to the named range dropdown, the newly created range isn't
there
2) when I use it in a vlookup to test, it only recognizes the range as a
1-column range
3) as soon as I save the range as the formula above, it automatically
converts to

OFFSET([sheet]A1,0,0,count([sheet]a:a,10)

Any of these problems explainable (I can understand (3), but not the
others)? Am using 2003.
--
Boris



BorisS

problem naming range
 
and the other two issues? any thoughts?
--
Boris


"Don Guillett" wrote:

OFFSET(a1,0,0,count(a:a),10)

OFFSET($a$1,0,0,count($a:$a),10)
and you probably want countA instead of count
excel will automatically change to the sheet you are on when creating the
formula
OFFSET(sheet1!$a$1,0,0,count(sheet1!$a:$a),10)
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"BorisS" wrote in message
...
I have a range I'm defining in the name manager, and when I enter the
formula

OFFSET(a1,0,0,count(a:a),10)

then shft-tab/tab to get the blinking highlight of what it's defining,
it's
clearly seeing the right range.

however, three problems:

1) when I go to the named range dropdown, the newly created range isn't
there
2) when I use it in a vlookup to test, it only recognizes the range as a
1-column range
3) as soon as I save the range as the formula above, it automatically
converts to

OFFSET([sheet]A1,0,0,count([sheet]a:a,10)

Any of these problems explainable (I can understand (3), but not the
others)? Am using 2003.
--
Boris




Don Guillett

problem naming range
 
test

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"BorisS" wrote in message
...
and the other two issues? any thoughts?
--
Boris


"Don Guillett" wrote:

OFFSET(a1,0,0,count(a:a),10)

OFFSET($a$1,0,0,count($a:$a),10)
and you probably want countA instead of count
excel will automatically change to the sheet you are on when creating the
formula
OFFSET(sheet1!$a$1,0,0,count(sheet1!$a:$a),10)
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"BorisS" wrote in message
...
I have a range I'm defining in the name manager, and when I enter the
formula

OFFSET(a1,0,0,count(a:a),10)

then shft-tab/tab to get the blinking highlight of what it's defining,
it's
clearly seeing the right range.

however, three problems:

1) when I go to the named range dropdown, the newly created range isn't
there
2) when I use it in a vlookup to test, it only recognizes the range as
a
1-column range
3) as soon as I save the range as the formula above, it automatically
converts to

OFFSET([sheet]A1,0,0,count([sheet]a:a,10)

Any of these problems explainable (I can understand (3), but not the
others)? Am using 2003.
--
Boris





Roger Govier[_3_]

problem naming range
 
Hi Boris

As Don has said, using COUNTA rather than COUNT maybe the reason for not
having the correct number of Rows.
Since the width of the range is fixed at 10 in the formula, Then I cannot
conceive of any possibility where you would end up with a range 1 column
wide, unless the 10 was erroneously typed as 1.
What name did you give to your named range?

When I set up named ranges, having defined the name e.g. myData and the
range e.g. OFFSET($A$1,0,0,COUNTA($A:$A),10)
I always press the Add button, then OK to quit.

--
Regards
Roger Govier

"BorisS" wrote in message
...
and the other two issues? any thoughts?
--
Boris


"Don Guillett" wrote:

OFFSET(a1,0,0,count(a:a),10)

OFFSET($a$1,0,0,count($a:$a),10)
and you probably want countA instead of count
excel will automatically change to the sheet you are on when creating the
formula
OFFSET(sheet1!$a$1,0,0,count(sheet1!$a:$a),10)
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"BorisS" wrote in message
...
I have a range I'm defining in the name manager, and when I enter the
formula

OFFSET(a1,0,0,count(a:a),10)

then shft-tab/tab to get the blinking highlight of what it's defining,
it's
clearly seeing the right range.

however, three problems:

1) when I go to the named range dropdown, the newly created range isn't
there
2) when I use it in a vlookup to test, it only recognizes the range as
a
1-column range
3) as soon as I save the range as the formula above, it automatically
converts to

OFFSET([sheet]A1,0,0,count([sheet]a:a,10)

Any of these problems explainable (I can understand (3), but not the
others)? Am using 2003.
--
Boris





All times are GMT +1. The time now is 01:26 AM.

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