Count Unique values between two dates - if the value has not appeared at all

Cambo99

New Member
Joined
Mar 17, 2014
Messages
7
Hello,

I need to count the unique values of a list between two dates - but only if that particular value has not already appeared. Some context might help.
I have a list of all customer receipts with the data as follows;

Column A: Receipt date
Column B: Customer name
Column C: Receipt amount

I need to know the number of new customer receipts that have been receipted in a particular date range (from cell G7 to cell H7). I can count how many receipts have been made by using the COUNTIFS function, but I have not been able to limit this to new customers only.

My current formula is =COUNTIFS(A:A,">="&G7,A:A,"<="&H7)

I am now stuck with how to add the criteria for unique names / values.

Can someone please help?
Many thanks in anticipation
 
Awesome - this formula works EXACTLY as I need it to. Thank you so much for your input - really appreciate it
 
Upvote 0

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,224,828
Messages
6,181,206
Members
453,022
Latest member
RobertV1609

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