Stop aging when status changes

kvillanueva21

New Member
Joined
May 24, 2018
Messages
5
Hi! I am seeking for a help on how to stop aging when status changes

Assumption:
A32 - DATE ACQUIRED
G32 - AGING (# of days)
I32 - STATUS (with drop down: Successfully Closed
On Hold
Inactive
Closed by Client
Ongoing

Looking forward to your help!
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Try something like this in cell G32 (ensure cell number format is GENERAL)

=IF(OR(I32="Successfully Closed",I32="Closed by Client"),"CLOSED",TODAY()-A32)
 
Upvote 0
Hi Yongle, thanks for the help, It worked! However, I also want to know what would be the formula if I want to stop the aging some time in the past.
E.g. A32 is 02/29/2017 and I want to stop the aging by the date of 04/16/2018

Here's my objectives for my excel file:
1. I want to use the same formula for the all the status then once the status changes to "Successfully Closed and Closed by Client", the aging will stop but if the status is at ongoing, the aging continues
2. E.g version of the template that I am creating:
Date AcquiredAgeStatus
02/29/2017Closed by Client
02/25/201889Ongoing

<tbody>
</tbody>

Please take note that I don't strictly put a tab for the Date Closed.

Let me know if you understand what I want to achieve for my excel file.

Looking forward to your help again.
Thanks!
 
Upvote 0
I also want to know what would be the formula if I want to stop the aging some time in the past.
E.g. A32 is 02/29/2017 and I want to stop the aging by the date of 04/16/2018

We need to find a method to tell Excel when to stop aging
How did you arrive at this date? (04/16/2018)
- is it based on another date within the database (eg 10 days after x) or is it the time that the status changed?
- if it's the former then a formula can be used
- if it's the latter then a timestamp needs to be entered somewhere when the status changes

Which one is it?
 
Upvote 0
The 04/16/2018 is the date when the status changed.

Is there any way that I can send you an excel file for you see the template that I am doing.
 
Upvote 0
Use another cell in the same row to capture the "closed" date
I used J32
J32 remains empty until status changes to closed
manually enter the date in J32 when status changes to closed

and G32 formula
=IF(OR(I32="Successfully Closed",I32="Closed by Client"),J32-A32,TODAY()-A32)
 
Last edited:
Upvote 0
The formula does work
- you have made a mistake

The formula I gave you before was this - you got it working :)
=IF(OR(I32="Successfully Closed",I32="Closed by Client"),"CLOSED",TODAY()-A32)

The new formula is very similar
=IF(OR(I32="Successfully Closed",I32="Closed by Client"),J32-A32,TODAY()-A32)

The value in J32 must be input as a date (not text) and it will work for you
 
Upvote 0
I am actually using the company's template so I cannot change anything. I cannot add another cell "J32".

This is my major challenge because I cannot input the "Date closed".
 
Upvote 0
You could use this

=IF(OR(I32="Successfully Closed",I32="Closed by Client"),DATEVALUE("15 June 2018")-A32,TODAY()-A32)

and manually amend the date inside " " each time
 
Upvote 0

Forum statistics

Threads
1,217,409
Messages
6,136,457
Members
450,013
Latest member
k4kamal

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