ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Help needed regarding calculating time (https://www.excelbanter.com/excel-worksheet-functions/448575-help-needed-regarding-calculating-time.html)

naga rajan

Help needed regarding calculating time
 
Hi,

Am having a set of numbers in A,B,C Columns.
Column A is for Distance
Column B is for speed
Column C is for Time

I have query value in D1.
If D1 is less than A1 it should calculate time on the following basis.
D1<A1 Then (D1-A1)/(B1*24)
If D1 is greater than A1 and less than A2 then it should be
C1+(d1-a2)/(b2*24) and so on.
If I drag the formula it is getting collapsed.





All times are GMT +1. The time now is 06:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com