Hi guys,
Can someone please help with a formula?
I have a list of names in column A, and some dates in column B. I need to work out how many names appear more than once between certain dates.
E.g.
I want to use the date range from 01 to 10 June. I have those dates in separate cells (e.g. start date in F1, End date in G1).
My data would look like this:
Col A Col B Col F Col G
(Name) (Date) 01 June 2019 10 June 2019
Carrie 31/May/2019
Bob 01/June/2019
Annie 02/June2019
James 03/June/2019
Carrie 04/June/2019
Annie 05/June/2019
Bob 05/June/2019
John 05/June/2019
Dave 06/June/2019
Bob 07/July/2019
(sorry, i tried to space the data out but extra spaces are being removed).
Carrie appears more than once but one occurrence is before my date range so Carrie should not be counted.
Bob and Annie appear more than once in my date range so I would need to return a count of 2. I don't need to know how many duplicates there are or which names appear more than once. I just need how many of the names in column A appear more than once in my date range.
I would guess at this being combination of Countif and Sumproduct but I don't quite understand how to combine them.
It would probably be easier in a pivot table but it needs to be a formula in this instance.
Can anyone help?
Can someone please help with a formula?
I have a list of names in column A, and some dates in column B. I need to work out how many names appear more than once between certain dates.
E.g.
I want to use the date range from 01 to 10 June. I have those dates in separate cells (e.g. start date in F1, End date in G1).
My data would look like this:
Col A Col B Col F Col G
(Name) (Date) 01 June 2019 10 June 2019
Carrie 31/May/2019
Bob 01/June/2019
Annie 02/June2019
James 03/June/2019
Carrie 04/June/2019
Annie 05/June/2019
Bob 05/June/2019
John 05/June/2019
Dave 06/June/2019
Bob 07/July/2019
(sorry, i tried to space the data out but extra spaces are being removed).
Carrie appears more than once but one occurrence is before my date range so Carrie should not be counted.
Bob and Annie appear more than once in my date range so I would need to return a count of 2. I don't need to know how many duplicates there are or which names appear more than once. I just need how many of the names in column A appear more than once in my date range.
I would guess at this being combination of Countif and Sumproduct but I don't quite understand how to combine them.
It would probably be easier in a pivot table but it needs to be a formula in this instance.
Can anyone help?
Last edited: