wallsall Posted April 14, 2007 Posted April 14, 2007 In Excel spreadsheet I want to make one cell 'constant'. How is this done please?Thanks.Wallsall.
phkninja Posted April 15, 2007 Posted April 15, 2007 explain what you mean, do you want it to have a constant value or use it as a constant reference (like a variable that will be called by numerous equations).if its the latter you can name the cell and use the cell name (so if you insert rows or coulmns the equations will still function. if you use a cell name like I3 etc in an equation, the functionality is broken when yuo change the sheet layout in any manner)
wallsall Posted April 15, 2007 Author Posted April 15, 2007 Thanks, I just want the cell to have a constant value. For instance I want the cell to have a value of 10 and to remain at 10 when all all cells are referring to it.Wallsall.
jaclaz Posted April 15, 2007 Posted April 15, 2007 Sorry, I don't get it. In a spreadsheet cell you can input either a formula, something like:=3*4*A12or a value, for example:10or :=10First one is a "variable" as the result depends on value of cell A12, the latter two are "constants" they will have 10 as result no matter what you change in other cells.jaclaz
wallsall Posted April 15, 2007 Author Posted April 15, 2007 Sorry to be so confusing, I will try again.Cell A1 contains the number '10'.Cell A2 contains the number '20'.My formula in cell A3 is '=A2+A1'But if I now scroll down the column the next cell would add A3+A2 and so on.I don't want this, I want each cell to add A1 all the time.Eg:A2+A1A3+A1A4+A1A5+A1A6+A1etcetcetc.Hope you can help.Thanks.
phkninja Posted April 15, 2007 Posted April 15, 2007 make the equation=A2 + $A$1this makes A1 static. As i said before you are better yto name the cell, so you select the cell and highlight its name in the bar at the top. Then type in a name for it e.g. Constant. Now the equation is=A2 + Constant
jaclaz Posted April 15, 2007 Posted April 15, 2007 Yep.for reference say you have on B2 the formula:=A1is called "relative" addressing, when copied to C3 it will become =B2the way spreadsheets see the above is "point to the cell one column left and one row above" =$A$1is "absolute" addressing, when copied to C3 it will remain =$A$1the way spreadsheets see the above is "point to the cell in first column and in first row"There are two other ways: =$A1is absolute column/relative row, when copied to C3 it will become =$A2the way spreadsheets see the above is "point to the cell in first column and one row above"=A$1is relative column/absolute row, when copied to C3 it will become =B$1the way spreadsheets see the above is "point to the cell one column left and in first row"In Excel, when you have the cell address highlighted, press the F4 key, it will cycle through the four possible ways of addressing each time you press it.jaclaz
wallsall Posted April 15, 2007 Author Posted April 15, 2007 Thanks a lot lads!I've got it now and you been a great help.Wallsall.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now