Sumif?

ha95148

New Member
Joined
May 10, 2016
Messages
30
Office Version
  1. 365
Hi, my data set is below, with different dates in column A, and there are multiple rows with the same dates
I would like to get the total $amount, for 9/22/17, for example, where Type is not = services
could you help me with the formula for this?

[TABLE="class: grid, width: 200, align: left"]
<tbody>[TR]
[TD="align: center"]1
[/TD]
[TD="align: center"]A
[/TD]
[TD="align: center"] B
[/TD]
[TD="align: center"] C
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]dates
[/TD]
[TD]$amount
[/TD]
[TD]type
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]8/23/17
[/TD]
[TD]$1250
[/TD]
[TD]product
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]9/22/17
[/TD]
[TD]$1000
[/TD]
[TD]services
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]9/22/17
[/TD]
[TD]$2000
[/TD]
[TD]support
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]10/25/17
[/TD]
[TD]$3000
[/TD]
[TD]product
[/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="width: 244"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


Thanks so much!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Hi,
Here is the formula that you require.
Code:
=SUMIFS($B$2:$B$5,$A$2:$A$5,DATE(2017,9,22),$C$2:$C$5," < > "&"services")
 
Upvote 0
no E3 is for date if you would like it dynamic , otherwise you can also Hardcode it in the formula like DHayes did
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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