I am trying to do simple thing: I just need to set some cells to values that are on the previous rows.
I have tried =A(Row()-1) but it does not work.
I am trying to do simple thing: I just need to set some cells
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To solve this problem in Excel, usually I would just type in the literal row number of the cell above, e.g., if I’m typing in Cell
A7, I would use the formula=A6. Then if I copied that formula to other cells, they would also use the row of the previous cell.Another option is to use
Indirect(), which resolves the literal statement inside to be a formula. You could use something like:The above formula will resolve to the value of the cell in column
Aand the row that is one less than that of the cell which contains the formula.