+ Reply to Thread
Results 1 to 7 of 7

if cell equals "value" then return that entire row to another row in the same sheet

  1. #1
    Registered User
    Join Date
    03-14-2014
    Location
    chicago
    MS-Off Ver
    Excel 2010
    Posts
    4

    if cell equals "value" then return that entire row to another row in the same sheet

    Hello,

    I am a newbie at excel, so I would probably need pretty basic instructions. What I'm looking at doing is moving a complete row of information once each cell on that row has a value and copy to another row of the same sheet. To be exact, the last row with information (ex. row #20), once filled, I want it to automatically be copied on row #4 (which would have the latest updated information) If the next row, row #21 is filled, then the information on row #4 needs to change.

    thanks for your help

    Pier

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: if cell equals "value" then return that entire row to another row in the same sheet

    Hello and welcome to the forum
    How many column do you have ?

    Assuming your data starts from Row #5 then you could use in A4
    copy paste below in A4 then hold control and shift together and then hit enter to make it array formula and release all three keys

    =INDEX(A$5:A$200,MAX(IF($A$5:$A$200<>"",ROW($A$5:$A$200)-4))) drag to right
    Last edited by hemesh; 03-14-2014 at 04:03 AM.
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Registered User
    Join Date
    03-14-2014
    Location
    chicago
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: if cell equals "value" then return that entire row to another row in the same sheet

    I have 24 columns. top 4 rows panes have been frozen, as if I continue to put information and scroll down, I always want to be able to see those.

  4. #4
    Registered User
    Join Date
    03-14-2014
    Location
    chicago
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: if cell equals "value" then return that entire row to another row in the same sheet

    I'm sorry, data starts from row #5 like you mentioned, but it goes into row #3. Is there anything that changes?

  5. #5
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: if cell equals "value" then return that entire row to another row in the same sheet

    then you can keep the formula at row #1 i.e. at the top of your data!
    =INDEX(A$2:A$200,MAX(IF($A$5:$A$200<>"",ROW($A$5:$A$200)-1))) array entered.
    Last edited by hemesh; 03-14-2014 at 04:29 AM.

  6. #6
    Registered User
    Join Date
    03-14-2014
    Location
    chicago
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: if cell equals "value" then return that entire row to another row in the same sheet

    Here is the Excel sheet.
    Attached Images Attached Images

  7. #7
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: if cell equals "value" then return that entire row to another row in the same sheet

    you can add one extra row at row number 4 and can keep the first formula

+ 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. Return Column Header for Cell Range that equals "1"
    By kibbles in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-11-2013, 11:10 AM
  2. [SOLVED] Copy & Paste Special entire row from one sheet to another if cell is contains "NOTOK"
    By rvkadu1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-11-2013, 04:58 AM
  3. If cell equals "x" move row to sheet "x", If cell equals "y" move row to sheet "y"
    By snappyleon in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-01-2013, 03:19 AM
  4. If A2 in sheet1 equals "......." copy entire row to sheet 2
    By theprodigy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-28-2013, 08:42 PM
  5. if cell equals "value" then return that entire row to another worksheet
    By juliehight in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-26-2012, 03:36 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