I have downloaded a raw data file from quotetracker and loaded it into Excel. I want to find a way to create a chart with this data for backtesting, but I have to be able to extract the periodic open, high, low, and close to create the chart. The data I have is time of last sale, price of last sale, and the bid and ask, which I don't need(bid and ask). Is there a quick way of sorting the data into columns for the open, high, low, and close for set periods of time.