transform data based on calendar

evalam

New Member
Joined
Jul 15, 2014
Messages
7
MTWHFSUstarting date ending date
100000029/4/20137/10/2013

<colgroup><col><col span="6"><col><col></colgroup><tbody>
</tbody>
hey guys i have the previous data set which represent a flight that starts 29/4/2013 and ends 7/10/2013
and is going to take place every monday
i need to transform it in the following form but ihave no idea on how to do it

29-Apr-131
6-May-131
13-May-131
20-May-131
27-May-131
3-Jun-131
10-Jun-131
17-Jun-131
24-Jun-131
1-Jul-131
8-Jul-131
15-Jul-131
22-Jul-131
29-Jul-131
5-Aug-131
12-Aug-131
19-Aug-131
26-Aug-131
2-Sep-131
9-Sep-131
16-Sep-131
23-Sep-131
30-Sep-131
7-Oct-131

<colgroup><col><col></colgroup><tbody>
</tbody>

any ideas ?
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Try this:
ABCDEFGGI
1MTWHFSUstarting dateending date
2100000029/04/201307/10/2013
329/04/2013
406/05/2013
513/05/2013
620/05/2013
727/05/2013
803/06/2013
910/06/2013
1017/06/2013
1124/06/2013
1201/07/2013
1308/07/2013
1415/07/2013
1522/07/2013
1629/07/2013
1705/08/2013
1812/08/2013
1919/08/2013
2026/08/2013
2102/09/2013
2209/09/2013
2316/09/2013
2423/09/2013
2530/09/2013
2607/10/2013

<tbody>
</tbody>

A3:
=IFERROR(INDEX(ROW(INDIRECT($H$2&":"&$I$2)),SMALL(IF(WEEKDAY(ROW(INDIRECT($H$2&":"&$I$2)),2)=($A$2:$G$2*COLUMN($A$1:$G$1)),ROW(INDIRECT("1:"&($I$2-$H$2+1)))),ROW(1:1))),"")
Ctrl Shift Enter
Work even more day been marked
 
Last edited:
Upvote 0
thank you so much it works but when i need to add more lines for example :
010000030/4/201324/9/2013
001000015/5/201325/9/2013
00010004/7/201329/8/2013
10000003/6/201330/9/2013
00100005/6/201325/9/2013

<tbody>
</tbody>
it gives me blank cells ...
 
Upvote 0
No No, don't add more line, use the 1st one
From A2:G2, tick 1 to which day you want it to show
 
Upvote 0

Forum statistics

Threads
1,215,584
Messages
6,125,674
Members
449,248
Latest member
wayneho98

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top