+ Reply to Thread
Results 1 to 10 of 10

how to copy a cell value and place in another non empty cell of same column

  1. #1
    Registered User
    Join Date
    07-31-2013
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    64

    how to copy a cell value and place in another non empty cell of same column

    I have a cell value in "E5". I need to paste the "E5" value in all Non- empty cells of column E from "E7", checking for cells from "E7" if they contain a value ex: (X) if yes paste E5 value else leav it blank.


    This continues to each column "F5", "G5" etc til the column is empty



    Any suggestions

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: how to copy a cell value and place in another non empty cell of same column

    Do you want to place value of E5 in all the columns or E5 in E col., F5 in F col. G5 in G col. etc? Which is the last column in your workbook? So it would be better if you upload a sample workbook with enough sample data in it to let us know your exact requirement.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    07-31-2013
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    64

    Re: how to copy a cell value and place in another non empty cell of same column

    I have attached the sheet. In cell E4 I have value "100001" . I want to paste this value in all the cells of Column "E" that has value "X"

    Likewise value of "F4" in all cells of column "F" that has "X".
    Input.jpgOutput1.jpg


    Sheet1 contains the actual and OUTPUT1 is wat I require
    Last edited by amethystfeb; 04-01-2014 at 11:01 PM.

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: how to copy a cell value and place in another non empty cell of same column

    I don't see any attachment.

  5. #5
    Registered User
    Join Date
    07-31-2013
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    64

    Re: how to copy a cell value and place in another non empty cell of same column

    I have attached as images

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: how to copy a cell value and place in another non empty cell of same column

    Try this code to see if this works as per your requirement.
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    07-31-2013
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    64

    Re: how to copy a cell value and place in another non empty cell of same column

    Thanks it works perfectly...

    it is possible to have all these values in a single column... Please find the image.. Like having everything in column "L"..

    same column.jpg

  8. #8
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: how to copy a cell value and place in another non empty cell of same column

    Try this code........
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    07-31-2013
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    64

    Re: how to copy a cell value and place in another non empty cell of same column

    Thank you so much it works great.....

  10. #10
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: how to copy a cell value and place in another non empty cell of same column

    Glad to help you. Thanks for the feedback.
    If that takes care of your question, please mark your thread as solved.
    Moreover you may also click on * (star) to Add Reputation to those who have put their time and efforts to help you in this forum. This is another way to say thanks to them.

+ 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. Need to find empty filled cells in a column and copy to the empty cell below
    By Grahamfeeley in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-30-2014, 10:09 AM
  2. copy cell data to next empty cell in a defined column
    By rzee in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-04-2012, 03:01 PM
  3. [SOLVED] Need a macro to Copy Cell in Sheet1 to the next empty cell in Column A, Sheet2
    By killerthun in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-16-2012, 01:21 PM
  4. Copy values from cell in active row, paste in first empty cell in spesified column.
    By Test123Test in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-19-2012, 05:20 PM
  5. Replies: 1
    Last Post: 03-02-2010, 01:23 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