简体   繁体   中英

Excel: Can I find the sum of individual rows using an overarching formula?

I am not super well versed in Excel, but what I'm trying to do is find the sum of individual rows without having to type a different form in for each one.

I have this as my data table, and I need a sum of columns C through P in the Q row :

I know I can use the formula =SUM(C2:P2) but I would need to retype that and change the numbers for each row, and I have over 100,000 rows so that's not exactly feasible. If someone could help me out, it would be greatly appreciated. Thanks for reading.

By default, when copying or filling formulas, excel will automatically change the reference according to where you copied/filled the formulas.

To fill down a formula, after entering it into Q2, you can left-click on the square on the bottom right hand corner of cell Q2 and drag it down.

If every cell in column P has a value, then you can just double click on the square on the bottom right corner of cell Q2. Excel will then automatically copy it down as far as there are values in the adjacent P column.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM