Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
In Excel: is there a way of inserting the current time (what time it is right NOW) | Excel Discussion (Misc queries) | |||
Having the current time inserted w/o updating the current time | Excel Worksheet Functions | |||
Linked Cells not displaying most current data | Excel Discussion (Misc queries) | |||
Can I automatically enter the current date or current time into a | New Users to Excel | |||
Formula requireing the system time | Excel Worksheet Functions |