
Originally Posted by
petekris
I have been basically trying to insert the ending date and valuation date in the last row

Originally Posted by
joeu2004
It would have been nice if you provided the manual calculation in B1, especially for an example where the valuation date (B3) is an earlier date (e.g. 1-Oct-2020), not literally =TODAY().
I have might have misinterpreted the flexibility of the design that you require, and complicated the XIRR solution in the process.
If you simply want to append the ending valuation (B2) and valuation date (B3) to the end of the equity cash flows, array-enter (press ctrl+shift+Enter instead of just Enter) the following formula into B1.
(See the "simple" worksheet in the attached file.)
The formula assumes that you replace null strings in A11:A440 with zero, formatted as Custom [$-409]d-mmm-yyyy;;"" so that they appear to be blank.
If you prefer to leave null strings (why?!!), use the following formula instead.
See the explanation and suggestions in my posting #2 in this thread.
But change the suggested Conditional Formatting for B11:B440 as follows:
Use formula: =OR(A11=0, A11="")
Format > Number > Custom Type: ;;
Format > Font > Color: Automatic
Bookmarks