Sumif based upon a criteria and between date ranges

CatFund

New Member
Joined
Dec 20, 2016
Messages
3
I need to sum a dollar figure between a date range based upon a text entry in another column

Dates are a2:a40000
Dollar Figure is d2:d40000
M2:M40000 is a Y or a N
Date Range is X2 as the start date and Y2 as the end date

I need to add up the dollar figure between the date range if M2:M40000 is marked with a "N"

I think I need to use Sumifs, but I just can't figure it out. Please help.

This is the formula I am trying to work with. It is obviously not even close

=sumifs(d$2:d$40000, M2:m40000"="N,a2:A40000 ">=x2, A2:a40000<=Y2)
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
maybe something like...

=SUMIFS($D$2:$D$40000,$M$2:$M$40000,"N",$A$2:$A$40000, ">="&$X$2,$A$2:$A$40000,"<="&$Y$2)
 
Upvote 0

Forum statistics

Threads
1,214,954
Messages
6,122,461
Members
449,085
Latest member
ExcelError

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