Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default timevalue function

I need to determine if a time value in a cell is greater than (meaning later
than) 7pm. When I enter a time value for cell (b1) and then in cell (e1) I
ask for the timevalue(b1) I get a #value error.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default timevalue function

On Sat, 7 Oct 2006 17:05:01 -0700, busterpace
wrote:

I need to determine if a time value in a cell is greater than (meaning later
than) 7pm. When I enter a time value for cell (b1) and then in cell (e1) I
ask for the timevalue(b1) I get a #value error.


Either the value in B1 is not text, or it is not a recognizable time value.

For example:

7pm is not recognized by excel as time.

7 PM or 7 P would be recognized by Excel as time. However, in most cases they
would be converted to an actual time value, and would no longer be a text
string, so would also give a value error.

From HELP:

TIMEVALUE(time_text)

Time_text is a text string that represents a time in any one of the Microsoft
Excel time formats; for example, "6:45 PM" and "18:45" text strings within
quotation marks that represent time.


--ron
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 605
Default timevalue function

Check this out:-

http://www.cpearson.com/excel/datearith.htm

You have to scroll down.

Epinn

"busterpace" wrote in message ...
I need to determine if a time value in a cell is greater than (meaning later
than) 7pm. When I enter a time value for cell (b1) and then in cell (e1) I
ask for the timevalue(b1) I get a #value error.

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
Need some comments on my Utility_Move class module. jchen Excel Worksheet Functions 0 August 21st 06 07:05 PM
Creating a Custom Excel Function to Calculate Gini Coefficients [email protected] Excel Worksheet Functions 3 February 21st 06 10:15 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 10:33 AM.

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"