ironman arms
New Member
- Joined
- Jun 18, 2013
- Messages
- 4
I am trying to write a formula that will test if a re-fi date is in an annual date range (eg. 01/01/xx-12/31/xx). I need it to return the remaining balance at different dates or "0" depending on the outcomes.
IF Re-Fi Date is > Annual period = Balance at the end of that year
IF Re-Fi Date is =>WITHIN<= Annual period = Balance AT Re-Fi date itself
IF Re-Fi Date is < 12/31 of Annual period = Return "0" balance. (Meaning it was paid off)
My look-ups work fine, but having trouble getting the date range tests to work... I've replaced cells with the actual dates below. Any help would be greatly appreciated!!
=IF(04/01/2025>=01/01/2024,(-LOOKUP(12/31/2024,'Loan A - Amo'!$E$15:$E$314,'Loan A - Amo'!$S$15:$S$314))), IF('04/01/2025>=01/01/2024, AND(04/01/2025<=12/31/2024,(-LOOKUP(04/01/2025,'Loan A - Amo'!$E$15:$E$314,'Loan A - Amo'!$S$15:$S$314)))), IF(04/01/2025>12/31/2024,"-")
IF Re-Fi Date is > Annual period = Balance at the end of that year
IF Re-Fi Date is =>WITHIN<= Annual period = Balance AT Re-Fi date itself
IF Re-Fi Date is < 12/31 of Annual period = Return "0" balance. (Meaning it was paid off)
My look-ups work fine, but having trouble getting the date range tests to work... I've replaced cells with the actual dates below. Any help would be greatly appreciated!!
=IF(04/01/2025>=01/01/2024,(-LOOKUP(12/31/2024,'Loan A - Amo'!$E$15:$E$314,'Loan A - Amo'!$S$15:$S$314))), IF('04/01/2025>=01/01/2024, AND(04/01/2025<=12/31/2024,(-LOOKUP(04/01/2025,'Loan A - Amo'!$E$15:$E$314,'Loan A - Amo'!$S$15:$S$314)))), IF(04/01/2025>12/31/2024,"-")