BenElliott
Board Regular
- Joined
- Jul 19, 2012
- Messages
- 144
What is wrong with this formula?
{=SUM(--(FREQUENCY(IF((LocalHistory[Date]<=EOMONTH(NOW(),-48)),MATCH(LocalHistory[Talk Number In],LocalHistory[Talk Number In],0)),ROW(LocalHistory[Talk Number In])-ROW($A$2)+1)>0))}
It refers to an XL table named LocalHistory of which the below is a small extract:
If I change the operator ">=" to "<" the formula works but, with EOMONTH(NOW(),0 calculating as 30 Nov 2018 the formula should be returning a result on this table extract of 6 not the #N/A as I do. Therefore, what is wrong with this formula?
<tbody>
</tbody>
{=SUM(--(FREQUENCY(IF((LocalHistory[Date]<=EOMONTH(NOW(),-48)),MATCH(LocalHistory[Talk Number In],LocalHistory[Talk Number In],0)),ROW(LocalHistory[Talk Number In])-ROW($A$2)+1)>0))}
It refers to an XL table named LocalHistory of which the below is a small extract:
If I change the operator ">=" to "<" the formula works but, with EOMONTH(NOW(),0 calculating as 30 Nov 2018 the formula should be returning a result on this table extract of 6 not the #N/A as I do. Therefore, what is wrong with this formula?
Date | Talk Number In |
26/10/2014 | 110 |
02/11/2014 | 99 |
16/11/2014 | 100 |
23/11/2014 | 123 |
30/11/2014 | 141 |
7/12/2014 | 9 |
14/12/2014 | 50 |
21/12/2014 | 67 |
4/1/2015 | 88 |
11/1/2015 | 158 |
18/1/2015 | 98 |
<tbody>
</tbody>