convert =SUM(A1:A3) to =A1+A3

Deliverable7

New Member
Joined
Apr 9, 2016
Messages
33
Hi,
I have a complex filtered list with multiple formula =Sum(up to 30+ cells) that will corrupt as i re-filter my data. Is there a way to change a formula or vba to convert from =SUM(A1:A3) to =A1+A3 etc. I would be looking to restrict the vba to a single column.
Looking at having to manually change around 1,000 cells one a ta time:-(
Thanks
Colin
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
hi, Colin
Can you use the SUBTOTAL function? It is made for this sort of thing.

If not, please give some further description. Regards, Fazza
 
Upvote 0
Is there a way to change a formula or vba to convert from =SUM(A1:A3) to =A1+A3 etc. I would be looking to restrict the vba to a single column.
Fazza appears to have given you a good piece of advice, but I wanted to point out to you that what I highlighted in red is not equivalent to what I highlighted in blue. This...

=SUM(A1:A3)

is equivalent to this...

=A1+A2+A3

and not what I highlighted in blue above. Also note that if you have more cells in the range, you would have more values in your summation. I'd try what Fazza has pointed you to instead.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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