Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Excel references from fixed cell to column end?

I need an excel formula that calculates the SUM of all column cells from a fixed level until the last cell in the column. Like : SUM from S5 to the last S cell.
I tried : SUM(S5:S) but doesn't work.

There is a cell with the number of lines. Can I use a variable in the formula like : SUM(S5:S & A1) with A1 containing the number of lines ?

like image 873
M3HD1 Avatar asked Apr 18 '12 14:04

M3HD1


People also ask

How do you reference a fixed cell in Excel?

There is a shortcut for placing absolute cell references in your formulas! When you are typing your formula, after you type a cell reference - press the F4 key. Excel automatically makes the cell reference absolute! By continuing to press F4, Excel will cycle through all of the absolute reference possibilities.

How can I keep a cell reference from changing when I fill down a formula?

If you want to maintain the original cell reference when you copy it, you "lock" it by putting a dollar sign ($) before the cell and column references. For example, when you copy the formula =$A$2+$B$2 from C2 to D2, the formula stays exactly the same. This is an absolute reference.

How do you copy formula to the end of the column Excel?

Simply do the following: Select the cell with the formula and the adjacent cells you want to fill. Click Home > Fill, and choose either Down, Right, Up, or Left. Keyboard shortcut: You can also press Ctrl+D to fill the formula down in a column, or Ctrl+R to fill the formula to the right in a row.

What is absolute cell referencing?

Absolute cell reference is a method of writing a formula in a spreadsheet document so copying that formula to another cell does not change the cell its formula references. Using an absolute reference allows you to lock the column you reference, the row you reference or both.


1 Answers

You might try =SUM(OFFSET(S5,0,0,ROWS(S:S)-ROW(S5)+1))

like image 63
Brian Camire Avatar answered Sep 22 '22 19:09

Brian Camire