Stop increasing Today() by each day if cell contains specific text THEN stop count & save value

TTUK

Board Regular
Joined
Apr 5, 2012
Messages
137
Hi all,

I am wanting to have the spreadsheet increase each day by day by using today(), but when 'Under Offer' has been entered into a cell I want the count to stop, and for it to tell me how long since the Start Date and the count of today() it has been without increase by +1 the next day.

My spreadsheet is as such.
TODAY() is entered into H$2$
The START DATE is entered into RANGE F9:F100
The AGE is entered into RANGE H9:H100
The "UNDER OFFER" text is entered into RANGE P9:P100

The place where I want it to return and tell me how long the count has been going for is RANGE J9:J100 and I don't want this to increase as the TODAY() formula will continue on each day...

Hope this makes sense.
Please let me know if you require further explanations from me :)

Thanks, TTUK
 
Last edited:

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
A hint of an answer... If you had a button that said "Enter" once the date was needed... The macro assigned to that button would copy the date in the cell where the TODAY() is located and paste it's "value only" into another cell, then copy it elsewhere if needed... I had to do that once... I hope that helps you get there...
 
Upvote 0
Hi Chrisdontm,

I have made the solution work another way.
I have used a VBA script whereby, it copies the AGE in to the column next to it, as values, not the formula of TODAY()-START DATE
So now each day I have the static values, and if the RANGE in P9:P100 = "UNDER OFFER" it uses the VBA VALUE instead of the continuing formula...

Hope this makes sense and helps anyone else who is trying to do something like I was....

Regards, TTUK
 
Upvote 0
Use worksheet change event to monitor the "UNDER OFFER" column and copy paste the concerned row data formula cell as values.
 
Upvote 0

Forum statistics

Threads
1,203,453
Messages
6,055,530
Members
444,794
Latest member
HSAL

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