+ Reply to Thread
Results 1 to 3 of 3

Calculate distance ran using time vs program

  1. #1
    Registered User
    Join Date
    01-21-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Calculate distance ran using time vs program

    I have set up a spreadsheet for myself to track how far I am running on my treadmill.

    The treadmill has 12 programs and for each I have calculated the average kmph that each program does.

    What I would like to do is have an IF formula in place so that all I have to do is put in the time on the treadmill (for ease lets assume at the moment it is 60 minutes) and the programme number and then the formula calculate exactly how far I have ran.

    So programme 1 was 6kmph, 2 8kmph and 3 7kmph all I would have to do is put in programme 2, time 60 minutes and the formula would give me 8km that I have ran (clearly this is just an example of 3 programmes, I have 12).

    I can put an IF statement in so that if I put a 1 in the programme and my time in it populates a distance, but I can't work out how to get the formula to change if I do a different programme.

    Please help!

    I have attached the spreadsheet for anyone willing to help.
    Attached Files Attached Files
    Last edited by cls1983; 01-21-2013 at 12:02 PM.

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

    Re: Help with IF formula within excel

    Try this:
    =VLOOKUP(L23,Programs!$A$2:$F$25,4,0)*C23/60
    Does it meet?
    Quang PT

  3. #3
    Registered User
    Join Date
    01-21-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Help with IF formula within excel

    That brings up true if the programme has 1-12 in but does not calculate the distance ran...

+ 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