Re: How can I apply a formula to an entire column without dragging? You can double click on the bottom right hand corner of the cell with the formula. This will fill down all the cells until there is a break (a blank cell) in the column to the left.
Let's assume all your data is in Sheet1 starting at cell A1. Create Sheet2. Enter the =LEN(Sheet1!A1) formula in cell A1 on Sheet2. Pull Sheet2's A1 cell down/over to the right to cover the populated range of Sheet1 (to copy the formula to every cell of the range in scope) - this will give you the length of every cell in scope. Enter the =MAX(A1:A10) formula on Sheet2 in the first column below the last line ( A10 is assumed to be the last line of the first column in this example - so the formula goes in A11). Pull Sheet2's A11 cell over to the right till the last column to get the MAX length of values for each column.
With Excel 2007, I’m trying to create a 10-row spreadsheet that in Column A shows a representative’s sales figures. Column B is to show what percentage each salespersons’ sales is of total sales. Column A Sales Column B% 1.
$100 =A1/A4 2. $300 =A2/A4 3.
$200 =A3/A4 4. SUMl 100% This works fine but when I copy the formula and paste it into Column B’s row 2 and 3, the formula created is =A2/A5 and =A3/A6 and I get an error since A5 and A6 aren’t populated. How do I set up a formula that can be copied and maintain the cell containing the Total dollars? Your help will be appreciated. Relative and Absolute Cell References A relative reference means that the row or column reference is relative to the referencing cell and, when the formula is copied to other cells, the relative cell references are shifted such that the distance or offset between the referencing cell and the referenced cell remains the same. An absolute cell reference means that the row or column reference is fixed and does not change when the formula is copied to other cells. With the A1 reference style a dollar sign is used to create an absolute reference.
For example, the cell reference A$1, when copied to other cells, will always reference row 1 but the column may change if copied to another column. The cell reference $A$1 will allays reference cell A1 regardless of where it is copied. Whether a row or column is an absolute or relative reference makes no difference in how the formula is calculated or the result it produces.
They only have different effects when formulas are copied to other cells. For this reason, the decision as to whether cell references are absolute or relative should be made with regard to whether or not the formula will be copied to other cells. While entering each cell reference in a formula, consider how the referenced cell should be treated as the formula is copied to other rows and columns. If the referenced cell's row should be the same then make the row an absolute reference by placing a dollar sign in front of the row number. If the column should be the same then place a dollar sign in front of the column letter.
Note that relative references are not shifted when a formula is moved by either cutting and pasting or by dragging. Relative cell references are only adjusted when cells are copied.
Formulas can also be copied and pasted one at a time without changing the cell references by editing the cell and copying the formula in the formula bar, editing the destination cell and pasting the formula text into the formula bar.