ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Using Offset to name a range (https://www.excelbanter.com/excel-worksheet-functions/30807-using-offset-name-range.html)

Jennifer

Using Offset to name a range
 
I have a worksheet that filters data to
b17 through k(row number will vary)
can someone tell me what is wrong with this function?
I admit i have a rough time with offset!
=OFFSET(GwrStmts.!$B$17,0,0,COUNTA(GwrStmts.!$B:$B ,1),COUNTA(GwrStmts.!$2:$2))

Thank you-Jennifer
--
Though daily learning, I LOVE EXCEL!
Jennifer

arno

Hi Jennifer,


=OFFSET(GwrStmts.!$B$17,0,0,COUNTA(GwrStmts.!$B:$B ,1),COUNTA(GwrStmts.!
$2:$2))

write the count-formlas in cells and check the result they give. are
they doing what you want?

arno


Jennifer

When i test it selects column b:c and etends about 8 rows past the pt. of data.
--
Though daily learning, I LOVE EXCEL!
Jennifer


"Jennifer" wrote:

I have a worksheet that filters data to
b17 through k(row number will vary)
can someone tell me what is wrong with this function?
I admit i have a rough time with offset!
=OFFSET(GwrStmts.!$B$17,0,0,COUNTA(GwrStmts.!$B:$B ,1),COUNTA(GwrStmts.!$2:$2))

Thank you-Jennifer
--
Though daily learning, I LOVE EXCEL!
Jennifer


Bob Phillips

Jennifer,

This seems to work for me

=OFFSET('GwrStmts '!$B$17,0,0,COUNTA('GwrStmts '!$B:$B,1),COUNTA('GwrStmts
'!$2:$2))

If the sheet really does have a trailing space in the name, you need
apostrophes
--
HTH

Bob Phillips

"Jennifer" wrote in message
...
I have a worksheet that filters data to
b17 through k(row number will vary)
can someone tell me what is wrong with this function?
I admit i have a rough time with offset!

=OFFSET(GwrStmts.!$B$17,0,0,COUNTA(GwrStmts.!$B:$B ,1),COUNTA(GwrStmts.!$2:$2
))

Thank you-Jennifer
--
Though daily learning, I LOVE EXCEL!
Jennifer





All times are GMT +1. The time now is 11:41 PM.

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