Something wrong with that "narrative"...IF formula to be used.
Assume January's are on Jan 14 and Jan 28 ; so interest 3 days later?
To use financial formulas, stuff must coincide.
Only way I can see handling your problem is by a special program
to fit it, feeding dates and the likes...