Multiple Column Search and Sum

hoffkeit

New Member
Joined
Jan 7, 2014
Messages
1
My worksheet is currently laud out in this format:

Column A Column B Column C Column D
Product Type Date I.D. Number Amount

I want to write a formula for the sum of each amount in column D between certain dates in column B, for certain I.D. Numbers in Column C. I have tried SUMIF formulas, VLOOKUP formulas, and IF formulas, but I can seem to get it right. Any ideas?

Thank you!
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Did you try SUMIFS ? this allows for multiple criteria. In your case, you want a sum between specific dates. =SUMIFS(sum column D,B range,">"&date,B range, "<"&date, C Range, "="&ID#1, etc.)

I can see an issue with the ID number column. You say "certain" ID numbers. You will need to list out the idnumbers you want to look for and ensure there are criteria for them. If you can limit the ID numbers you are searching for to 5, then you will need 5 criteria.

Here is an example of a SUMIFS formula I just did. Its not exactly what you are looking for but it might get you started.

http://www.mrexcel.com/forum/excel-questions/748856-comparing-lists-sum-matches.html
 
Upvote 0

Forum statistics

Threads
1,214,960
Messages
6,122,479
Members
449,088
Latest member
Melvetica

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