Formula to calculate dates in specific cells

lzweifel

Board Regular
Joined
Feb 21, 2006
Messages
213
I am trying to create a simple spreadsheet which will tell me when Invoices are due. What I would like to do is enter a date of an invoice and each time I open the spreadsheet based on the current date the due dates will change. So, for example today is May 14th and I open the spreadsheet. An invoice I entered on January 8th will show under the column 120 days on May 8th..... an invoice on Feb 2 will show over 90 days on May 3rd and invoice entered on April 10 with show Over 30 days.

There may be a better way, no doubt.... but what I am looking for is to open the spreadsheet and see the dates in which everything is due. So I could put formulas in to calculate 30 days, 60 days, 90 days etc. But if that particular invoice is now 90 days based on the day I open the spreadsheet I do not want it to display the date in the 30 or 60 day column.

Hope someone can give me some assistance, I will appreciate it very much!

Lorie
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Can you post a sample of how's your data is set it up?
Use Mr excel HTML maker( see how on my signature)
 
Upvote 0
With your data laid out like this:
AB C DEFGH
1CustomerInvoice Date Amount 0-30 days31-60 days61-90 days91-120 daysover 120 days
2ABC Corp4/30/2015 100.001000000
3DEF Corp3/27/2015 200.000200000
4GHI Corp2/25/2015 300.000030000
5JKL Corp1/20/2015 400.000004000
6MNO Corp11/30/2014 500.000000500

<colgroup><col><col><col><col><col span="5"></colgroup><tbody>
</tbody>


Enter these formula and copy down:

In D2:
Code:
=IF(TODAY()-B2<31,C2,0)
In E2:
Code:
=IF(AND(TODAY()-B2>30,TODAY()-B2<61),C2,0)
In F2:
Code:
=IF(AND(TODAY()-B2>60,TODAY()-B2<91),C2,0)
In G2:
Code:
=IF(AND(TODAY()-B2>90,TODAY()-B2<121),C2,0)
In H2:
Code:
=IF(TODAY()-B2>120,C2,0)
 
Last edited:
Upvote 0
Calculate your aging, then push into a Pivot table for your reporting.
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,816
Members
449,049
Latest member
cybersurfer5000

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