No. of days from a calculation

skhanwalker

New Member
Joined
Nov 21, 2006
Messages
7
Hello.

I have a column in which I stored calculated values (difference between dates). However, when I update the date in another column, I change the value to "closed". Now, I have a new requirement. I need to know what was that value when I update the date. I tried using ABS function, but that cause a #VALUE to appear the moment I update the date because there is no value. Here is what it looks like:

Review Date Planned Closure Date Date Closed Number of days open No. of Days to Close

Under planned closure date, I have the formula: =IF(ISBLANK(G840)," ",(G840+30))

Under number of days open I have the formula: =IF(A840="","",IF(I840="",NOW()-G840,"Closed"))

I now to know the number of days the transaction was open even after it has been closed, so that I can do aging analysis.

Thanks in advance
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Why not just have the Number of Open Days a up to the minute calculation with Now(), by comparing if Closed is less than Now()? If Closed then it will show the Number of Days open.

Craig
 
Upvote 0
Thanks very much. I used the following formulae:

In the column, no. of days open currently: =IF(C5="",NOW()-A5,"Closed")

In the column no. of days to close: =IF(C5="", "",C5-A5)
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,038
Members
448,940
Latest member
mdusw

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