uberathlete
Board Regular
- Joined
- Jul 11, 2007
- Messages
- 117
Hi everyone, I need some help. I posed a similar question 2 days ago (http://www.mrexcel.com/board2/viewtopic.php?t=284838&highlight=) but this one's a bit different. Here's the situation (please refer to image):
Basically, I would like to fill column F. The values in column F2 must be those prices that occured at 8:25:00 on the corresponding date specified in column E. However, when there is no 8:25:00 price , then price of the the same date at the hour closest to but beyond 8:25:00 must be used instead and this value should be highlighted.
So in this case, cell F requires the 8:25:00 price on January 1, 2000 which would be 78.45 coming from cell C3. For cell F4, there is no 8:25:00 price on January 5, 2000 so instead it should have the price on the same date at the hour closest to but beyond 8:25:00 which is 99.99 (occuring at 9:10:00) and must be highlighted as well.
Anyone know how I could do this? Oh also, for my earlier question (please see link above), the suggestion by Domenic worked great but there was no highlighting that occured. So I'd like to modify the formula he suggested to accomodate this feature, if it's possible.
Any suggestions would be greatly appreciated. Thank you!
Basically, I would like to fill column F. The values in column F2 must be those prices that occured at 8:25:00 on the corresponding date specified in column E. However, when there is no 8:25:00 price , then price of the the same date at the hour closest to but beyond 8:25:00 must be used instead and this value should be highlighted.
So in this case, cell F requires the 8:25:00 price on January 1, 2000 which would be 78.45 coming from cell C3. For cell F4, there is no 8:25:00 price on January 5, 2000 so instead it should have the price on the same date at the hour closest to but beyond 8:25:00 which is 99.99 (occuring at 9:10:00) and must be highlighted as well.
Anyone know how I could do this? Oh also, for my earlier question (please see link above), the suggestion by Domenic worked great but there was no highlighting that occured. So I'd like to modify the formula he suggested to accomodate this feature, if it's possible.
Any suggestions would be greatly appreciated. Thank you!