+ Reply to Thread
Results 1 to 8 of 8

calculate time to percentage

Hybrid View

  1. #1
    Registered User
    Join Date
    05-09-2010
    Location
    Lisboa
    MS-Off Ver
    Excel 2013
    Posts
    33

    calculate time to percentage

    Hi.
    I want to to do this calculation but i cant.
    its a time value and X its percentage
    4:30 its 100%
    3:20 its X

    how can i calculate X value

    thanks

  2. #2
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: calculate time to percentage

    Dpeends what 0% is
    Assuming 0% is 00:00, X = 3:20 / 4:30 formatted as a percentage

    I'm assuming your 3:20 and 4:30 are times stored in cells, so your formula would actually look like =A1/B1 - if not, you'd need to use timevalue to coerce strings to times - it would be better to put the times into cells though and use a formula as outlined.
    CC


    If you feel really indebted please consider a donation to charity. My preferred charity is ActionAid but there are plenty of worthy alternatives.

  3. #3
    Registered User
    Join Date
    05-09-2010
    Location
    Lisboa
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: calculate time to percentage

    the cells are times. but I cant do this formula. (4:30*100) / 3:20
    with this i want to do if 4:30 hours is 100% 3:20 is X

    thanks

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,697

    Re: calculate time to percentage

    so for you example what result do you expect? If 3:20 is in A1 then use Charlie's suggestion like this in B1, i.e.

    =A1/"4:30"

    Format B1 as % and result should be approx 74%, is that right?
    Audere est facere

  5. #5
    Registered User
    Join Date
    05-09-2010
    Location
    Lisboa
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: calculate time to percentage

    sorry can you show me in this example?

    thanks
    Attached Files Attached Files

  6. #6
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,697

    Re: calculate time to percentage

    In C16 use this formula

    =B16/B15

    and format that cell to show percentage

    That assumes that C15 will always be 100% and that zero is 0% on your scale. If C15 might be anything other than 100% change the formula to

    =B16*C15/B15

  7. #7
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: calculate time to percentage

    Assuming 0% is 00:00, X = 3:20 / 4:30 formatted as a percentage
    I cant do this formula. (4:30*100) / 3:20
    um, no, I wouldn't recommend that.

  8. #8
    Registered User
    Join Date
    05-09-2010
    Location
    Lisboa
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: calculate time to percentage

    thanks it worked

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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