Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a table that shows running averages, I want the sum to be calculated
using cell a1 - b1 when I enter data into col B, then b1 - c1, when I enter data into col c, and so on. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If there is nothing in row 1 except the numbers....
=SUM(OFFSET(A1,0,COUNTA(1:1)-2,1,2)) HTH, Bernie MS Excel MVP "gibsol" wrote in message ... I have a table that shows running averages, I want the sum to be calculated using cell a1 - b1 when I enter data into col B, then b1 - c1, when I enter data into col c, and so on. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks very much for the assistance, unfortunately entering this fomula has
raised a different error, which I am trawling through at present. cheers "Bernie Deitrick" wrote: If there is nothing in row 1 except the numbers.... =SUM(OFFSET(A1,0,COUNTA(1:1)-2,1,2)) HTH, Bernie MS Excel MVP "gibsol" wrote in message ... I have a table that shows running averages, I want the sum to be calculated using cell a1 - b1 when I enter data into col B, then b1 - c1, when I enter data into col c, and so on. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This should work whether the row is completely filled in or not...
=INDEX(1:1,SUMPRODUCT(MAX(COLUMN(1:1)*(1:1<"")))-1)+INDEX(1:1,SUMPRODUCT(MAX(COLUMN(1:1)*(1:1<"")) )) If you don't mind array-entered** formulas, you can use this instead... =INDEX(1:1,MAX(COLUMN(1:1)*(1:1<""))-1)+INDEX(1:1,MAX(COLUMN(1:1)*(1:1<""))) ** array-entered means commit the formula by pressing Ctrl+Shift+Enter. Rick "gibsol" wrote in message ... I have a table that shows running averages, I want the sum to be calculated using cell a1 - b1 when I enter data into col B, then b1 - c1, when I enter data into col c, and so on. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks for the information it now given me a different problem with my
formula that I need to work on. thanks for all the help. "Rick Rothstein (MVP - VB)" wrote: This should work whether the row is completely filled in or not... =INDEX(1:1,SUMPRODUCT(MAX(COLUMN(1:1)*(1:1<"")))-1)+INDEX(1:1,SUMPRODUCT(MAX(COLUMN(1:1)*(1:1<"")) )) If you don't mind array-entered** formulas, you can use this instead... =INDEX(1:1,MAX(COLUMN(1:1)*(1:1<""))-1)+INDEX(1:1,MAX(COLUMN(1:1)*(1:1<""))) ** array-entered means commit the formula by pressing Ctrl+Shift+Enter. Rick "gibsol" wrote in message ... I have a table that shows running averages, I want the sum to be calculated using cell a1 - b1 when I enter data into col B, then b1 - c1, when I enter data into col c, and so on. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I copy a value from a cell and paste it into another cell while adding it to the previous value in that cell | Excel Worksheet Functions | |||
How can I make a blank cell in a formula cell with a range of cell | Excel Discussion (Misc queries) | |||
cell data not validated if navigating cell to cell with mouse | Excel Worksheet Functions | |||
How to create/run "cell A equals Cell B put Cell C info in Cell D | Excel Discussion (Misc queries) | |||
Cell Formula reference to cell Based On third Cell Content | Excel Discussion (Misc queries) |