Hi,
Brand new to the forum, but I've been using your forum for many years working with Excel for out of the box solutions. Happy to finally be a member and am looking for another out of the box solution.
I'm tinkering with an XIRR function and am having a small issue with the dynamic range. To give you an example, I have my dates within C8:C200 and the list moves when the support tables are refreshed. So for a particular fund if I run this there may be date values from C8:C50, but the rest of the range returns #Value! (as it should, because there is no data in those rows from the support tables.) My current dynamic range sets the array from C8: to the last date before the #Value. This works fine, but I need to add one additional static row to the array. In the above example if my dates go from C8:C50, I also need to include the date from cell C201. If it was a sum function it would look like SUM (C8:C50,C201).
The formula I'm using for the dates is:
=OFFSET(Main!$C$8,0,0,COUNTIF(Main!$C$8:$C$200,"<>#Value!"),1)
I'd need the same formula for values, but the formula would use the same syntax.
Any thoughts on this would be appreciated!
Thanks,
B
Bookmarks