Make sure to first delete excess rows before using arrayformulas... for example if you have 100 rows of data make sure you don't have more than 200 rows in your speadsheet... (highlight right click and delete excess rows) The following formula will do what you are asking for assuming row 1 is headers.
Paste the following in cell F1
You can replace both your formulas with this single one:
Use the following formula without the need of an extra cell. It also takes into account leap years.
To avoid have to edit manually the formulas, instead of using "hardcoded" (typing the date) conditions you could use references to a cell that contains the conditions. I think that it's easier to handle this using QUERY than appending several FILTER functions.
The following formula filter the range A:D where dates in column A are between the date ...
The problem is that Sheets is not recognizing that number as a date. It sees 20161001 as 20,161,001 which, when converted to days from the "epoch" date1, gets you December 10, 1998.
You need to convert that string into an actual date that Google recognizes.
If your value is in cell A1, this will do it:
The date() ...
d/m/Y is an ambiguous date formatting.
It's very likely that this occurs because the spreadsheet regional setting used in the spreadsheet doesn't support d/m/Y as a date formatting. Please note that the screenshot included in the question shows column J values having a "day" value greater than 12, with exception of 11/01/2019 have the a white cell ...
... -> Edit chart -> Customize -> Gridlines -> Horizontal Axis (in
drop down) -> Major gridline count
Under the Major gridline count you can select or type however many dates you want to see on the horizontal label here, for auto mine shows up with a reasonable number of dates but if you wanted to see 20 dates or 10 dates you can type 20 or 10 ...
You want to display the relevant year that matches a Day/Month value in Column B that is understood to be sorted in descending order.
The format of the Day/Month values are not consistent. Some values are dates while others are strings. This is confirmed by isdate().
There are two formulas:
Cell A2, copy to bottom of page: ...
You are analysing data for 'line of best fit' where there are missing elements in the data range. How to interpolate data in a range in Google Sheets has provided a custom function with which to identify the missing elements.
The following formula attempts to provide a method by which the interpolated data can be calculated.
The formula is a combination of ...