Formula for Now() that doesn't update dynmically

noslenwerd

Board Regular
Joined
Nov 12, 2019
Messages
85
Office Version
  1. 365
Hello,

I have the below formula which work to determine the date a case was closed, but the issue is when using Now(), is always updates to the current date.

Excel Formula:
=IF(OR([@Status]="Closed: Call complete",[@Status]="Closed: No Call"), NOW(),"")

For instance someone changed the case status to closed on 2/27/21, but it is showing as today's date (3/1/21)

Any work arounds?
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
The NOW() function will always return the current date/time.
You can use VBA to add a static date/time stamp.

You can use Event Procedure VBA code to automatically update one column based on the update of another column.
 
Upvote 0
The NOW() function will always return the current date/time.
You can use VBA to add a static date/time stamp.

You can use Event Procedure VBA code to automatically update one column based on the update of another column.
Thanks for the reply. Unfortunately macro enabled documents are disabled by our enterprise. Trying to find a formula that can work around this.
 
Upvote 0
You can try the iterative calculation trick. Click File > Options > Formulas > check the Enable iteratiive calculation box, and set the Maximum Iterations to 1.

Now use a formula like this:

Book1
KL
1StatusClose date
2Closed: No call3/2/21
3Closed: Call complete3/2/21
4c1/0/00
Sheet5
Cell Formulas
RangeFormula
L2:L4L2=IF([@[Close date]]<>0,[@[Close date]],IF(OR([@Status]={"Closed: Call complete","Closed: No call"}),NOW(),0))


As you can see, the formula refers to the cell it is in, which is where the iteration comes in. This works on my tiny test sheet, but you may want to test it in more circumstances. Closing/reopening the file, opening on the next day, sending the file to someone who has not set the iterative calculation box, etc.

But really, using VBA to insert the date is better since it avoids some of these issues. If that's not an option, then you might have to train people to use Control+; (hold the Control key down and press the semi-colon key) to insert the date when they change the status.
 
Upvote 0

Forum statistics

Threads
1,223,891
Messages
6,175,229
Members
452,621
Latest member
Laura_PinksBTHFT

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