NARAYANK991
Excel Ninja
Hi ,
In a previous post , you mentioned :
Since the example time of 07:41 is between the two end-points 07:21 and 07:42 , the result will be between the corresponding scores for these two end-points , which are :
07:21 ..... -2
07:42 ..... -5
Since 07:41 is greater than or equal to 07:21 , we should return -2.
In your latest post , you mention :
06:39 ..... 2
07:00 ..... 0
Since 06:59 is greater than or equal to 06:39 , we should return 2.
This is how functions will work , but you want a different kind of logic to be applied , which I am not able to understand.
Can you clarify ?
Narayan
In a previous post , you mentioned :
Let us try to understand this :On your previous attachment, example score of 07:41 currently gives -5. As the time hasn't yet reached the threshold for -5 (07:42) the points returned should be -2.
Since the example time of 07:41 is between the two end-points 07:21 and 07:42 , the result will be between the corresponding scores for these two end-points , which are :
07:21 ..... -2
07:42 ..... -5
Since 07:41 is greater than or equal to 07:21 , we should return -2.
In your latest post , you mention :
If we follow the same logic as above , the example time of 06:59 is between the two end-points 06:39 and 07:00 , the result will be between the corresponding scores for these two end-points , which are :Example time 06:59. The threshold is 07:00 for 0 points, and 06:39 for 2 points. The logic here is it should choose 0 as it is lower than 07:00 but higher than 06:39.
06:39 ..... 2
07:00 ..... 0
Since 06:59 is greater than or equal to 06:39 , we should return 2.
This is how functions will work , but you want a different kind of logic to be applied , which I am not able to understand.
Can you clarify ?
Narayan