Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Integer convert to minutes.

I want to take the solution to a simple arithmetic formula, say 90/18, and
have it output as a value in minutes. I have been unable to figure this one
out. In my spreadsheet, I want the answer for 90/18 to be :05. However, all
the time functions that I have utilized (timevalue, minute, text (x, ":mm") )
are all giving me a value of :01.

Does anyone know how to make that integer display as that number of minutes?

Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 449
Default Integer convert to minutes.

Hi

Divide by 1440 and format as time.

HTH. Best wishes Harald

"Solidarity1" wrote in message
...
I want to take the solution to a simple arithmetic formula, say 90/18, and
have it output as a value in minutes. I have been unable to figure this
one
out. In my spreadsheet, I want the answer for 90/18 to be :05. However,
all
the time functions that I have utilized (timevalue, minute, text (x,
":mm") )
are all giving me a value of :01.

Does anyone know how to make that integer display as that number of
minutes?

Thanks in advance.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default Integer convert to minutes.

Assuming the 90 & 18 are integers, format your cell as time (as desired).
=A1/A2/(24*60)
--
John C


"Solidarity1" wrote:

I want to take the solution to a simple arithmetic formula, say 90/18, and
have it output as a value in minutes. I have been unable to figure this one
out. In my spreadsheet, I want the answer for 90/18 to be :05. However, all
the time functions that I have utilized (timevalue, minute, text (x, ":mm") )
are all giving me a value of :01.

Does anyone know how to make that integer display as that number of minutes?

Thanks in advance.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 364
Default Integer convert to minutes.

Excel stores dates and time as real numbers. Portion after the decimal stores
the time part

if you enter the following in a cell
=1/(24*60*60)
and format that cell as h:mm:ss
then you will see
0:00:01 that is one minute past midnight of 1/1/1900

So to convert any number into minutes divide it by 24*60*60 and format the
cell as h:mm:ss

In your example it will be
=(90/18)/(24*60*60)

So

"Solidarity1" wrote:

I want to take the solution to a simple arithmetic formula, say 90/18, and
have it output as a value in minutes. I have been unable to figure this one
out. In my spreadsheet, I want the answer for 90/18 to be :05. However, all
the time functions that I have utilized (timevalue, minute, text (x, ":mm") )
are all giving me a value of :01.

Does anyone know how to make that integer display as that number of minutes?

Thanks in advance.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default Integer convert to minutes.

Actually, the example you gave is 1 second past midnight, not 1 minute. You
only need to divide by (24*60) to conver to minutes.
--
John C


"Sheeloo" wrote:

Excel stores dates and time as real numbers. Portion after the decimal stores
the time part

if you enter the following in a cell
=1/(24*60*60)
and format that cell as h:mm:ss
then you will see
0:00:01 that is one minute past midnight of 1/1/1900

So to convert any number into minutes divide it by 24*60*60 and format the
cell as h:mm:ss

In your example it will be
=(90/18)/(24*60*60)

So

"Solidarity1" wrote:

I want to take the solution to a simple arithmetic formula, say 90/18, and
have it output as a value in minutes. I have been unable to figure this one
out. In my spreadsheet, I want the answer for 90/18 to be :05. However, all
the time functions that I have utilized (timevalue, minute, text (x, ":mm") )
are all giving me a value of :01.

Does anyone know how to make that integer display as that number of minutes?

Thanks in advance.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 364
Default Integer convert to minutes.

Thanks John,

That was a typo on my part... You are right - dividing by (24*60) will
convert to minutes...

"John C" wrote:

Actually, the example you gave is 1 second past midnight, not 1 minute. You
only need to divide by (24*60) to conver to minutes.
--
John C


"Sheeloo" wrote:

Excel stores dates and time as real numbers. Portion after the decimal stores
the time part

if you enter the following in a cell
=1/(24*60*60)
and format that cell as h:mm:ss
then you will see
0:00:01 that is one minute past midnight of 1/1/1900

So to convert any number into minutes divide it by 24*60*60 and format the
cell as h:mm:ss

In your example it will be
=(90/18)/(24*60*60)

So

"Solidarity1" wrote:

I want to take the solution to a simple arithmetic formula, say 90/18, and
have it output as a value in minutes. I have been unable to figure this one
out. In my spreadsheet, I want the answer for 90/18 to be :05. However, all
the time functions that I have utilized (timevalue, minute, text (x, ":mm") )
are all giving me a value of :01.

Does anyone know how to make that integer display as that number of minutes?

Thanks in advance.

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
extract decimal and convert to integer Mike H Excel Discussion (Misc queries) 9 October 1st 09 09:17 AM
Convert integer to time query Bryony Excel Discussion (Misc queries) 10 May 9th 08 05:22 PM
How do I convert char into integer in Excel VBA? RaY Excel Discussion (Misc queries) 2 July 21st 06 05:40 AM
Convert Text to Integer jerredjohnson Excel Discussion (Misc queries) 4 June 14th 06 07:45 PM
Convert time into integer Ali Excel Worksheet Functions 1 October 20th 05 02:52 PM


All times are GMT +1. The time now is 01:11 PM.

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

About Us

"It's about Microsoft Excel"