need to construct a forumla

acapro

New Member
Joined
Jan 11, 2014
Messages
34
Hi,

I am not sure if this question is in the right area or can be answers in this forum, but I will put it out anyway.

I want to construct a formula to answer the following question. A race car does 10 laps, each lap the fuel load (weight) reduces therefore the lap time reduces however the driver can not complete each lap exactly the same therefore the times do not reduce consistently. What I want to do is work out at how much time does each litre of fuel cost per lap and how much time is reduced for each lap worth of fuel

example

5 litres of fuel needed per lap

lap number
10 1:22.853
9 1:22.822
8 1:22:825
7 1:22:801
6 1:22:799
5 1:22.765
4 1:22.788
3 1:22:770
2 1:22:762
1 1:22:765

I will have 10 cells on a worksheet where I can enter the times next to the corresponding lap number then in the 11th cell the answer =time per lap/fuel 12th cell time per litre/fuel


Thanks in advance
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Hi, this sounds more like a math question rather than an excel question.
What is 1:22:765?

You might consider rewriting your sample data.
Copy them from the excel file and paste them in here.

Cheers.
 
Upvote 0
Perhaps:

1) create a new column that calculates the lap time differences
2) work out the average of the lap time differences
3) divide by 5 for average improvement by litre
 
Upvote 0
Let me post the question in more detail

I want to construct a standard best-fit trendline to answer the following question. A race car does 10 laps, each lap the fuel load (weight) reduces therefore the lap time reduces however the driver can not complete each lap exactly the same therefore the times do not reduce consistently. What I want to do is work out at how much time does each litre of fuel cost per lap and how much time is reduced for each lap worth of fuel

example

5 litres of fuel needed per lap

lap
10 1:22.853
9 1:22.822
8 1:22.825
7 1:22.801
6 1:22.799
5 1:22.765
4 1:22.788
3 1:22.770
2 1:22.762
1 1:22.765

I will have 10 cells on a excel worksheet where I can enter the times next to the corresponding lap number then in the 11th cell the answer =time per lap/fuel 12th cell time per litre/fuel

Please note that the lap count works backward from a pit stop i.e lap 10 is 10 laps of fuel, lap 9 is 9 laps of fuel and so on.

I am a newbie to the world of excel so can you keep to answer as detailed and basic as possible.

Thanks in advance
 
Last edited:
Upvote 0

You are right, this is what I am looking for Vogel. I have made several attempts to construct this however 1/ I can not work out how to show the numbers(time) 1:11.111 when I format cells it only gives the option for 1:11.11 and converts it to clock time. I have used the custom and special format options however I have the same result. and 2/ how do I formulate the cells in column D

Thanks in advance
 
Upvote 0
Updated link to show formulas.

Works beautifully Vogal other than for D12 I am assuming you can not have a negative number for time therefore you have a reference for "slow" (slower than previous)and "fast" (faster than previous)? So based on this you would have an if "slow" then -, if "fast" then + the corresponding cell, so I can get the d cells to add up then /9 (thanks not a problem) however I can not work out the "IF" formula that calculators a number as a - or + number. I have made many crude attempts however I keep getting the fail box (please try again).

B12, b13 and d13 I was able to work out just stuck on D12.

I appreciate you time with this,

Thanks again
 
Upvote 0

Forum statistics

Threads
1,213,497
Messages
6,114,002
Members
448,543
Latest member
MartinLarkin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top