logo elektroda
logo elektroda
X
logo elektroda

[Excel] Transferring Data Horizontally to Vertically with Merged Cells: Efficient Methods

nahirek 9495 5
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16617875
    nahirek
    Level 8  
    Hello,
    I need to copy data from an excel file with data horizontally to another excel file vertically, but unfortunately I have merged cells in this file where I want to paste vertically.
    I am asking for help because I have a lot of data to transfer in this way.
    Thank you very much in advance.


    [Excel] Transferring Data Horizontally to Vertically with Merged Cells: Efficient Methods [Excel] Transferring Data Horizontally to Vertically with Merged Cells: Efficient Methods
  • ADVERTISEMENT
  • #2 16618065
    rav88pl
    Level 10  
    You select the data and copy it.
    You position yourself on the cell and click the right mouse button and
    you choose PASTE SPECIALLY.
    Then select TRANSPOSITION in the opened window. [/ Quote]
  • ADVERTISEMENT
  • #3 16618295
    nahirek
    Level 8  
    I do this too and it comes out like this:
    [Excel] Transferring Data Horizontally to Vertically with Merged Cells: Efficient Methods
  • ADVERTISEMENT
  • #4 16618400
    adamas_nt
    Moderator of Programming
    Try with an additional selection of one of the Formulas / Values and Number Formats options.
    Note: the number of cells must be the same (i.e. merged cells are counted as one)
  • ADVERTISEMENT
  • #5 16618581
    nahirek
    Level 8  
    I do as you say, scheming right and left - to no avail

    [Excel] Transferring Data Horizontally to Vertically with Merged Cells: Efficient Methods
  • #6 16621049
    Maciej Gonet
    VBA, Excel specialist
    This cannot be done with the usual Copy / Paste, because there is no such option to paste with offset results.
    This can be done, for example, with formulas, provided that the glued areas are of the same size.
    Since you did not include your files, in my example you have to adjust the example. The idea behind the formula is this:
    Code: Text
    Log in, to see the code
    where lks stands for the number of merged cells.
    You copy this formula down until your data is exhausted.
ADVERTISEMENT