Hello,
I have sheet (VAT registrations) where certain columns are populated by VBA with todays date (N and P), based on condition selected by a drop down list. I have another summary sheet with few SUMIFS and COUNTIFS formulas, with ranges the columns populated by the VBA (N and P).
The problem i am encountering is that those formula results do not update when the values in the range are populated by VBA, and i need to enter values there manually (or simply activate and ENTER those cells). When i make manual changes they work fine.
Sample formula (others just have different range in the same sheet). Formulas just need to count/sum entries in this month:
Is there a way to fix this and get the counters working with the VBA values?
Thanks in advance.
I have sheet (VAT registrations) where certain columns are populated by VBA with todays date (N and P), based on condition selected by a drop down list. I have another summary sheet with few SUMIFS and COUNTIFS formulas, with ranges the columns populated by the VBA (N and P).
The problem i am encountering is that those formula results do not update when the values in the range are populated by VBA, and i need to enter values there manually (or simply activate and ENTER those cells). When i make manual changes they work fine.
Sample formula (others just have different range in the same sheet). Formulas just need to count/sum entries in this month:
Code:
=COUNTIFS('VAT registrations'!P:P,">="&EOMONTH(TODAY(),-1)+1,'VAT registrations'!P:P,"<"&EOMONTH(TODAY(),0)+1,'VAT registrations'!E:E,"Registration",'VAT registrations'!F:F,"Finalised")
Is there a way to fix this and get the counters working with the VBA values?
Thanks in advance.