"sumif" help

olukay

New Member
Joined
Oct 1, 2018
Messages
4
Hello there,

Please assist

Please I need a formula that reports how much cookies James sold between [TABLE="width: 118"]
<tbody>[TR]
[TD="class: xl63, width: 118"]03/01/2019 and 09/01/2019. See table below

[TABLE="width: 336"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][TABLE="width: 336"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Salesman[/TD]
[TD]Cookies [/TD]
[/TR]
[TR]
[TD]01/01/2019[/TD]
[TD]James[/TD]
[TD]2,000[/TD]
[/TR]
[TR]
[TD]02/01/2019[/TD]
[TD]John[/TD]
[TD]2,120[/TD]
[/TR]
[TR]
[TD]03/01/2019[/TD]
[TD]Peter[/TD]
[TD]2,240[/TD]
[/TR]
[TR]
[TD]04/01/2019[/TD]
[TD]James[/TD]
[TD]2,360[/TD]
[/TR]
[TR]
[TD]05/01/2019[/TD]
[TD]John [/TD]
[TD]2,375[/TD]
[/TR]
[TR]
[TD]06/01/2019[/TD]
[TD]Peter[/TD]
[TD]2,390[/TD]
[/TR]
[TR]
[TD]07/01/2019[/TD]
[TD]James[/TD]
[TD]2,405[/TD]
[/TR]
[TR]
[TD]08/01/2019[/TD]
[TD]John[/TD]
[TD]2,420[/TD]
[/TR]
[TR]
[TD]09/01/2019[/TD]
[TD]Peter[/TD]
[TD]2,540[/TD]
[/TR]
[TR]
[TD]10/01/2019[/TD]
[TD]James[/TD]
[TD]2,660[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]



[/TD]
[/TR]
[TR]
[TD="class: xl63, width: 118"][/TD]
[/TR]
</tbody>[/TABLE]
 
Try

=SUMIFS(C2:C11,B2:B11,"James",A2:A11,">="&A14,A2:A11,"<="&A15)

A14 & A15 are your 2 dates
 
Upvote 0

Forum statistics

Threads
1,226,848
Messages
6,193,318
Members
453,790
Latest member
yassinosnoo1

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