I am trying to add up cashflows that fall within a date range from a string of dates and corresponding cash flows.