Count number of unique values in specified date range:

bentxoxo

New Member
Joined
Jan 13, 2016
Messages
29
Hi


I'm looking to calculate on how many RNA issued in specified month. Please see my example below:



Thanks in advance!


[TABLE="width: 518"]
<tbody>[TR]
[TD]Date[/TD]
[TD][/TD]
[TD]RNA[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]TOTAL[/TD]
[/TR]
[TR]
[TD="align: right"]18/02/2019[/TD]
[TD][/TD]
[TD]3371[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]RNA[/TD]
[/TR]
[TR]
[TD="align: right"]18/02/2019[/TD]
[TD][/TD]
[TD]3372[/TD]
[TD="align: right"]2[/TD]
[TD][/TD]
[TD]Month[/TD]
[TD][/TD]
[TD]ISSUED[/TD]
[/TR]
[TR]
[TD="align: right"]18/02/2019[/TD]
[TD][/TD]
[TD]3373[/TD]
[TD="align: right"]3[/TD]
[TD][/TD]
[TD]Feb[/TD]
[TD][/TD]
[TD]18[/TD]
[/TR]
[TR]
[TD="align: right"]18/02/2019[/TD]
[TD][/TD]
[TD]3374[/TD]
[TD="align: right"]4[/TD]
[TD][/TD]
[TD]Mar[/TD]
[TD][/TD]
[TD]19[/TD]
[/TR]
[TR]
[TD="align: right"]18/02/2019[/TD]
[TD][/TD]
[TD]3374[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]18/02/2019[/TD]
[TD][/TD]
[TD]3374[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]18/02/2019[/TD]
[TD][/TD]
[TD]3374[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]18/02/2019[/TD]
[TD][/TD]
[TD]3375[/TD]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]18/02/2019[/TD]
[TD][/TD]
[TD]3375[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]18/02/2019[/TD]
[TD][/TD]
[TD]3376[/TD]
[TD="align: right"]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]20/02/2019[/TD]
[TD][/TD]
[TD]3377[/TD]
[TD="align: right"]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]20/02/2019[/TD]
[TD][/TD]
[TD]3377[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]20/02/2019[/TD]
[TD][/TD]
[TD]3378[/TD]
[TD="align: right"]8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]21/02/2019[/TD]
[TD][/TD]
[TD]3379[/TD]
[TD="align: right"]9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]21/02/2019[/TD]
[TD][/TD]
[TD]3380[/TD]
[TD="align: right"]10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]22/02/2019[/TD]
[TD][/TD]
[TD]3381[/TD]
[TD="align: right"]11[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]22/02/2019[/TD]
[TD][/TD]
[TD]3381[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]22/02/2019[/TD]
[TD][/TD]
[TD]3381[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]22/02/2019[/TD]
[TD][/TD]
[TD]3381[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]22/02/2019[/TD]
[TD][/TD]
[TD]3381[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]22/02/2019[/TD]
[TD][/TD]
[TD]3381[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]22/02/2019[/TD]
[TD][/TD]
[TD]3381[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]22/02/2019[/TD]
[TD][/TD]
[TD]3382[/TD]
[TD="align: right"]12[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]26/02/2019[/TD]
[TD][/TD]
[TD]3383[/TD]
[TD="align: right"]13[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]27/02/2019[/TD]
[TD][/TD]
[TD]3384[/TD]
[TD="align: right"]14[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]28/02/2019[/TD]
[TD][/TD]
[TD]3385[/TD]
[TD="align: right"]15[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]28/02/2019[/TD]
[TD][/TD]
[TD]3386[/TD]
[TD="align: right"]16[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]28/02/2019[/TD]
[TD][/TD]
[TD]3387[/TD]
[TD="align: right"]17[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]28/02/2019[/TD]
[TD][/TD]
[TD]3388[/TD]
[TD="align: right"]18[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1/03/2019[/TD]
[TD][/TD]
[TD]3389[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1/03/2019[/TD]
[TD][/TD]
[TD]3390[/TD]
[TD="align: right"]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1/03/2019[/TD]
[TD][/TD]
[TD]3391[/TD]
[TD="align: right"]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1/03/2019[/TD]
[TD][/TD]
[TD]3392[/TD]
[TD="align: right"]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1/03/2019[/TD]
[TD][/TD]
[TD]3393[/TD]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1/03/2019[/TD]
[TD][/TD]
[TD]3394[/TD]
[TD="align: right"]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]6/03/2019[/TD]
[TD][/TD]
[TD]3395[/TD]
[TD="align: right"]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]6/03/2019[/TD]
[TD][/TD]
[TD]3396[/TD]
[TD="align: right"]8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]6/03/2019[/TD]
[TD][/TD]
[TD]3397[/TD]
[TD="align: right"]9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]6/03/2019[/TD]
[TD][/TD]
[TD]3398[/TD]
[TD="align: right"]10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]8/03/2019[/TD]
[TD][/TD]
[TD]3399[/TD]
[TD="align: right"]11[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]8/03/2019[/TD]
[TD][/TD]
[TD]3400[/TD]
[TD="align: right"]12[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]8/03/2019[/TD]
[TD][/TD]
[TD]3401[/TD]
[TD="align: right"]13[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]8/03/2019[/TD]
[TD][/TD]
[TD]3402[/TD]
[TD="align: right"]14[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]8/03/2019[/TD]
[TD][/TD]
[TD]4000[/TD]
[TD="align: right"]15[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]15/03/2019[/TD]
[TD][/TD]
[TD]4001[/TD]
[TD="align: right"]16[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]15/03/2019[/TD]
[TD][/TD]
[TD]4001[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]15/03/2019[/TD]
[TD][/TD]
[TD]4001[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]15/03/2019[/TD]
[TD][/TD]
[TD]4002[/TD]
[TD="align: right"]17[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]18/03/2019[/TD]
[TD][/TD]
[TD]4003[/TD]
[TD="align: right"]18[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]18/03/2019[/TD]
[TD][/TD]
[TD]4004[/TD]
[TD="align: right"]19[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]18/03/2019[/TD]
[TD][/TD]
[TD]4004[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
with PowerQuery aka Get&Transform:

[Table="width:, class:head"]
[tr=bgcolor:#FFFFFF][td=bgcolor:#5B9BD5]Date[/td][td=bgcolor:#5B9BD5]RNA[/td][td][/td][td=bgcolor:#70AD47]Date[/td][td=bgcolor:#70AD47]Count[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
18/02/2019​
[/td][td=bgcolor:#DDEBF7]
3371​
[/td][td][/td][td=bgcolor:#E2EFDA]February[/td][td=bgcolor:#E2EFDA]
18​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]
18/02/2019​
[/td][td]
3372​
[/td][td][/td][td]March[/td][td]
19​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
18/02/2019​
[/td][td=bgcolor:#DDEBF7]
3373​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
18/02/2019​
[/td][td]
3374​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
18/02/2019​
[/td][td=bgcolor:#DDEBF7]
3374​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
18/02/2019​
[/td][td]
3374​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
18/02/2019​
[/td][td=bgcolor:#DDEBF7]
3374​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
18/02/2019​
[/td][td]
3375​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
18/02/2019​
[/td][td=bgcolor:#DDEBF7]
3375​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
18/02/2019​
[/td][td]
3376​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
20/02/2019​
[/td][td=bgcolor:#DDEBF7]
3377​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
20/02/2019​
[/td][td]
3377​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
20/02/2019​
[/td][td=bgcolor:#DDEBF7]
3378​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
21/02/2019​
[/td][td]
3379​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
21/02/2019​
[/td][td=bgcolor:#DDEBF7]
3380​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
22/02/2019​
[/td][td]
3381​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
22/02/2019​
[/td][td=bgcolor:#DDEBF7]
3381​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
22/02/2019​
[/td][td]
3381​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
22/02/2019​
[/td][td=bgcolor:#DDEBF7]
3381​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
22/02/2019​
[/td][td]
3381​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
22/02/2019​
[/td][td=bgcolor:#DDEBF7]
3381​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
22/02/2019​
[/td][td]
3381​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
22/02/2019​
[/td][td=bgcolor:#DDEBF7]
3382​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
26/02/2019​
[/td][td]
3383​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
27/02/2019​
[/td][td=bgcolor:#DDEBF7]
3384​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
28/02/2019​
[/td][td]
3385​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
28/02/2019​
[/td][td=bgcolor:#DDEBF7]
3386​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
28/02/2019​
[/td][td]
3387​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
28/02/2019​
[/td][td=bgcolor:#DDEBF7]
3388​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
01/03/2019​
[/td][td]
3389​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
01/03/2019​
[/td][td=bgcolor:#DDEBF7]
3390​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
01/03/2019​
[/td][td]
3391​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
01/03/2019​
[/td][td=bgcolor:#DDEBF7]
3392​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
01/03/2019​
[/td][td]
3393​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
01/03/2019​
[/td][td=bgcolor:#DDEBF7]
3394​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
06/03/2019​
[/td][td]
3395​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
06/03/2019​
[/td][td=bgcolor:#DDEBF7]
3396​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
06/03/2019​
[/td][td]
3397​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
06/03/2019​
[/td][td=bgcolor:#DDEBF7]
3398​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
08/03/2019​
[/td][td]
3399​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
08/03/2019​
[/td][td=bgcolor:#DDEBF7]
3400​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
08/03/2019​
[/td][td]
3401​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
08/03/2019​
[/td][td=bgcolor:#DDEBF7]
3402​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
08/03/2019​
[/td][td]
4000​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
15/03/2019​
[/td][td=bgcolor:#DDEBF7]
4001​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
15/03/2019​
[/td][td]
4001​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
15/03/2019​
[/td][td=bgcolor:#DDEBF7]
4001​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
15/03/2019​
[/td][td]
4002​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
18/03/2019​
[/td][td=bgcolor:#DDEBF7]
4003​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]
18/03/2019​
[/td][td]
4004​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]
18/03/2019​
[/td][td=bgcolor:#DDEBF7]
4004​
[/td][td][/td][td][/td][td][/td][/tr]
[/table]


Code:
[SIZE=1]// Table1
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    Month = Table.TransformColumns(Source, {{"Date", each Date.MonthName(_), type text}}),
    RemDup = Table.Distinct(Month),
    Group = Table.Group(RemDup, {"Date"}, {{"Count", each Table.RowCount(_), type number}})
in
    Group[/SIZE]
 
Upvote 0
In H4 control+shift+enter, not just enter, and copy down:

=SUM(IF(FREQUENCY(IF($A$2:$A$52-DAY($A$2:$A$52)+1=(1&F4)+0,$C$2:$C$52),$C$2:$C$52),1))

where F4 = Feb.
 
Upvote 0
Beautiful!

Thanks you so much Sandy666 and Aladin Akyurek.

Both macro and formula worked like charm - Much appreciated!:)
 
Upvote 0
Thanks Sandy666!

How can I add another condition in formula.

Where F4 = FEB and G4 = "1. Pack Damaged on Arrival"

Thanks heaps!
 
Upvote 0
Thanks Sandy666!

How can I add another condition in formula.

Where F4 = FEB and G4 = "1. Pack Damaged on Arrival"

Thanks heaps!

Control+shift+enter, not just enter:

=SUM(IF(FREQUENCY(IF($A$2:$A$52-DAY($A$2:$A$52)+1=(1&F4)+0,IF(DamageRange=G4,$C$2:$C$52)),$C$2:$C$52),1))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
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