If statement to generate a timestamp

Aboys

New Member
Joined
Feb 12, 2014
Messages
3
Hello,
I am fairly new to excel and the forum, so please excuse me if I am not following protocol.
I am using Excel 2013 on a windows 8 machine.
It may be easier for me to explain the problem, before posting about the formulas.
I maintain a retirement residence with alot of phone numbers. I have a list of all the numbers we own in one column and the numbers assigned to the PBX systems in a second column. By using a
If formula I can tell which numbers have not been assigned (The true statement).
My problem is when a resident passes away, I need to reuse that "phone number", but I dont want to reuse the number too soon. I am hoping to use the "true" from the if statement to generate
a time stamp. I plan on using that time stamp against the "today()" in a days formula, I believe this will spit out the number of days a number has been idle. The time stamp would be constantly changing or removed as the if statement would always be changing.
So column C gives the True statement and says "Number not Assigned" - this should create a time stamp in Column W
Any help I can get on this would be greatly appreciated.

ABCUVWX
All NumbersPBX numbersIF FormulaToday()Time StampDays Formula
5555555True
Number not Assigned
2014-02-202014-02-164
55555565555556false
5555556
show nothingno time
stamp
0
5555557false
5555557
show
nothing
no time
stamp
0

<TBODY>
</TBODY>
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Thanks for the quick reply Etaf ,
I modified one formula to =IF(C2="Number not Assigned",IF(N2="",NOW(),N2),""), as every cell in column C was populated with something, but it seems to generate the time stamp.
The other change I made was =IFERROR(INT(N2-O2)+1,""), as every cell that didn't have a time stamp gave #value. It is showing one day now, so I guess it is working.
Thanks again for the excellent help
 
Upvote 0
your welcome, glad you got it to work OK
 
Upvote 0

Forum statistics

Threads
1,214,825
Messages
6,121,788
Members
449,049
Latest member
greyangel23

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