Hello Everybody,
Need your assistance.
Is there a way we can segregates dates based on DOW (Day of week - numeric).
The data can come in any format.
Below sample data for your reference...
RAW DATA (Here DOW numeric = 1-MON,2-TUE, 3-WED,4-THU,5-FRI,6-SAT,7-SUN)
INPUT OUTPUT
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Eff Date[/TD]
[TD]Dis Date[/TD]
[TD]DOW[/TD]
[TD]Date[/TD]
[TD]DOW[/TD]
[/TR]
[TR]
[TD]28-Dec-18[/TD]
[TD]31-Dec-18[/TD]
[TD]15[/TD]
[TD]28-Dec-18[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]31-Dec-18[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]13-Dec-18[/TD]
[TD]16-Dec-18[/TD]
[TD]457[/TD]
[TD]13-Dec-18[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]14-Dec-18[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]16-Dec-18[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]5-Dec-18[/TD]
[TD]6-Dec-18[/TD]
[TD]34[/TD]
[TD]5-Dec-18[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]6-Dec-18[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]24-Dec-18[/TD]
[TD]31-Dec-18[/TD]
[TD]1357[/TD]
[TD]24-Dec-18[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]26-Dec-18[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]28-Dec-18[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]30-Dec-18[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]31-Dec-18[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
Thank you in Advance.
Regards,
Shan
Need your assistance.
Is there a way we can segregates dates based on DOW (Day of week - numeric).
The data can come in any format.
Below sample data for your reference...
RAW DATA (Here DOW numeric = 1-MON,2-TUE, 3-WED,4-THU,5-FRI,6-SAT,7-SUN)
INPUT OUTPUT
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Eff Date[/TD]
[TD]Dis Date[/TD]
[TD]DOW[/TD]
[TD]Date[/TD]
[TD]DOW[/TD]
[/TR]
[TR]
[TD]28-Dec-18[/TD]
[TD]31-Dec-18[/TD]
[TD]15[/TD]
[TD]28-Dec-18[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]31-Dec-18[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]13-Dec-18[/TD]
[TD]16-Dec-18[/TD]
[TD]457[/TD]
[TD]13-Dec-18[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]14-Dec-18[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]16-Dec-18[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]5-Dec-18[/TD]
[TD]6-Dec-18[/TD]
[TD]34[/TD]
[TD]5-Dec-18[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]6-Dec-18[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]24-Dec-18[/TD]
[TD]31-Dec-18[/TD]
[TD]1357[/TD]
[TD]24-Dec-18[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]26-Dec-18[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]28-Dec-18[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]30-Dec-18[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]31-Dec-18[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
Thank you in Advance.
Regards,
Shan