A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hi,
In case You want the sum-of-2-lines to appear in consecutive rows, You may consider following solution:
- In the screenshot below, numbers are in column P > starting cell P2 onwards.
Formula in cell Q2 is: =SUM(INDIRECT("P"&ROW(P2)*2-2),INDIRECT("P"&ROW(P2)*2-1))
- Please drag the formula down to more rows.
- In case Your numbers are in any other column and do not start from row#2, You are only required to modify the bold part in the above formula.
- "P" - is the column that has the numbers.
- P2 - is the 1st cell that has the number.
- 2 - is the row number of the 1st cell that has the number.
- 1 - is the row number of the 1st cell that has the number minus 1.
Please respond if You require further assistance. I will try My best to be of help.
If I was able to help You, please mark My response as answer and helpful.
Thank You!