Need to countif query

Dazzybeeguy

Board Regular
Joined
Jan 6, 2022
Messages
116
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
I want to create a spreadsheet with a Table as follows

A2 = Start Date i.e 1st Jan 2023
B2 = End Date i.e 31st Dec 2023
C2 = Persons Name Bob ( Data Validation list)
D2 would then have the Formula


So lets assume Column H2:H1000 is a long list of dates
Column I2:I1000 is a list of people

So I want a formula that will tell me how many times Bobs name appears in the date period from A2 to B2

I hope my explanation makes sense.

Is this some kind of countif or sumif type formula

Thanks
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Give this a shot:
Excel Formula:
=COUNTIFS($H$2:$H$1000,">="&$A2,$H$2:$H$1000,"<="&$B2,$I$2:$I$1000,$C2)
 
Upvote 0
Solution

Forum statistics

Threads
1,224,260
Messages
6,177,490
Members
452,782
Latest member
ZCapitao

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