+ Reply to Thread
Results 1 to 10 of 10

I would like to transform everything to minutes, (days hours and minutes)

  1. #1
    Registered User
    Join Date
    04-28-2016
    Location
    Tbilisi, Georgia
    MS-Off Ver
    2010
    Posts
    4

    I would like to transform everything to minutes, (days hours and minutes)

    I would like to write universal formula that will be spread in 3 cells and will transform every single cell into minutes.

    Cell A1: 60m
    Cell B1: 4h
    Cell C1: 1d

    I would like to get following results with one single formula:

    Cell E1: 60
    Cell F1: 4*60=240
    Cell G1: 1*8 hours=480

    Can someone help me?

    Thanks in advance!

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: I would like to transform everything to minutes, (days hours and minutes)

    In E1, F1 and G1 do you want just the result(s) 60, 240, 480? Or do you want the to show the calculation with the results?
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: I would like to transform everything to minutes, (days hours and minutes)

    Assuming:
    - you'll be literally entering things like "4h" in the cells
    - you will only use m, h and d

    I've made a big IF-formula to calculate the minutes. Is this what you're looking for?


    EDIT: I just saw your days only have 8 hours, so you'll have to change the 1440 in my formula to 480
    Attached Files Attached Files
    Last edited by L-Drr; 01-07-2018 at 01:17 PM.
    When I say semicolon, u say comma!

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: I would like to transform everything to minutes, (days hours and minutes)

    I've done something similar with this formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    rezikooooo transform to minutes.xlsx

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: I would like to transform everything to minutes, (days hours and minutes)

    Similar.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: I would like to transform everything to minutes, (days hours and minutes)

    Try in E1 the drag accross:

    Please Login or Register  to view this content.
    Untitled.png
    Quang PT

  7. #7
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: I would like to transform everything to minutes, (days hours and minutes)

    Or try:

    =IFERROR(LEFT(A1,LEN(A1)-1)*LOOKUP(1,-SEARCH({"m","h","d"},A1),{1,60,1440}),A1)

  8. #8
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,826

    Re: I would like to transform everything to minutes, (days hours and minutes)

    In a little bit different approach (namely assuming that you enter your time number and units in separate cells), one could use the CONVERT() function to do this (https://support.office.com/en-us/art...d-666c810f9af2 ) Pay particular attention to the specific text strings allowed for each unit when you enter the units. Something like:
    Please Login or Register  to view this content.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  9. #9
    Registered User
    Join Date
    04-28-2016
    Location
    Tbilisi, Georgia
    MS-Off Ver
    2010
    Posts
    4

    Re: I would like to transform everything to minutes, (days hours and minutes)

    Guys thank you a lot! I think all of them worked fine! I was trying with if formula but it seems I missed something! again thanks a lot!

  10. #10
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: I would like to transform everything to minutes, (days hours and minutes)

    Good to hear. Thank you for the feedback and marking your thread Solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. converting minutes to days, hours and minutes.
    By TheGrimm in forum Excel General
    Replies: 8
    Last Post: 11-23-2015, 02:23 AM
  2. convert days hours minutes seconds to just minutes
    By hollylynn in forum Excel General
    Replies: 4
    Last Post: 08-28-2015, 08:53 AM
  3. [SOLVED] How Can I convert Minutes to Days, hours and Minutes
    By migdad in forum Excel General
    Replies: 2
    Last Post: 08-24-2014, 08:09 AM
  4. Convert Days:Hours:Minutes:seconds to minutes.
    By Kevingardner1 in forum Excel General
    Replies: 4
    Last Post: 06-03-2014, 06:44 PM
  5. [SOLVED] converting Days Hours & minutes into just minutes in excel
    By Six Sigma Blackbelt in forum Excel General
    Replies: 5
    Last Post: 04-28-2006, 04:45 PM
  6. format minutes to days hours & minutes
    By M.Siler in forum Excel General
    Replies: 4
    Last Post: 02-03-2006, 01:50 PM
  7. Formula for minutes to days:hours:minutes
    By QueenCutieT in forum Excel General
    Replies: 3
    Last Post: 02-09-2005, 09:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1