Date formulas

lzweifel

Board Regular
Joined
Feb 21, 2006
Messages
213
Hi all... can someone help me to calculate out a simple formula... I have a formula which is today's date minus an invoice date to calculate how many days past the invoice date before being paid. How can I add to his by having it STOP calculating once paid.

Thanks!!!
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi,

How about adding an IF to your formula:

=If(Balance = 0,"Current",Today()-DueDate)

Obviously I cannot know what your variables are named because you neglected provide the information in your post, but I think you get the idea (on both levels)...

igold
 
Upvote 0
Hi,

Depending on the way your data is setup, but sounds something like this:


Excel 2010
ABC
1Invoice DatePaid Date
22/28/2016223/21/2016
Sheet1
Cell Formulas
RangeFormula
B2=IF(C2="",TODAY()-A2,C2-A2)
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,195
Members
449,072
Latest member
DW Draft

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