I am using excel track my stock PnL. both 3/1 and 3/2 I have 2 trades. in the line chart, I only want to use the last data of the day.
date return 3/1/19 2% 3/1/19 1% 3/2/19 3% 3/2/19 4.5% 3/3/19 6%
this is what I want to show on the line chart. how do I do that?
date return 3/1/19 1% 3/2/19 4.5% 3/3/19 6%
Since charts ignore
#N/A errors, you can just add another column which produces a
#N/A if that date already exists and point your chart to that column instead.
The simple formula, for ordered data, would be something like this
If your data isn’t ordered by date then you can use this formula
This is the setup I was using: