Display and count unique values in date range

alfik1

New Member
Joined
Jun 10, 2016
Messages
14
Hi all,

Im standing in front of the task (see picture attached) and I cannot to figure it out . Does anybody has idea how to achieve desired result based on the criterias defined?
The result should be done by fromula, not by pivot or vba. If possible, do not use any formula in data table...
Im using excel 2016
Many thanx for any idea

 
Substitute in the formula E$4 and E$5 by Sheet2!E$4 and Sheet2!E$5 respectively (adjust the sheet name and cells ref)

M.
 
Upvote 0

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Yes thats what I did, but something is not ok (name of sheet and cell references are ok):



 
Last edited:
Upvote 0
It's hard to help with this picture :confused:

It worked perfectly for me with the dates on another sheet.

Sheet SUPPevalNumb

[TABLE="class: grid"]
<tbody>[TR]
[TD="bgcolor: #DCE6F1"][/TD]
[TD="bgcolor: #DCE6F1"]
K
[/TD]
[TD="bgcolor: #DCE6F1"]
L
[/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]
8
[/TD]
[TD]
From​
[/TD]
[TD]
To​
[/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]
9
[/TD]
[TD]
01/02/2018​
[/TD]
[TD]
10/02/2018​
[/TD]
[/TR]
</tbody>[/TABLE]


Helper
K3 copied down
=IF(A3="","",IF(COUNTIF(A$3:A3,A3)=1,COUNTIFS(A$3:A$100,A3,B$3:B$100,">="&SUPPevalNumb!K$9,B$3:B$100,"<="&SUPPevalNumb!L$9),""))

Re-check the sheet name, cells ref, etc, etc...

M.
 
Upvote 0
Hi Marcelo,

its working now (to be honest, I dont know where was a problem), I copied your formula and its working.
Many thanx, I see that your excel skills are excellent. Well done. Bravo!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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