SUM(FILTER(Tbl_Assets[WDV on Year 0],(Tbl_Assets[Asset Group as per Co. Act (SCH II)]=Q14)*((Tbl_Assets[Disposal Date]>StartDate)+(Tbl_Assets[Disposal Date]=0)),0))
In the above formula, if I try to input a range Q14:Q50, instead of Q14, it is giving #N/A error. How to work around this.
Column Q has following values of Asset Group
Buildings Plant & Machinery Furniture etc.
COUNTIF()into that formula as the way you explain the required test against an range of cells (instead of a singular cell) does not work directly in this syntax.Tbl_Assets[Asset Group...]=Q14:Q50(part of the 2nd argument of yourFILTER) you get a result which is a column array with size equal to the larger of the two compared arrays. The n'th element of the first array (n=1,2,...) is compared to the n'th element of the second array and the result is assigned to the n'th element of the result. Where n exceeds the size of the smaller array the result is#N/A. Unless your table has exactly 37 rows theFILTERwill fail and even when it does have 37 rows it is probably not the filter you want.