需要在sql中添加来自我的报告中的公式的数据

时间:2017-05-02 15:32:35

标签: excel-vba vba excel

我目前的报告:

Data from SQL           Formulas                
ID  DATE    STATUS  Jan-16  Feb-16  Mar-16  ……………   May-17
1   1/3/2016    Final                   
1   2/16/2016   Inprogress                  
1   3/15/2016   Not Started                 
1   4/3/2016    Final                   
1   5/16/2016   Inprogress                  
1   6/15/2016   Not Started                 
2   1/5/2016    Final                   
2   2/19/2016   Inprogress                  
2   3/15/2016   Not Started                 
2   4/30/2016   Final                   

我需要以下内容:

Data from SQL           Formulas                                        
ID          Jan-16  DATE    STATUS  Feb-16  DATE    STATUS  Mar-16  DATE    STATUS  ………..   
1               1/3/2016    Final       2/16/2016   Inprogress  3/15/2016   Not Started         
2               1/5/2016    Final       2/19/2016   Inprogress  3/15/2016   Not Started         

0 个答案:

没有答案