Dazzawm
Well-known Member
- Joined
- Jan 24, 2011
- Messages
- 3,786
- Office Version
- 365
- Platform
- Windows
I have a file which is 300,000 rows, and I need a code that will split the dates into other columns. Below is the before and after results that are required. Thanks
<b>Sheet1</b><br /><br /><table border="1" cellspacing="0" cellpadding="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:76px;" /><col style="width:64px;" /><col style="width:39px;" /><col style="width:39px;" /><col style="width:23px;" /><col style="width:39px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td><td >B</td><td >C</td><td >D</td><td >E</td><td >F</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td style="font-size:12pt; text-align:left; ">Before</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">After</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; "> </td><td style="font-size:12pt; "> </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >2</td><td style="font-size:12pt; text-align:left; ">Column Z</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">N</td><td style="font-size:12pt; text-align:left; ">O</td><td style="font-size:12pt; text-align:left; ">P</td><td style="font-size:12pt; text-align:left; ">Q</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >3</td><td style="font-size:12pt; text-align:left; ">2001-2003</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">2001</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">2003</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >4</td><td style="font-size:12pt; text-align:left; ">2001-2003</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">2001</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">2003</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >5</td><td style="font-size:12pt; text-align:left; ">2003-2006</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">2003</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">2006</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >6</td><td style="font-size:12pt; text-align:left; ">2003-2006</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">2003</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">2006</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >7</td><td style="font-size:12pt; text-align:left; ">2003-</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">2003</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; "> </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >8</td><td style="font-size:12pt; text-align:left; ">2003-</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">2003</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; "> </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >9</td><td style="font-size:12pt; text-align:left; ">2003-</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">2003</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; "> </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >10</td><td style="font-size:12pt; text-align:left; ">2003-</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">2003</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; "> </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >11</td><td style="font-size:12pt; text-align:left; ">1992-1998</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">1992</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">1998</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >12</td><td style="font-size:12pt; text-align:left; ">1992-1998</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">1992</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">1998</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >13</td><td style="font-size:12pt; text-align:left; ">1992-1998</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">1992</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">1998</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >14</td><td style="font-size:12pt; text-align:left; ">1992-1998</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">1992</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">1998</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >15</td><td style="font-size:12pt; text-align:left; ">1993-2007</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">1993</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">2007</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >16</td><td style="font-size:12pt; text-align:left; ">2005-2009</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">2005</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">2009</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >17</td><td style="font-size:12pt; text-align:left; ">1978-1986</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">1978</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">1986</td></tr></table> <br /><br /><span style="font-family:Arial; font-size:9pt; font-weight:bold;background-color:#ffffff; color:#000000; ">Excel tables to the web >> </span><a style ="font-family:Arial; font-size:9pt; color:#fcf507; background-color:#800040;
<b>Sheet1</b><br /><br /><table border="1" cellspacing="0" cellpadding="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:76px;" /><col style="width:64px;" /><col style="width:39px;" /><col style="width:39px;" /><col style="width:23px;" /><col style="width:39px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td><td >B</td><td >C</td><td >D</td><td >E</td><td >F</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td style="font-size:12pt; text-align:left; ">Before</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">After</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; "> </td><td style="font-size:12pt; "> </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >2</td><td style="font-size:12pt; text-align:left; ">Column Z</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">N</td><td style="font-size:12pt; text-align:left; ">O</td><td style="font-size:12pt; text-align:left; ">P</td><td style="font-size:12pt; text-align:left; ">Q</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >3</td><td style="font-size:12pt; text-align:left; ">2001-2003</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">2001</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">2003</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >4</td><td style="font-size:12pt; text-align:left; ">2001-2003</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">2001</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">2003</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >5</td><td style="font-size:12pt; text-align:left; ">2003-2006</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">2003</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">2006</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >6</td><td style="font-size:12pt; text-align:left; ">2003-2006</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">2003</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">2006</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >7</td><td style="font-size:12pt; text-align:left; ">2003-</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">2003</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; "> </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >8</td><td style="font-size:12pt; text-align:left; ">2003-</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">2003</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; "> </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >9</td><td style="font-size:12pt; text-align:left; ">2003-</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">2003</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; "> </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >10</td><td style="font-size:12pt; text-align:left; ">2003-</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">2003</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; "> </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >11</td><td style="font-size:12pt; text-align:left; ">1992-1998</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">1992</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">1998</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >12</td><td style="font-size:12pt; text-align:left; ">1992-1998</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">1992</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">1998</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >13</td><td style="font-size:12pt; text-align:left; ">1992-1998</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">1992</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">1998</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >14</td><td style="font-size:12pt; text-align:left; ">1992-1998</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">1992</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">1998</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >15</td><td style="font-size:12pt; text-align:left; ">1993-2007</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">1993</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">2007</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >16</td><td style="font-size:12pt; text-align:left; ">2005-2009</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">2005</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">2009</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >17</td><td style="font-size:12pt; text-align:left; ">1978-1986</td><td style="font-size:12pt; "> </td><td style="font-size:12pt; text-align:left; ">01</td><td style="font-size:12pt; text-align:left; ">1978</td><td style="font-size:12pt; text-align:left; ">12</td><td style="font-size:12pt; text-align:left; ">1986</td></tr></table> <br /><br /><span style="font-family:Arial; font-size:9pt; font-weight:bold;background-color:#ffffff; color:#000000; ">Excel tables to the web >> </span><a style ="font-family:Arial; font-size:9pt; color:#fcf507; background-color:#800040;