Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Lets say I have some numbers in the range A1:A10 and I have to take a
sum of it in cell B1, I will use the formula =SUM(A1:A10). My question is, is it possible to detect the last row of the range and have a dynamic formula? For instance, the formula should be able to detect A10 (the second parameter) automatically. something like =SUM(A1:&count(A:A)) &count(A:A) count will give the value 10 Sandy |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Why not just use
=SUM(A:A) -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) wrote in message oups.com... Lets say I have some numbers in the range A1:A10 and I have to take a sum of it in cell B1, I will use the formula =SUM(A1:A10). My question is, is it possible to detect the last row of the range and have a dynamic formula? For instance, the formula should be able to detect A10 (the second parameter) automatically. something like =SUM(A1:&count(A:A)) &count(A:A) count will give the value 10 Sandy |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
providing you don't have blanks then
=SUM(a1:OFFSET(a1,COUNTA(a:a)-1,0)) will give you the dynamic you want - but as Bob says, why not just use the entire column?! Bob Phillips wrote: Why not just use =SUM(A:A) -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) wrote in message oups.com... Lets say I have some numbers in the range A1:A10 and I have to take a sum of it in cell B1, I will use the formula =SUM(A1:A10). My question is, is it possible to detect the last row of the range and have a dynamic formula? For instance, the formula should be able to detect A10 (the second parameter) automatically. something like =SUM(A1:&count(A:A)) &count(A:A) count will give the value 10 Sandy |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you both of you for your answers. I really appreciate
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to create a 'dynamic' formula? | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Help with dynamic sum formula | Excel Worksheet Functions | |||
Setting dynamic range in a formula | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions |