Forum Discussion

M.Yasir Fakhr's avatar
M.Yasir Fakhr
Copper Contributor
Aug 03, 2019

merge to values in one cell

hi team,

I want to ask that I have data in excel in different cell, and I want to merge two values in one cell.

from example;

 value Should be like this
1200012001
1 
13000130002
2 
14000140005
5 

kindly help me 

Thanks 

Yasir

 

4 Replies

  • SergeiBaklan's avatar
    SergeiBaklan
    Diamond Contributor

    M.Yasir Fakhr 

    One more

    =IF(ROW()=1,B$2&B$3,
        IF(INDEX(C:C,ROW()-1)=INDEX(B:B,ROW()-1)&INDEX(B:B,ROW()),
            "",
            INDEX(B:B,ROW())&INDEX(B:B,ROW()+1)
        )
    )
  • David_Gd's avatar
    David_Gd
    Copper Contributor

    HI M.Yasir Fakhr 

     

    Here is another alternative, using OFFSET()

    =IF(ISEVEN(ROW()),CONCAT(A2,OFFSET(A2,1,0)),"")

    You have now several options

     

    Let us know what works best for you

     

    David 

Resources