Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi
i have been trying to insert current time in a cell in excel 2007 only when another cell has been filled but am having trouble with the formula, here is what i have so far =IF(B6<"","= time"," ") this just displays = Time in the cell instead of the time. any help greatly appreciated cheers rslc |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try using =Now() instead of time
"rslc" wrote: hi i have been trying to insert current time in a cell in excel 2007 only when another cell has been filled but am having trouble with the formula, here is what i have so far =IF(B6<"","= time"," ") this just displays = Time in the cell instead of the time. any help greatly appreciated cheers rslc |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() There is probably another way but =now()-today() will give you the current time ( don't forget to format as hh:mm:ss) This is a volatile formula so it will recalculate each time the sheet is accessed or changed -- Pecoflyer Cheers ------------------------------------------------------------------------ Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14 View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=33000 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
this will do what you want, but the time will change with every calc
=IF(B6<"",TEXT(NOW(),"hh:mm"),"") -- Gary Excel 2003 "rslc" wrote in message ... hi i have been trying to insert current time in a cell in excel 2007 only when another cell has been filled but am having trouble with the formula, here is what i have so far =IF(B6<"","= time"," ") this just displays = Time in the cell instead of the time. any help greatly appreciated cheers rslc |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for the reply Gary unfortunetly the time changing is what i'm trying
to avoid, i can use = time to enter current time and not have it change but have not been able to get it to work in my formula. cheers rslc "Gary Keramidas" wrote in message ... this will do what you want, but the time will change with every calc =IF(B6<"",TEXT(NOW(),"hh:mm"),"") -- Gary Excel 2003 "rslc" wrote in message ... hi i have been trying to insert current time in a cell in excel 2007 only when another cell has been filled but am having trouble with the formula, here is what i have so far =IF(B6<"","= time"," ") this just displays = Time in the cell instead of the time. any help greatly appreciated cheers rslc |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
HI Gary
thanks for the reply, but unfortunetly thats what i was trying to avoid. I can use = time which will give me the result i want but haven't been able to get it to work in my formula cheers rslc "Gary Keramidas" wrote in message ... this will do what you want, but the time will change with every calc =IF(B6<"",TEXT(NOW(),"hh:mm"),"") -- Gary Excel 2003 "rslc" wrote in message ... hi i have been trying to insert current time in a cell in excel 2007 only when another cell has been filled but am having trouble with the formula, here is what i have so far =IF(B6<"","= time"," ") this just displays = Time in the cell instead of the time. any help greatly appreciated cheers rslc |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Time formula returns night time by mistake | Excel Discussion (Misc queries) | |||
Time formula (difference of predicted and actual time) | Excel Discussion (Misc queries) | |||
convert from percentage of time to time using complex formula in . | Excel Worksheet Functions | |||
Formula to find Stop Time from Start Time and Total Minutes | Excel Worksheet Functions | |||
template or formula for start time -finish time -total hours ple | New Users to Excel |