Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Displaying the current system time - 2nd Try

I've been trying to display the current "time out" in one cell if another
cell contains a "Y" for work finished. I used the IF function to tried and
set up conditions, but always receive errors. If a "Y" is entered the last
column of the sheet for that row, then I need the display the current system
time on that computer. If no "Y" is entered in the last column, I need the
cell to remain blank. I've looke don the Microsoft site for example and
tried the help function in Excell. No luck!

Currently I have this formula in cell I4: "=IF(L4="Y",HOUR(now),0)". With
no entry input in L4, I4 displays "12:00 AM". When I enter a "Y" in L4, it
displays #NAME?.

Does anyone have any suggestions for the proper formula?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 55
Default Displaying the current system time - 2nd Try

=if(L4="Y",NOW(),"0")



"Zach" wrote:

I've been trying to display the current "time out" in one cell if another
cell contains a "Y" for work finished. I used the IF function to tried and
set up conditions, but always receive errors. If a "Y" is entered the last
column of the sheet for that row, then I need the display the current system
time on that computer. If no "Y" is entered in the last column, I need the
cell to remain blank. I've looke don the Microsoft site for example and
tried the help function in Excell. No luck!

Currently I have this formula in cell I4: "=IF(L4="Y",HOUR(now),0)". With
no entry input in L4, I4 displays "12:00 AM". When I enter a "Y" in L4, it
displays #NAME?.

Does anyone have any suggestions for the proper formula?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 146
Default Displaying the current system time - 2nd Try

You're missing the parenthesis in the now function, your formula should be
=IF(L4="Y",HOUR(NOW()),0)

"Zach" wrote in message
...
I've been trying to display the current "time out" in one cell if another
cell contains a "Y" for work finished. I used the IF function to tried
and
set up conditions, but always receive errors. If a "Y" is entered the
last
column of the sheet for that row, then I need the display the current
system
time on that computer. If no "Y" is entered in the last column, I need
the
cell to remain blank. I've looke don the Microsoft site for example and
tried the help function in Excell. No luck!

Currently I have this formula in cell I4: "=IF(L4="Y",HOUR(now),0)". With
no entry input in L4, I4 displays "12:00 AM". When I enter a "Y" in L4,
it
displays #NAME?.

Does anyone have any suggestions for the proper formula?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 146
Default Displaying the current system time - 2nd Try

All functions need parentheses, even if there is nothing in the parentheses
as in the case of NOW()

"Zach" wrote in message
...
I've been trying to display the current "time out" in one cell if another
cell contains a "Y" for work finished. I used the IF function to tried
and
set up conditions, but always receive errors. If a "Y" is entered the
last
column of the sheet for that row, then I need the display the current
system
time on that computer. If no "Y" is entered in the last column, I need
the
cell to remain blank. I've looke don the Microsoft site for example and
tried the help function in Excell. No luck!

Currently I have this formula in cell I4: "=IF(L4="Y",HOUR(now),0)". With
no entry input in L4, I4 displays "12:00 AM". When I enter a "Y" in L4,
it
displays #NAME?.

Does anyone have any suggestions for the proper formula?



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
In Excel: is there a way of inserting the current time (what time it is right NOW) [email protected] Excel Discussion (Misc queries) 2 May 20th 07 11:35 PM
Having the current time inserted w/o updating the current time sherobot Excel Worksheet Functions 2 October 2nd 06 05:05 PM
Linked Cells not displaying most current data hcamelion Excel Discussion (Misc queries) 2 August 2nd 06 09:44 PM
Can I automatically enter the current date or current time into a Ben New Users to Excel 7 October 19th 05 03:38 PM
Formula requireing the system time Major Tomm Excel Worksheet Functions 9 September 10th 05 04:57 PM


All times are GMT +1. The time now is 10:15 PM.

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"