+ Reply to Thread
Results 1 to 9 of 9

how to relocate cells

  1. #1
    Forum Contributor aaaaa34's Avatar
    Join Date
    12-25-2013
    Location
    Istanbul
    MS-Off Ver
    Windows 10, MS Office 2013
    Posts
    375

    how to relocate cells

    i want to relocate cells in two columns convert to lay as two rows like i showed in the sample file.
    its to easy for all of you, i know
    i wait your responses my friends
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,877

    Re: how to relocate cells

    1. Highlight your cells in column A. Click on Copy. In D1. Click on Paste Special-->Transpose
    2. Highlight your cells in column B. Click on Copy In D2. Click on Paste Special-->Transpose
    3. Highlight D1 to V2. Pres the F5 key and select Blank Cells. And Ok
    4. The Blank cells will be highlighted. Right Click and select delete. Select Move Left.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: how to relocate cells

    or....

    For the numbers:
    =OFFSET($A$1,2*COLUMNS($A:A)-2,,,)

    For the names:
    =OFFSET($B$2,2*COLUMNS($A:A)-2,,,)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Contributor aaaaa34's Avatar
    Join Date
    12-25-2013
    Location
    Istanbul
    MS-Off Ver
    Windows 10, MS Office 2013
    Posts
    375

    Re: how to relocate cells

    thanks a lot for ur responses guys
    but i couldnt apply ur methods to my original sample file
    can u have a look at it pls ?
    Attached Files Attached Files

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: how to relocate cells

    All you had to do was alter the starting cell reference to the one used in your real sheet.

    column B
    =OFFSET($B$2,2*COLUMNS($A:A)-2,,,)

    column M
    =OFFSET($M$3,2*COLUMNS($A:A)-2,,,)
    Attached Files Attached Files

  6. #6
    Forum Contributor aaaaa34's Avatar
    Join Date
    12-25-2013
    Location
    Istanbul
    MS-Off Ver
    Windows 10, MS Office 2013
    Posts
    375

    Re: how to relocate cells

    oke super formula, Glenn
    i edited the formula next sheet also

    thanks a lot Glenn
    U RE %100 ORIGINAL GURU, not from china
    Last edited by aaaaa34; 08-08-2016 at 12:04 PM.

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: how to relocate cells

    You were nearly there. the ' and the $ were mixed up. there's no need to refer to the other sheet for the columns bit. That's just a counter that increments the copied cell by 1 column as you drag it across (2 columns after multiplication by two)

    =OFFSET('2016-05-09'!$M$3,2*COLUMNS($A:A)-2,,,)

  8. #8
    Forum Contributor aaaaa34's Avatar
    Join Date
    12-25-2013
    Location
    Istanbul
    MS-Off Ver
    Windows 10, MS Office 2013
    Posts
    375

    Re: how to relocate cells

    daaaa, da Glenn!!!!! i found it!!! but i could edit my post ater u sent
    U RE KING OF EXCELFORUM.COM!!!

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: how to relocate cells

    Hardly that - but thanks for the Rep. Appreciated!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Image relocate
    By Evolta in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-13-2015, 10:11 AM
  2. Relocate data
    By nikoz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-25-2015, 09:04 AM
  3. [SOLVED] i need a formula for relocate the cells
    By aaaaa34 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-22-2014, 12:43 PM
  4. How to relocate multiple cells?
    By ecoimpact in forum Excel General
    Replies: 2
    Last Post: 09-04-2011, 02:02 AM
  5. How to relocate multiple cells?
    By GGilby in forum Excel General
    Replies: 4
    Last Post: 09-04-2011, 12:35 AM
  6. Replies: 2
    Last Post: 07-10-2006, 02:04 PM
  7. Relocate Data
    By jawdawson in forum Excel General
    Replies: 3
    Last Post: 01-19-2006, 06:54 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1