Jazzledizzle
New Member
- Joined
- Jul 20, 2020
- Messages
- 7
- Office Version
- 365
- Platform
- Windows
Hi, I'm sorry if I don't follow all of the rules as this is my first post, I may have missed some of them,
My current problem is I need to create one line of data from the table below, which contains a lot more data than just shown below, but as an example, I need to transform the data into one row, per unique lead reference. by example i'd need something like the row of data, from the table.
Output required:
Main table
My current problem is I need to create one line of data from the table below, which contains a lot more data than just shown below, but as an example, I need to transform the data into one row, per unique lead reference. by example i'd need something like the row of data, from the table.
Output required:
LeadReference | ClientiD1 | ClientiD2 | ClientiD3 | ClientiD4 | ClientiD5 | ClientiD6 | ClientiD7 | ClientiD8 | ClientiD9 | ClientiD10 | ClientiD11 | Title1 | Title2 | Title3 | Title4 | Title5 | Title6 | Title7 | Title8 | Title9 | Title10 | Title11 | Forename1 | Forename2 | Forename3 | Forename4 | Forename5 | Forename6 | Forename7 | Forename8 | Forename9 | Forename10 |
90780390 | 90780397 | 90780390 | 90780399 | 90780391 | 90780400 | 90780392 | 90780401 | 90780394 | 90780402 | 90780396 | Group | Group | Group | Group | Group | Group | Group | Group | Group | Group |
Main table
Lead Reference | Customer Reference | Title | Forename | Surname | Company | Area_desc2 1 | Row 1 | Start_seat 1 | No_seats 1 | Cost 1 | Ticket Net £ | VAT @ 20% | Gross | Dining Net | VAT @ 5% | Gross | Total | Price_Band 1 |
90780390 | 90780397 | Group | BT Group | M07 | 40 | 162 | 1 | 8503 | 1 | 1 | 2 | 1 | 1 | 2 | 0 | Arnold Hills EXEC | ||
90780390 | 90780390 | Group | BT Group | M07 | 39 | 161 | 1 | 8503 | 2 | 2 | 3 | 2 | 2 | 3 | Arnold Hills EXEC | |||
90780390 | 90780399 | Group | BT Group | M07 | 40 | 161 | 1 | 8503 | 3 | 3 | 4 | 3 | 3 | 4 | Arnold Hills EXEC | |||
90780390 | 90780391 | Group | BT Group | M07 | 39 | 160 | 1 | 8503 | 4 | 4 | 4 | 4 | 4 | 5 | Arnold Hills EXEC | |||
90780390 | 90780400 | Group | BT Group | M07 | 40 | 160 | 1 | 8503 | 5 | 5 | 5 | 5 | 5 | 6 | Arnold Hills EXEC | |||
90780390 | 90780392 | Group | BT Group | M07 | 39 | 159 | 1 | 8503 | 6 | 6 | 5.7 | 6 | 6 | 7 | Arnold Hills EXEC | |||
90780390 | 90780401 | Group | BT Group | M07 | 40 | 159 | 1 | 8503 | 7 | 7 | 6.4 | 7 | 7 | 8 | Arnold Hills EXEC | |||
90780390 | 90780394 | Group | BT Group | M07 | 39 | 158 | 1 | 8503 | 8 | 8 | 7.1 | 8 | 8 | 9 | Arnold Hills EXEC | |||
90780390 | 90780402 | Group | BT Group | M07 | 40 | 158 | 1 | 8503 | 9 | 9 | 7.8 | 9 | 9 | 10 | Arnold Hills EXEC | |||
90780390 | 90780396 | Group | BT Group | M07 | 39 | 157 | 1 | 8503 | 10 | 10 | 8.5 | 10 | 10 | 11 | Arnold Hills EXEC |