yasirsaeed2002
New Member
- Joined
- Mar 26, 2017
- Messages
- 30
Here is an example source table:
<colgroup><col><col><col><col span="5"></colgroup><tbody>
</tbody>
I need to set up another table with two columns as follows:
Date Customer
Now the since in the source table on 1st of December 2015 there are three entries so the date (01/12/2015) should repeat three times in three different successive rows in the date column and once the date is repeated the required number of time the required number of unique customers should be in the customer column.
I hope I have made myself clear but please feel free to clarify any thing.
Kind Regards
Yasir Saeed
Customer | 01/12/15 | 02/12/15 | 03/12/15 | 04/12/15 | 05/12/15 | 06/12/15 | 07/12/15 |
Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday | Monday | |
A | 2.00 | 6.00 | 3.00 | 1.00 | 6.00 | 7.00 | |
B | 6.00 | 4.00 | 10.00 | ||||
C | 8.00 | 10.00 | 3.00 | ||||
D | 4.00 | 9.00 | 1.00 | ||||
E | 8.00 | 3.00 | 1.00 | 7.00 |
<colgroup><col><col><col><col span="5"></colgroup><tbody>
</tbody>
I need to set up another table with two columns as follows:
Date Customer
Now the since in the source table on 1st of December 2015 there are three entries so the date (01/12/2015) should repeat three times in three different successive rows in the date column and once the date is repeated the required number of time the required number of unique customers should be in the customer column.
I hope I have made myself clear but please feel free to clarify any thing.
Kind Regards
Yasir Saeed