Formula Help to find x between date range

TeresaMarx

New Member
Joined
Dec 7, 2010
Messages
15
Hi I need some help figuring out a formula for the following

I need to a report that will show True if A:A=Amina and B:B is on or between 01/01/2011 and 01/31/2011
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
This will count the no of rows where column A="Amina" and B has a date in 2011.

=SUMPRODUCT(--(A1:A100="Amina"),--(YEAR(B1:B100)=2011))

Not sure if that's what you want though.
 
Upvote 0
It looks like that will give me a year as the response, I'm trying to "count" How many items are assigned to a person a month. So I need the formula to look at every thing in Column A (A:A) and pick out all the ones that say Amina, then I need it to look at Column B (B:B) and only count (say True) for the items that were assigned on and between January 1 and January 31.
 
Upvote 0
No it will give you the count you describe.

The first part (A1:A100="Amina") checks for 'Amina' in column A.

(YEAR(B1:B100)=2011) checks the date in column B to see if it's in the year 2011 (1 January 2011 - 31 January 2011).
 
Upvote 0
Hi I need some help figuring out a formula for the following

I need to a report that will show True if A:A=Amina and B:B is on or between 01/01/2011 and 01/31/2011

On Excel 2007 or later...

=COUNTIFS(A:A,"Amina",B:B,">=01/01/2011",B:B,"<=01/31/2011")

If you assign cells to criteria like this:

E2: Amina
F2: 01/01/2011
G2: 01/31/2011

H2:

=COUNTIFS(A:A,E2,B:B,F2,B:B,G2)

Or...

=SUMPRODUCT(--($A$2:$A$400=E2),--($B$2:$B$400>=F2),--($B$2:$B$400<=G2))
 
Upvote 0
Hi I need some help figuring out a formula for the following

I need to a report that will show True if A:A=Amina and B:B is on or between 01/01/2011 and 01/31/2011
One way...

=SUMPRODUCT(--(A2:A10="Amina"),--(TEXT(B2:B10,"mmmyyyy")="Jan2011"))
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,971
Members
452,371
Latest member
Frana

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