Dear All, Greetings for the Day..!! Well I have trade level data for 50 days. For each day, there are 5 columns (namely Day, Flag, Price, Qty, Type) . Since my data is for 50 days, which means there are total 250 columns. (There are 60,000 plus rows for each day.) Data: 8000 Call 8100 Call 8200 Call Day Flag Price Qty Type Day Flag Price Qty Type Day Flag Price Qty Type May 4, 2015 TRADE 320 4 May 5, 2015 TRADE 368.05 1 May 6, 2015 TRADE 355 5 May 4, 2015 TRADE 320.1 2 May 5, 2015 TRADE 368 3 May 6, 2015 TRADE 354.25 2 May 4, 2015 TRADE 316.85 1 May 6, 2015 TRADE 368 4 May 6, 2015 TRADE 354.3 2 May 4, 2015 TRADE 317.4 1 May 6, 2015 TRADE 368 2 May 6, 2015 TRADE 354.2 1 May 4, 2015 TRADE 311.05 1 May 7, 2015 TRADE 361.65 2 May 6, 2015 TRADE 354.4 1 May 4, 2015 TRADE 320.3 18 May 7, 2015 TRADE 362.8 7 May 6, 2015 TRADE 350.05 1 May 4, 2015 TRADE 318 18 May 8, 2015 TRADE 361.85 3 May 6, 2015 TRADE 347.05 2 May 4, 2015 TRADE 318 1 May 8, 2015 TRADE 362.8 1 May 6, 2015 TRADE 345.85 7 May 4, 2015 TRADE 318 2 May 9, 2015 TRADE 362.15 8 May 6, 2015 TRADE 342 3 May 4, 2015 TRADE 318 2 May 9, 2015 TRADE 366.05 1 May 6, 2015 TRADE 341 131 May 4, 2015 TRADE 318.05 2 May 10, 2015 TRADE 368 1 May 6, 2015 TRADE 343 12 May 4, 2015 TRADE 318 7 May 10, 2015 TRADE 368 3 May 6, 2015 TRADE 343 10 May 4, 2015 TRADE 320 40 May 11, 2015 TRADE 367 8 May 6, 2015 TRADE 345.1 1 Desired Output: Day Flag Price Qty Type May 4, 2015 8000 320 4 Call May 4, 2015 8000 320.1 2 Call May 4, 2015 8000 316.85 1 Call May 4, 2015 8000 317.4 1 Call May 4, 2015 8000 311.05 1 Call May 4, 2015 8000 320.3 18 Call May 4, 2015 8000 318 18 Call May 4, 2015 8000 318 1 Call May 4, 2015 8000 318 2 Call May 4, 2015 8000 318 2 Call May 4, 2015 8000 318.05 2 Call May 4, 2015 8000 318 7 Call May 4, 2015 8000 320 40 Call May 5, 2015 8100 368.05 1 Call May 5, 2015 8100 368 3 Call May 5, 2015 8100 368 4 Call May 5, 2015 8100 368 2 Call May 5, 2015 8100 361.65 2 Call May 5, 2015 8100 362.8 7 Call May 5, 2015 8100 361.85 3 Call May 5, 2015 8100 362.8 1 Call May 5, 2015 8100 362.15 8 Call May 5, 2015 8100 366.05 1 Call May 5, 2015 8100 368 1 Call May 5, 2015 8100 368 3 Call May 5, 2015 8100 367 8 Call May 6, 2015 8200 355 5 Call May 6, 2015 8200 354.25 2 Call May 6, 2015 8200 354.3 2 Call May 6, 2015 8200 354.2 1 Call May 6, 2015 8200 354.4 1 Call May 6, 2015 8200 350.05 1 Call May 6, 2015 8200 347.05 2 Call May 6, 2015 8200 345.85 7 Call May 6, 2015 8200 342 3 Call May 6, 2015 8200 341 131 Call May 6, 2015 8200 343 12 Call May 6, 2015 8200 343 10 Call May 6, 2015 8200 345.1 1 Call Stpes required to get desired output: 1. Column Flag should consider first 4 letters of Header present in first row (e.g.8000 Call Header will show flag as 8000) 2. Column Type should consider 6-9 letters of Header (e.g. 8000 Call will show Type as Call) 3. Now,Append each days data one under other. Request to kindly help me to get me desired output. Thanks and Regards, Vishal Kapasi
... View more