Choosing Columns to add together

nicksoph

Board Regular
Joined
Jun 13, 2009
Messages
57
Im looking for some guidance on a method to achieve the following;

I have an 8 column spreadsheet with between 40,000 to 80,000 rows and want to be able to choose to add together a number of those columns to produce another column eg, add columns A,B,F,G or just A+C (so that A1 would get added to C1, A2 added to C2....). I could simply create a new column for each of the permutations but would rather be able to specify which columns I am interested in and have the sheet reflect that choice.

Any advice on how to go about it would be appreciated.

Thanks
nicksoph
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Don't know if its best way but it will work. Putting your columns to sum in V1:Y1 ie A B C D or A D F

=IFERROR(SUM(IFERROR(INDIRECT($V$1&ROW()),0),IFERROR(INDIRECT($W$1&ROW()),0),IFERROR(INDIRECT($X$1&ROW()),0),IFERROR(INDIRECT($Y$1&ROW()),0)),0)
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,824
Members
449,050
Latest member
Bradel

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