SUMIFS OR ALTERNATIVE FORMULA FOR DIFFERENT COLUMNS

askall1000

Board Regular
Joined
Jan 3, 2019
Messages
58
Office Version
  1. 2016
Platform
  1. Windows
Hi, Is there a formula for sumif formula or alternative formula used in the below table if columns expand to the left so automaticly add the accounts added to right column as sumif4, sumif5 like that.

Thank you very much in advance for any help.
Book2
ABCDEFGHIJKLM
1
2
3
4Account CodeAmountAmountSumif1Sumif2Sumif3…...
5300 0011000Sales4.000,00300 001300 002
6300 0022000
7
8
9
10
11
12
13
14
15
Sheet1
Cell Formulas
RangeFormula
G5G5=+SUMIF(A5:A6,I5,B5:B6)+SUMIF(A5:A6,I5,B5:B6)
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
try this
Excel Formula:
=SUMPRODUCT(SUMIFS(B:B,A:A,H5:ZZ5))
 
Upvote 1
Solution

Forum statistics

Threads
1,224,735
Messages
6,180,640
Members
452,992
Latest member
TokugawaIesuma

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