Formula for adding cells (with a 5 row interval)

Jojo86

New Member
Joined
Jul 24, 2023
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I have several columns and in each column I have to add several cells (with a 5 row interval):

Example:
Column A1 ='21 SUP'!A15+'21 SUP'!A20+'21 SUP'!A25+'21 SUP'!A30+'21 SUP'!A35 etc
Column B1 ='21 SUP'!B15+'21 SUP'!B20+'21 SUP'!B25+'21 SUP'!B30+'21 SUP'!B35 etc

-> Instead of adding all the cells manually (adding for example +'21 SUP'!A40 + +'21 SUP'!A50) can you please give me a formula I can use?
-> And if somehow this can be copied easily for column B1 even better.

Thanks everyone
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Try the following?
Excel Formula:
=SUM(IF(MOD(ROW('21 SUP'!A15:A100),5)=0,'21 SUP'!A15:A100,0))
 
Upvote 0
Solution
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Try the following?
Excel Formula:
=SUM(IF(MOD(ROW('21 SUP'!A15:A100),5)=0,'21 SUP'!A15:A100,0))
Thanks a lot :) This worked. Changed the comma to semicolon since I'm using version 365.

Saved me a lot of time :). I can now finish my work day haha!!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
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