Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
how to use if command with time in function?
give example?
if in B2 cell having a time format how to identify it by using IF function? to calculate overtime hours and minutes. =(ifB20900,"yes","no") |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
how to use if command with time in function?
use:
=IF(timevaltime(8,0,0),"yes","no") where 'timeval' is the value that you are examining (e.g. A1 for the value in column A1). In this example it is saying if the amount of time is 8 hours then set the value to "yes", else set it to "no". You can cause excel to start a wizard for you by typing in the '=', then going to the dropdown list that's at the far left just above the column indicators (A,B,...). That dropdown will show you a list of functions. By clicking on a function name excel will start a wizard that will walk you through the function parameters. "Senaka Excel" wrote: give example? if in B2 cell having a time format how to identify it by using IF function? to calculate overtime hours and minutes. =(ifB20900,"yes","no") |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to use time with an If command? | Excel Worksheet Functions | |||
Run-Time error 13 on a FileOpen command | Excel Programming | |||
Wait time before next command | Excel Programming | |||
@ NOW time command | Excel Discussion (Misc queries) | |||
Command Button run-time error | Excel Programming |