Comparing two columns in excel, inserting blank rows moving associated data

前端 未结 1 1499
梦如初夏
梦如初夏 2021-01-07 10:39

I have a large set of data in excel that needs to be matched by column. Specifically, the data currently looks like:

Column 1 Column 2 Column 3
1          1          


        
1条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-07 11:01

    If you want / can use directly Excel:

    enter image description here

    In the cells of Col "D" put this formula:

    =IFERROR(MATCH(A2;$B$2:$B$8;);"")
    

    In the cells of Col "E" put this formula:

    =IF(D2<>"";INDEX($B$2:$C$8;D2;1);"")
    

    In the cells of Col "F" put this formula:

    =IF(D2<>"";INDEX($B$2:$C$8;D2;2);"")
    

    Copy and paste for all the cells. The good think it's that it's autoupdated... Or when finish copy and paste with value.

    0 讨论(0)
提交回复
热议问题