how to sumif when the range is split over several columns

dgcaskey

New Member
Joined
Apr 26, 2005
Messages
6
I have a sheet whose data looks like this (only much larger, of course):

Account# JanAmount Account# FebAmount Account# MarAmount
132441 $36.28 12444 $249.45 143144 $223.10
144314 $97.19 143144 $283.29 41343 $278.80
12444 $68.82
143144 $37.79
41343 $59.20

... and I need to summarize the data by account number in a table like this:

1st quarter totals
Account # Amount
132441 $36.28
144314 $97.19
12444 $318.27
143144 $544.18
41343 $338.00

Can I use sumif to summarize across several columns? Or is there a more elegant way to get my second table?
 
Last edited:

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
maybe something like...

B9=SUMIF($A$2:$E$6,A9,$B$2:$F$6)

you need to pay close attention to the ranges


Row\Col
A​
B​
C​
D​
E​
F​
1​
Account#JanAmountAccount#FebAmountAccount#MarAmount
2​
132441
$36.28​
12444​
$249.45​
143144​
$223.10​
3​
144314
$97.19​
143144​
$283.29​
41343​
$278.80​
4​
12444
$68.82​
5​
143144
$37.79​
6​
41343
$59.20​
7​
8​
AccountAmount
9​
132441
36.28​
10​
144314
97.19​
11​
12444
318.27​
12​
143144
544.18​
13​
41343
338​

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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