Revised Question: Sum every other cell in a single row?

Status
Not open for further replies.

cdpar

New Member
Joined
Nov 16, 2018
Messages
7
Hi,

I was told my previous question was not clear, so I am reposting:


  • I have a single row of numbers in 100 cells (A1:A100)
  • I want to "Select" every other cell (Odd) to use in a formula to place in cell A150.
  • Currently I add the formula "=Sum(A1, A3, A5, A7, ... A99)"

Here is my challenge: Each week the number of cells in Row A can increase or decrease by more than 20 figures.

Currently I manually edit the formula in Cell A150 by either adding or removing the cell references for the additional cells. So my new formula might be "=Sum(A1, A3, A5, A7, ... A101, A103, A105, A107, A109)"

Is there a function I can add to my formula which will automatically add or subtract the cells in the new row so that I do not have to spend my time editing the references?

Please help. I hope this is clearer.

Thanks!

Chuck


Example: SUM(A1+A3+A5+A7 ... GA1+GA3)

How can I automatically have Excel give me all of the cell addresses for every other cell in the row?

The number of cells in the row changes from week to week so I have to modify the resulting formula each week.

Thank you!
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Status
Not open for further replies.

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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