Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi there,
I am trying to reference a range that changes as each day goes by. Currently its A2:A500....Tomorrow it will be A2:A501 etc etc. So I am trying something like this but its not working A2:Count(A2:A10000). I think i might need to use offset but not sure. Thanks a lot SD |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm going to assume that there are no blank rows in column A until the last
entry and that A1 has an entry. Try =offset(A1,1,0,counta(A:A)-1,1) "SD" wrote: Hi there, I am trying to reference a range that changes as each day goes by. Currently its A2:A500....Tomorrow it will be A2:A501 etc etc. So I am trying something like this but its not working A2:Count(A2:A10000). I think i might need to use offset but not sure. Thanks a lot SD |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks for that but not sure if its working...I want to do a linest function
on the range from a2 to last value in column A as y. So i wanted to reference A2:A500 (if A500 is last cell with any values). Not sure if this forumal works? Thanks. "Barb Reinhardt" wrote: I'm going to assume that there are no blank rows in column A until the last entry and that A1 has an entry. Try =offset(A1,1,0,counta(A:A)-1,1) "SD" wrote: Hi there, I am trying to reference a range that changes as each day goes by. Currently its A2:A500....Tomorrow it will be A2:A501 etc etc. So I am trying something like this but its not working A2:Count(A2:A10000). I think i might need to use offset but not sure. Thanks a lot SD |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
It should do. I think Barb assumed there was a heading in A1.
You would use that formula inside another function, like so =SUM(OFFSET(A1,1,0,COUNTA(A:A)-1,1)) -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "SD" wrote in message ... Thanks for that but not sure if its working...I want to do a linest function on the range from a2 to last value in column A as y. So i wanted to reference A2:A500 (if A500 is last cell with any values). Not sure if this forumal works? Thanks. "Barb Reinhardt" wrote: I'm going to assume that there are no blank rows in column A until the last entry and that A1 has an entry. Try =offset(A1,1,0,counta(A:A)-1,1) "SD" wrote: Hi there, I am trying to reference a range that changes as each day goes by. Currently its A2:A500....Tomorrow it will be A2:A501 etc etc. So I am trying something like this but its not working A2:Count(A2:A10000). I think i might need to use offset but not sure. Thanks a lot SD |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
See if this helps:
http://contextures.com/xlNames01.html#Dynamic Biff "SD" wrote in message ... Hi there, I am trying to reference a range that changes as each day goes by. Currently its A2:A500....Tomorrow it will be A2:A501 etc etc. So I am trying something like this but its not working A2:Count(A2:A10000). I think i might need to use offset but not sure. Thanks a lot SD |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Do you know how I would enter a range reference that would subtract col b
from col a (I am in col C) but the rows would change each time I rerun the reporrt. I'm trying to write a macro to automate everything and I'm ok if my data is static... I'm feeling very lost Thanks "T. Valko" wrote: See if this helps: http://contextures.com/xlNames01.html#Dynamic Biff "SD" wrote in message ... Hi there, I am trying to reference a range that changes as each day goes by. Currently its A2:A500....Tomorrow it will be A2:A501 etc etc. So I am trying something like this but its not working A2:Count(A2:A10000). I think i might need to use offset but not sure. Thanks a lot SD |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
automatic range - named range give me circular reference... | Excel Discussion (Misc queries) | |||
Prevent formula reference from changing | Excel Discussion (Misc queries) | |||
Changing named range reference depending on a cell's content | Excel Discussion (Misc queries) | |||
changing the formula's row reference | Excel Discussion (Misc queries) | |||
A cell reference in a formula changing | Excel Worksheet Functions |