Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default 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
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
How to use time with an If command? [email protected] Excel Worksheet Functions 1 February 18th 08 11:05 PM
Run-Time error 13 on a FileOpen command Willibrord Koot Excel Programming 2 October 3rd 05 08:12 AM
Wait time before next command John Excel Programming 4 July 1st 05 04:31 PM
@ NOW time command Time study Guy Excel Discussion (Misc queries) 2 January 25th 05 04:50 PM
Command Button run-time error Dominique Feteau Excel Programming 1 June 29th 04 02:57 AM


All times are GMT +1. The time now is 04:27 PM.

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

About Us

"It's about Microsoft Excel"