MrExcel Message Board

Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old Apr 26th, 2002, 03:44 PM   #1
ed durbin
New Member
 
Join Date: Apr 2002
Posts: 1
Default

I want to enter a time value(like 12:30:00) in a cell and have Excel provide me with the value of that time (like .502xx) in another cell. This works in Lotus [as @TIMEVALUE(A5)] for example, but it doesn't work in Excel.

How do you do this?

Ed
ed durbin is offline   Reply With Quote
Old Apr 26th, 2002, 03:51 PM   #2
Mark W.
MrExcel MVP
 
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
Default

Enter 12:30 into cell A5. Enter =A5 into cell B5 and format as General.

[ This Message was edited by: Mark W. on 2002-04-26 14:52 ]
Mark W. is offline   Reply With Quote
Old Apr 26th, 2002, 03:51 PM   #3
lenze
MrExcel MVP
 
lenze's Avatar
 
Join Date: Feb 2002
Location: Helena, MT
Posts: 13,690
Default

You don't need a function. If your time is in A1, you can enter =A1 in C1 and then format C1 as a number.

Edit: TOO SLOW

[ This Message was edited by: lenze on 2002-04-26 14:52 ]
lenze is offline   Reply With Quote
Old Apr 26th, 2002, 03:52 PM   #4
Jack in the UK
Board Regular
 
Join Date: Feb 2002
Posts: 3,065
Default

Can you not link to cell A1 ...


=A1 will this not work.....
__________________
Free Excel based Web Toolbar available here.

Jack in the UK
J & R Excel Solutions
"making Excel work for you"
Jack in the UK is offline   Reply With Quote
Old Apr 26th, 2002, 03:54 PM   #5
Jack in the UK
Board Regular
 
Join Date: Feb 2002
Posts: 3,065
Default

sory guys i was 60 seconds recorded there to slow, i need to go back to school, no good the 1st time, read and type faster i guess..

sorry guys

__________________
Free Excel based Web Toolbar available here.

Jack in the UK
J & R Excel Solutions
"making Excel work for you"
Jack in the UK is offline   Reply With Quote
Old Apr 26th, 2002, 03:56 PM   #6
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,318
Default

Quote:
On 2002-04-26 14:44, ed durbin wrote:
I want to enter a time value(like 12:30:00) in a cell and have Excel provide me with the value of that time (like .502xx) in another cell. This works in Lotus [as @TIMEVALUE(A5)] for example, but it doesn't work in Excel.

How do you do this?

Ed
If you enter 12:30:00 in a clen cell, say in A1,

=TIMEVALUE(A1&"")

will return the result you're looking for.

=TIMEVALUE("12:30:00")

will have the same effect.

This function in Excel converts a time in the form of text to a serial number.

Have also a look at the TIME worksheet function under Excel's Help.
Aladin Akyurek is offline   Reply With Quote
Old Apr 26th, 2002, 03:59 PM   #7
Mark W.
MrExcel MVP
 
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
Default

Quote:
On 2002-04-26 14:56, Aladin Akyurek wrote:
Quote:
On 2002-04-26 14:44, ed durbin wrote:
I want to enter a time value(like 12:30:00) in a cell and have Excel provide me with the value of that time (like .502xx) in another cell. This works in Lotus [as @TIMEVALUE(A5)] for example, but it doesn't work in Excel.

How do you do this?

Ed
If you enter 12:30:00 in a clen cell, say in A1,

=TIMEVALUE(A1&"")

will return the result you're looking for.

=TIMEVALUE("12:30:00")

will have the same effect.

This function in Excel converts a time in the form of text to a serial number.

Have also a look at the TIME worksheet function under Excel's Help.
No... you'd have to use =TIMEVALUE(TEXT(A1,"hh:mm")) because A1 contains a serial date value rather than 12:30. TIMEVALUE expects an argument in the form "12:30" rather than "0.520833333333333".

[ This Message was edited by: Mark W. on 2002-04-26 15:01 ]
Mark W. is offline   Reply With Quote
Old Apr 26th, 2002, 04:01 PM   #8
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,318
Default

Quote:
On 2002-04-26 14:59, Mark W. wrote:
Quote:
On 2002-04-26 14:56, Aladin Akyurek wrote:
Quote:
On 2002-04-26 14:44, ed durbin wrote:
I want to enter a time value(like 12:30:00) in a cell and have Excel provide me with the value of that time (like .502xx) in another cell. This works in Lotus [as @TIMEVALUE(A5)] for example, but it doesn't work in Excel.

How do you do this?

Ed
If you enter 12:30:00 in a clen cell, say in A1,

=TIMEVALUE(A1&"")

will return the result you're looking for.

=TIMEVALUE("12:30:00")

will have the same effect.

This function in Excel converts a time in the form of text to a serial number.

Have also a look at the TIME worksheet function under Excel's Help.
No... you'd have to use =TIMEVALUE(TEXT(A1,"hh:mm")) because A1 contains a serial date value rather than "12:30".
No to what?
Aladin Akyurek is offline   Reply With Quote
Old Apr 26th, 2002, 04:03 PM   #9
Mark W.
MrExcel MVP
 
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
Default

Quote:
On 2002-04-26 15:01, Aladin Akyurek wrote:
Quote:
On 2002-04-26 14:59, Mark W. wrote:
Quote:
On 2002-04-26 14:56, Aladin Akyurek wrote:
Quote:
On 2002-04-26 14:44, ed durbin wrote:
I want to enter a time value(like 12:30:00) in a cell and have Excel provide me with the value of that time (like .502xx) in another cell. This works in Lotus [as @TIMEVALUE(A5)] for example, but it doesn't work in Excel.

How do you do this?

Ed
If you enter 12:30:00 in a clen cell, say in A1,

=TIMEVALUE(A1&"")

will return the result you're looking for.

=TIMEVALUE("12:30:00")

will have the same effect.

This function in Excel converts a time in the form of text to a serial number.

Have also a look at the TIME worksheet function under Excel's Help.
No... you'd have to use =TIMEVALUE(TEXT(A1,"hh:mm")) because A1 contains a serial date value rather than "12:30".
No to what?
=TIMEVALUE(A1&"") produces #VALUE!

[ This Message was edited by: Mark W. on 2002-04-26 15:03 ]
Mark W. is offline   Reply With Quote
Old Apr 26th, 2002, 04:08 PM   #10
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,318
Default


=TIMEVALUE(A1&"") produces #VALUE!


I see. I should indeed.
Aladin Akyurek is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:21 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
All contents Copyright 1998-2012 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes