If/Then using a due date for a bill

redkahula

New Member
Joined
Nov 19, 2013
Messages
1
I've been pulling my hair out all day... so I figured I should finally break down and ask someone.

I keep a spreadsheet for my bills (who doesn't, I know). On it, I've always either copy/pasted the "Amount" in the applicable cell for when a bill is due, or a cell reference (in case it changes, makes it easy). Lately, I've been thinking about making it more "automagical", and getting Excel to do that work for me.

So, I tried to insert an If/Then formula stating that "If the Date Due is after the Pay Day then the cell value should equal the Amount due... otherwise "".

The trouble I've run into is that while my car payment is due on the 5th there are precious few cells that will work. April 4th will work, for instance, because 4 is less then 5, however 11/29 won't work since 29>5 even though 12/13 is beyond the due date for my car payment.

Does this make sense?

I've tried all that I can imagine for IF/THENs and AND/OR combinations, but I'm stuck.

Help!

Pay Date11/29/201312/13/201312/27/20131/10/20141/24/20142/7/20142/21/20143/7/20143/21/20144/4/20144/18/20145/2/20145/16/20145/30/20146/13/20146/27/20147/11/20147/25/2014
Pay Day29132710247217214182163013271125
Car Loan
ExpenseBalanceAmountDate Due
Car Loan$6,019.68$134.285

<tbody>
</tbody>
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Consider something like this where Pay Day has the full date in it but the cell is custom formatted as "dd". Now 11/29/2013 is earlier than say 4/5/2014. In other words if Due Date is a full date (mm/dd/yyyy), you need to compare it to a full Pay Date not just the day of the month of the Pay date.
Excel Workbook
AB
1Pay Date11/29/2013
2Pay Day29
Sheet1
 
Upvote 0
This should solve the problem

=IF(OR((DATE(YEAR(B1),MONTH(B1),5)-B1)<-18,(DATE(YEAR(B1),MONTH(B1),5)-B1)>=0),$C$5,"")


Pay Date11/29/1312/13/1312/27/13
Pay Day291327
Car Loan134.28134.28
ExpenseBalanceAmountDate Due
Car Loan$6,019.68$134.285

<colgroup><col span="4"></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,883
Messages
6,122,077
Members
449,064
Latest member
MattDRT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top