• Converting time/assigning values/I don’t know?!? (Office XP)

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Converting time/assigning values/I don’t know?!? (Office XP)

    Author
    Topic
    #413474

    Ok,
    I want to do this: Default value is 100, default time is 18:00 (18 minutes). For every 10 seconds after 18:00, I.E. 18:01-18:10, I want the default value to go down 1. For any time before 18:00 (I.E. 17:59),I want the value to remain 100….any clues? Right now all I have is two cells, one for minutes, one for seconds, and then a formula….example attached.

    Viewing 1 reply thread
    Author
    Replies
    • #912579

      (Edited by JohnBF on 13-Dec-04 21:40. Corrected for the 18 minute minimum.)

      If you mean that for each complete 10 seconds you want the value to decline (take off 1 for when it’s in the range 10 – 19.99, take off 2 when it’s in the range 20 -29.99, etc.), then this may be what you want:

      =100-INT((MAX(A2*60,1080)+B2-1080)/10)

      Depending on exactly how you want it to work, your original formula may be valid after adjustment, though it contained some redundant parentheses.

      =ROUNDDOWN(100-(MAX(A2*60,1080)+B2-1080)/10,0)

      (It would help if you label your columns.)

    • #912580

      (Edited by JohnBF on 13-Dec-04 21:40. Corrected for the 18 minute minimum.)

      If you mean that for each complete 10 seconds you want the value to decline (take off 1 for when it’s in the range 10 – 19.99, take off 2 when it’s in the range 20 -29.99, etc.), then this may be what you want:

      =100-INT((MAX(A2*60,1080)+B2-1080)/10)

      Depending on exactly how you want it to work, your original formula may be valid after adjustment, though it contained some redundant parentheses.

      =ROUNDDOWN(100-(MAX(A2*60,1080)+B2-1080)/10,0)

      (It would help if you label your columns.)

    Viewing 1 reply thread
    Reply To: Converting time/assigning values/I don’t know?!? (Office XP)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: