How to SUMIF a Range having particular Series

petes

Board Regular
Joined
Sep 12, 2009
Messages
168
Guys -

I need a formula in Sheet1 Column B. The exact matching criteria may not be in Sheet2, but it need take the series (Eg: 11 & 12) and compare with Sheet1. Hope the example below with coloring is helpful. Thanks!


Sheet 1

[TABLE="width: 500"]
<tbody>[TR]
[TD]Series[/TD]
[TD]Need formula below?? (Amount)[/TD]
[/TR]
[TR]
[TD]11-00-00[/TD]
[TD]3000[/TD]
[/TR]
[TR]
[TD]12-00-00[/TD]
[TD]5000[/TD]
[/TR]
</tbody>[/TABLE]

Sheet 2

[TABLE="width: 500"]
<tbody>[TR]
[TD]Series[/TD]
[TD]Amount[/TD]
[/TR]
[TR]
[TD]11-00-01[/TD]
[TD]1000[/TD]
[/TR]
[TR]
[TD]11-00-02[/TD]
[TD]500[/TD]
[/TR]
[TR]
[TD]11-00-03[/TD]
[TD]500[/TD]
[/TR]
[TR]
[TD]11-00-05[/TD]
[TD]1000[/TD]
[/TR]
[TR]
[TD]12-00-02[/TD]
[TD]2500[/TD]
[/TR]
[TR]
[TD]12-00-03[/TD]
[TD]2500[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
See if something like this could be used. Adjust ranges of course.

Excel Workbook
AB
1SeriesSum
211-00-003000
312-00-005000
Sheet1
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,633
Latest member
DougMo

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