+ Reply to Thread
Results 1 to 8 of 8

multiple ratio to whole number fraction conversions

  1. #1
    Registered User
    Join Date
    04-27-2009
    Location
    Somewhere, USA
    MS-Off Ver
    Excel 2003/2007
    Posts
    11

    multiple ratio to whole number fraction conversions

    I am using Excel 2003.

    The situation:
    I have instructor to student ratios of 1:36; 1:18; 1:9; 1:4; 1:2; 1:1.

    My course requires a total amount of man-hours to be utilized, regardless of the ratio.

    All classes going through the course have 36 students.
    So, for 1 hour of time spent at a ratio of 1:36 there is only one man hour spent. In 1 hour of time spent at a ratio of 1:18 there are two man hours spent. In 1 hour spent at a ratio of 1:1 there are 36 man hours spent; and so on and so on.

    Something else that makes this tricky is that every hour is actually only 50 minutes.

    What I need is a way to automatically convert multiple hours of one ratio to the proper amount of hours in another ratio.

    Example:
    I need Excel to convert 5 hours of 1:18 time to 1:4 time. I need it to look and see that 5 hours at 1:18 is 10 man hours then convert those hours to 1:4man hours, which is 22.5 man hours (I think).

    Something else that makes this tricky is that every hour is actually only 50 minutes. so after it gets the 22.5 hours (60 minute hours) I need it to convert that to 50 minute hours.

    Jeez I hope this made any sense.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Help with multiple ratio to whole number fraction conversions

    try working in man minutes instead
    1:36 =50 man minutes
    1:18=100 man minutes
    add minutes up /60 to give man hours
    total =2:30
    2.5 man hours
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    04-27-2009
    Location
    Somewhere, USA
    MS-Off Ver
    Excel 2003/2007
    Posts
    11

    Re: Help with multiple ratio to whole number fraction conversions

    How do I make excel do this?

    if (C3=I2) and (E3=J1) then (D3*J2)

    I think if I could make that happen, I could repeat the process for all possible conditions to get the conversions I want.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Help with multiple ratio to whole number fraction conversions

    =if(and(C3=I2,E3=J1), D3*J2,0)

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Help with multiple ratio to whole number fraction conversions

    i've seen your pm but it would be better if you posted it here as more people can input ideas.

  6. #6
    Registered User
    Join Date
    04-27-2009
    Location
    Somewhere, USA
    MS-Off Ver
    Excel 2003/2007
    Posts
    11

    Re: Help with multiple ratio to whole number fraction conversions

    I have attached the sheet i am working off of, I think.

    In cells C3 and E3 I have drop down boxes that allow a choice of any ratio I use.

    In cell D3 I want to be able to put the origianl amount of time alotted to the first ratio.

    Then in cell F3 I want the time conversion to pop up.

    The table to the right is all the 1 for 1 ratio exchanges.

    Example:
    I want to choose the current ratio from C3 drop down, let's say 1:18.
    Then I want to type in how much time is currently alotted to an event at the original ratio, let's say 100. (As in 100 minutes alloted to a 1:18 ratio)

    Then in cell E3 I want to to choose the ratio I am converting to, let's say 1:4.

    Then I want cell F3 to automatically show the conversion. In this case it should turn out to be, 22 minutes.

    So it should look like

    Ratio to convert from---input time---Ratio to convert to---output time

    1:18---100---1:4---22


    Now this might seem pretty easy to just do the math, but there are much larger numbers at play and this is done very often.

    I want to be able to input any amount of time and switch back and forth between different ratios and get all the different time conversions.
    Attached Files Attached Files

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Help with multiple ratio to whole number fraction conversions

    well i can get that result. so your saying if it was 1:18 for 100 minute but class is split to 1 in 4 they only get a 22 min lesson?
    i thought you said all classes were 50 mins and min 36 students so 1:36 =50 man mins ,2X1:18 =100 man minutes, so 9X1:4 =450 man minutes.
    ive given formulas for both
    Attached Files Attached Files
    Last edited by martindwilson; 04-29-2009 at 09:52 PM.

  8. #8
    Registered User
    Join Date
    04-27-2009
    Location
    Somewhere, USA
    MS-Off Ver
    Excel 2003/2007
    Posts
    11

    Re: Help with multiple ratio to whole number fraction conversions

    That is awesome.
    Is there a better name to give this posting to help with people searching for the same thing.

+ 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