trying to save some time

Brown

Board Regular
Joined
Sep 14, 2009
Messages
200
Office Version
  1. 365
Good afternoon,

I am trying to add a string of 60 numbers, all in the same column, but they are all 11 cells apart. What is the easiest way to do the formula =sum( )?
is it best to click on every cell, type all of the cell names, or is there a shortcut you guys know that will help me get all of the cell numbers in the formula quickly?

I hope this is making since.

thanks
Brown
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
What are the first and last cell addresses you that should be included in the sum?
 
Upvote 0
OK, so if you wanted to sum the values from P3, P14, P25, P36, P47, ...
then use this formula:
Code:
=SUMPRODUCT(--(P3:P710),--(MOD(ROW(P3:P710),11)=3))
 
Upvote 0
awesome thank you very much. I knew that had to be an easier way than clicking on each cell.
Brown
 
Upvote 0
You are welcome.

The way that formula works is it basically says to sum every cell where if you divide the row number by 11, the remainder is 3.
 
Upvote 0
I tried it and after looking at it i tried to change it bc i told you a couple of wrong numbers, it is every 12 and the final cell is 711.
here is what i did and it is not working, i am sure i messed up the formula, sorry

=SUMPRODUCT(--(P3:P711),--(MOD(ROW(P3:P711),12)=3))
 
Upvote 0
That would sum rows P3, P15, P27, P39, P51, ...
Is that what you want?
 
Upvote 0
thank you for the help, and sorry i am making this more difiicult

yes the cells are p3, p15, p27, p39, p51 etc.. through p711
 
Upvote 0
thank you for the help, and sorry i am making this more difiicult

yes the cells are p3, p15, p27, p39, p51 etc.. through p711
The formula I gave you will do that.

Can you test it out on a small example and see if it works?
If it does not, please let me know what your expected value is and what you are getting?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top