I Love this site! A ton of resources and information.
Colum A is the database for the start and end time. Col B is the price and it changes every second. Colum C and D are pulled from another sheet when an order was placed start time and when the order close the end time.
My scenario is to track price changes, and reflect changes transpose Col B price to Col E, F, G..
Col A list Date/Time, Col B list price, Col C list the start Date/Time, Col D list the end Date/Time. The Start and End dates are matched in Col A.
I pulled all these 6-AWESOME formulas/arrays from this site. My limited knowledge has made it difficult to connect the dots between the Start and End Date to transpose.
Example: I must Match C2 and D2 against Col A, and transpose all the prices Col B between those 2 dates into Col E, G, H...
=INDEX(A:A, MATCH(TRUE, INDEX(A:A=C2, 0), 0))
=INDEX(A:A,SUMPRODUCT(--(C2=A:A),ROW(C:C)))
=TRANSPOSE(INDEX(A:A,MATCH(C2,A:A,0),0))
=SUM(IF(FREQUENCY(IF(A:A=C2,C:C),IF(A:A=D2,C:C))>0,1))
=SUMIF(A:A,C2,C:C)
=INDEX(INDEX(A:A,IF(ROW(A2)=1,1,SMALL(IF(ISNUMBER(SEARCH(C2,A:A)),
ROW(A:A),10^100),ROW(A2)-1)+1)):A,COLUMNS($A2:A2))
Col A
Date/TIME
3/28/2016 1:00
3/28/2016 1:01
3/28/2016 1:02
3/28/2016 1:03
3/28/2016 1:05
3/28/2016 1:06
3/28/2016 1:07
3/28/2016 1:08
Col B
PRICE
17567
17566
17565
17565
17563
17561
17560
17561
Col C
START
3/28/2016 1:00
3/28/2016 1:02
Col D
END
3/28/2016 1:03
3/28/2016 1:08
End Result:
Col C Col D Col E Col F Col G Col H Col I Col J
START END
3/28/2016_1:00 3/28/2016 1:00 17567 17566 17565
3/28/2016_1:02 3/28/2016 1:01 17566 17565 1756 17561 17560 17561
I have attached the above xls example