Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
michael
 
Posts: n/a
Default use displayed value in calculation

quick question -

if I perform a simple calculation of =(a1+b1) in the m1 cell, and then
need to use that result in another calculation in the n1 cell
=(m1*3.14), why do I get a value of 0.00 returned?



michae

  #2   Report Post  
Posted to microsoft.public.excel.newusers
Debra Dalgleish
 
Posts: n/a
Default use displayed value in calculation

What values are in cells A1 and B1?
A small number, showing two decimal places, could display as 0.00

michael wrote:
quick question -

if I perform a simple calculation of =(a1+b1) in the m1 cell, and then
need to use that result in another calculation in the n1 cell
=(m1*3.14), why do I get a value of 0.00 returned?



michae



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #3   Report Post  
Posted to microsoft.public.excel.newusers
Mladen_Dj
 
Posts: n/a
Default use displayed value in calculation

What is result in M1 cell?


"michael" wrote in message
oups.com...
quick question -

if I perform a simple calculation of =(a1+b1) in the m1 cell, and then
need to use that result in another calculation in the n1 cell
=(m1*3.14), why do I get a value of 0.00 returned?



michae



  #4   Report Post  
Posted to microsoft.public.excel.newusers
Mladen_Dj
 
Posts: n/a
Default use displayed value in calculation

What is result in M1 cell?


"michael" wrote in message
oups.com...
quick question -

if I perform a simple calculation of =(a1+b1) in the m1 cell, and then
need to use that result in another calculation in the n1 cell
=(m1*3.14), why do I get a value of 0.00 returned?



michae



  #5   Report Post  
Posted to microsoft.public.excel.newusers
Mladen_Dj
 
Posts: n/a
Default use displayed value in calculation

What is result in M1 cell?


"michael" wrote in message
oups.com...
quick question -

if I perform a simple calculation of =(a1+b1) in the m1 cell, and then
need to use that result in another calculation in the n1 cell
=(m1*3.14), why do I get a value of 0.00 returned?



michae






  #6   Report Post  
Posted to microsoft.public.excel.newusers
michael
 
Posts: n/a
Default use displayed value in calculation

Debra Dalgleish wrote:
What values are in cells A1 and B1?
A small number, showing two decimal places, could display as 0.00


the values in cells a1 and b1 are formatted ( hh:mm:ss ) time values.

  #7   Report Post  
Posted to microsoft.public.excel.newusers
michael
 
Posts: n/a
Default use displayed value in calculation

Mladen_Dj wrote:
What is result in M1 cell?

I hope I am answering your question properly.

the result found in the m1 cell is based on the equation =(b1-a1). the
a1, b1 and m1 cells are time formatted ( hh:mm:ss ).

if a1 = 08:00:00 and b1 = 08:23:37, the displayed value in m1 would be
00:23:37. my end goal is to covert this value to a decimal in the n1
cell ( =(m1*.017) which would provide 0.39729 or .40, as the cell is
formatted to two decimal places ).

  #8   Report Post  
Posted to microsoft.public.excel.newusers
Roger Govier
 
Posts: n/a
Default use displayed value in calculation

Hi Michael

Time is stored in Excel as fractions of a day (24 hours).
Try =(B1-A1)*24
Format your cell as General, and you should get your expected result.

Regards

Roger Govier


michael wrote:
Mladen_Dj wrote:

What is result in M1 cell?


I hope I am answering your question properly.

the result found in the m1 cell is based on the equation =(b1-a1). the
a1, b1 and m1 cells are time formatted ( hh:mm:ss ).

if a1 = 08:00:00 and b1 = 08:23:37, the displayed value in m1 would be
00:23:37. my end goal is to covert this value to a decimal in the n1
cell ( =(m1*.017) which would provide 0.39729 or .40, as the cell is
formatted to two decimal places ).

  #9   Report Post  
Posted to microsoft.public.excel.newusers
michael
 
Posts: n/a
Default use displayed value in calculation

Roger Govier wrote:
Hi Michael

Time is stored in Excel as fractions of a day (24 hours).
Try =(B1-A1)*24
Format your cell as General, and you should get your expected result.

Regards

Roger Govier


Roger,

SWEET!!! thanks for the heads up. does exactly what I want ( after I
figured out how to apply the round() function to the value as well ).

onto some conditionals now.



michael

  #10   Report Post  
Posted to microsoft.public.excel.newusers
michael
 
Posts: n/a
Default use displayed value in calculation

Mladen_Dj wrote:
What is result in M1 cell?


the a1 and b1 cells are the beginning and ending time values that use
the hh:mm:ss format.

so a1 could read 08:00:00 and b1 could read 08:23:37. the value of the
m1 cell is determined using =(b1-a1) to display a formatted time value
of 00:23:37 in the m1 cell.

the n1 cell would be used to convert the m1 displayed value to a
decimal, =(m1*.017), which would then display 0.39729 or .40 as I have
the cell set to round up to two decimal places.

to which my asking for help as the value being displayed in the n1 cell
is 0.00.




michael



  #11   Report Post  
Posted to microsoft.public.excel.newusers
Jerry W. Lewis
 
Posts: n/a
Default use displayed value in calculation

I am not sure where your expected result of 0.39729 comes from. 1.7% of of
23 minutes and 37 seconds is about 24.09 seconds, or about 0.4015 minutes.

Roger's suggestion that 23 minutes and 37 seconds is 0.393611 of an hour is
close, but still not equal to your expected result.

Jerry

"michael" wrote:

Mladen_Dj wrote:
What is result in M1 cell?

I hope I am answering your question properly.

the result found in the m1 cell is based on the equation =(b1-a1). the
a1, b1 and m1 cells are time formatted ( hh:mm:ss ).

if a1 = 08:00:00 and b1 = 08:23:37, the displayed value in m1 would be
00:23:37. my end goal is to covert this value to a decimal in the n1
cell ( =(m1*.017) which would provide 0.39729 or .40, as the cell is
formatted to two decimal places ).


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
Use displayed value, not stored value? CD Excel Worksheet Functions 2 May 3rd 23 03:45 AM
Calculation Setting in Excel Stuart Bisset Excel Discussion (Misc queries) 0 June 17th 05 09:54 AM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 10:11 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 09:36 PM
Function Formula is displayed not results iloveexcellllll Excel Worksheet Functions 0 January 11th 05 02:29 AM


All times are GMT +1. The time now is 03:44 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"