I am trying to work out the average profit or loss per day in any given month.
However my formula is only averaging number between the days currently present, I know that somehow I need the total amount (at any point so far) during the month to be divided by 31.
If there is no data, however (for a future month, for example, the cell should remain blank)
This is the formula I am currently using : =IFERROR(1/(1/AVERAGEIFS('SHARES LOG'!L:L,'SHARES LOG'!P:P,">="&DATE(2021,1,1),'SHARES LOG'!P:P,"<="&DATE(2021,1,31))),"")
If anyone could tweak this that would be great.