Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Formula for time, possible?

Enter "s" to record
B C D
call # timestamp timestamp
1 s 1:34:29 PM
2 s 1:34:29 PM
3 N/A
4 N/A
FORMULA: =IF(C5="s",NOW(),"N/A")
I would like capture the current time in cell D when I enter "s" in a cell
C. Problem is when I enter "s" into another cell excel updates all the "s"
cells to the current time. I do not want it to update all the cells to
current time, just record the current time at the time I enter "s"...
I know there is a way by using Macro but is that also possible using just a
formula?? (like above)


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 213
Default Formula for time, possible?

Enter "s" to record
B C D
call # timestamp timestamp
1 s 1:34:29 PM
2 s 1:34:29 PM
3 N/A
4 N/A
FORMULA: =IF(C5="s",NOW(),"N/A")
I would like capture the current time in cell D when I enter "s" in a
cell C. Problem is when I enter "s" into another cell excel updates
all the "s" cells to the current time. I do not want it to update all
the cells to current time, just record the current time at the time I
enter "s"... I know there is a way by using Macro but is that also
possible using just a formula?? (like above)


Here's one way.

First check the checkbox at
Tools Options Calculation Iteration
to allow circular references.

Then use in D5:
=IF(C5="s",IF(D5="N/A",NOW(),D5),"N/A")
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Formula for time, possible?

<but is that also possible using just a formula?

essentially, no.

Look he

http://www.mcgimpsey.com/excel/timestamp.html

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"M.ROD" wrote in message ...
| Enter "s" to record
| B C D
| call # timestamp timestamp
| 1 s 1:34:29 PM
| 2 s 1:34:29 PM
| 3 N/A
| 4 N/A
| FORMULA: =IF(C5="s",NOW(),"N/A")
| I would like capture the current time in cell D when I enter "s" in a cell
| C. Problem is when I enter "s" into another cell excel updates all the "s"
| cells to the current time. I do not want it to update all the cells to
| current time, just record the current time at the time I enter "s"...
| I know there is a way by using Macro but is that also possible using just a
| formula?? (like above)
|
|


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Formula for time, possible?

You can use a formula that uses a circular reference.

Before you enter the formula set iteration:

Goto the menu ToolsOptionsCalculationcheck IterationOK

Now enter the formula(s):

In D5:

=IF(C5<"s","N/A",IF(D5="N/A",NOW(),D5))

Format as desired.

Copy down as needed.

--
Biff
Microsoft Excel MVP


"M.ROD" wrote in message
...
Enter "s" to record
B C D
call # timestamp timestamp
1 s 1:34:29 PM
2 s 1:34:29 PM
3 N/A
4 N/A
FORMULA: =IF(C5="s",NOW(),"N/A")
I would like capture the current time in cell D when I enter "s" in a cell
C. Problem is when I enter "s" into another cell excel updates all the "s"
cells to the current time. I do not want it to update all the cells to
current time, just record the current time at the time I enter "s"...
I know there is a way by using Macro but is that also possible using just
a
formula?? (like above)




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Formula for time, possible?

This formula works great..but if I want to go back and re-enter "s" in the
cell it will not update the time. How can I do that?

"MyVeryOwnSelf" wrote:

Enter "s" to record
B C D
call # timestamp timestamp
1 s 1:34:29 PM
2 s 1:34:29 PM
3 N/A
4 N/A
FORMULA: =IF(C5="s",NOW(),"N/A")
I would like capture the current time in cell D when I enter "s" in a
cell C. Problem is when I enter "s" into another cell excel updates
all the "s" cells to the current time. I do not want it to update all
the cells to current time, just record the current time at the time I
enter "s"... I know there is a way by using Macro but is that also
possible using just a formula?? (like above)


Here's one way.

First check the checkbox at
Tools Options Calculation Iteration
to allow circular references.

Then use in D5:
=IF(C5="s",IF(D5="N/A",NOW(),D5),"N/A")



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Formula for time, possible?

Delete the original "s" first then re-enter the "s".

--
Biff
Microsoft Excel MVP


"M.ROD" wrote in message
...
This formula works great..but if I want to go back and re-enter "s" in the
cell it will not update the time. How can I do that?

"MyVeryOwnSelf" wrote:

Enter "s" to record
B C D
call # timestamp timestamp
1 s 1:34:29 PM
2 s 1:34:29 PM
3 N/A
4 N/A
FORMULA: =IF(C5="s",NOW(),"N/A")
I would like capture the current time in cell D when I enter "s" in a
cell C. Problem is when I enter "s" into another cell excel updates
all the "s" cells to the current time. I do not want it to update all
the cells to current time, just record the current time at the time I
enter "s"... I know there is a way by using Macro but is that also
possible using just a formula?? (like above)


Here's one way.

First check the checkbox at
Tools Options Calculation Iteration
to allow circular references.

Then use in D5:
=IF(C5="s",IF(D5="N/A",NOW(),D5),"N/A")



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Formula for time, possible?

Ok, thanks everyone this helped me alot!

"T. Valko" wrote:

Delete the original "s" first then re-enter the "s".

--
Biff
Microsoft Excel MVP


"M.ROD" wrote in message
...
This formula works great..but if I want to go back and re-enter "s" in the
cell it will not update the time. How can I do that?

"MyVeryOwnSelf" wrote:

Enter "s" to record
B C D
call # timestamp timestamp
1 s 1:34:29 PM
2 s 1:34:29 PM
3 N/A
4 N/A
FORMULA: =IF(C5="s",NOW(),"N/A")
I would like capture the current time in cell D when I enter "s" in a
cell C. Problem is when I enter "s" into another cell excel updates
all the "s" cells to the current time. I do not want it to update all
the cells to current time, just record the current time at the time I
enter "s"... I know there is a way by using Macro but is that also
possible using just a formula?? (like above)

Here's one way.

First check the checkbox at
Tools Options Calculation Iteration
to allow circular references.

Then use in D5:
=IF(C5="s",IF(D5="N/A",NOW(),D5),"N/A")




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
formula for converting military time to standard time, etc Pattio Excel Discussion (Misc queries) 8 February 17th 08 01:12 AM
convert from percentage of time to time using complex formula in . Nush Excel Worksheet Functions 2 October 4th 07 05:20 PM
Formula to find Stop Time from Start Time and Total Minutes Jonathan Bickett Excel Worksheet Functions 5 March 7th 07 05:22 PM
template or formula for start time -finish time -total hours ple cc New Users to Excel 1 March 27th 06 06:06 PM
How do I set up a formula on a time sheet to calculate time in 1/. gschmid Excel Discussion (Misc queries) 2 January 18th 05 01:48 PM


All times are GMT +1. The time now is 12:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"