Change SUMIFS "Sum Range" Column based on criteria - Any ideas?

n0m0reg0dz

New Member
Joined
Mar 17, 2015
Messages
2
Hi All,

This is my first post on this forum, where i have actually found many great ideas and solutions.

For my issue, i have tried looking into this forum and i could not find a satisfying solution, so i decided to try and ask giving as an example my problem, to see if there is anyone that can give me a better solution.

I have the below table (example)

BCDE
VAT1VAT2VAT3
3A567
4B678
5C8912
6D142314
7A257
8B458
9C853
10Total476059

<colgroup><col width="64" span="5" style="width:48pt"> </colgroup><tbody>
</tbody>

The numbers left of the letter represent the rows, while the B-C-D-E the columns.

I would like to create a sumifs that will allow me to change the Sum Range based on a criteria regarding the name of the Column, i.e. if my criteria is "VAT1", then the sumifs would be: =sumifs(C:C,B:B,"A") while if my criteria was "VAT2" the formula would be: =sumifs(D:D,B:B,"A")

Anyone has any idea on the above?

Thank you in advance,

George
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,215,059
Messages
6,122,916
Members
449,093
Latest member
dbomb1414

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