+ Reply to Thread
Results 1 to 5 of 5

When a cell in a selected row is not blank, copy to next blank row an another worksheet

  1. #1
    Registered User
    Join Date
    12-03-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    4

    When a cell in a selected row is not blank, copy to next blank row an another worksheet

    OK, where to start, so all this is in one workbook, this workbook has 9 worksheets. I am trying to find a way so that when a range of cells on one worksheet are not blank, ie they contain text, I want to be able to copy that text and a corresponding reference number in a different column, but the same row, over to another work sheet, but it must copy these two datasets to the next blank cells on this workbook.

    So Workbook is called Risks and on worksheet 2 ID of Risk, we are using Col A as the ID Number, Col B is the question and Col F is the one I want to be copying (Well defined), however Col F already has text cells already populated (Where not well defined, what needs to happen?), so I need to ignore these. So lets say Row 10, 12, 14 and 20 are the ones that have text in that I want to copy, as these are the responses, however Row 16 and 18 are left blank as these questions were not answered. I want to copy over the rows with data in Col F, but also the corresponding ID Number in Col A. Will also need to do the same for the new worksheet 3 Newssheet.

    Now paste these details into one of the other worksheets called Risks, the ID Number will go into Col B as the control and the text will go into col C, however it will need to find the next blank cells to populate these two data sets into as a number of risks may already be in there.

    Hope that makes sense

    Thanks for you time

    Andy
    Attached Files Attached Files
    Last edited by Andy6240; 07-26-2019 at 09:33 AM. Reason: Inclusion of workbook

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,254

    Re: When a cell in a selected row is not blank, copy to next blank row an another workshee

    Will you please attach a small sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: When a cell in a selected row is not blank, copy to next blank row an another workshee

    Welcome to the forum. Upload a sample: Go Advanced - Manage Attachments - Upload file
    Click the * to say thanks.

  4. #4
    Registered User
    Join Date
    12-03-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    4

    Re: When a cell in a selected row is not blank, copy to next blank row an another workshee

    uploaded and thank you

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,521

    Re: When a cell in a selected row is not blank, copy to next blank row an another workshee

    Please include some sample data on the "2 ID of Risks" sheet and manually show how you would like formulas to place that data on the "5 Risks" sheet and "3 Newsheet".
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. If a cell is not blank, copy the row to another worksheet
    By msemotorsports in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-19-2017, 02:03 PM
  2. Copy & Paste to worksheet if cell is not blank - loop
    By taxchick1969 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-17-2017, 12:24 PM
  3. Copy and paste from one worksheet to the first blank cell in another worksheet
    By Andrewstupendo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-27-2016, 03:25 PM
  4. copy output of cell with formula to another worksheet without blank
    By fnbissontbl in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-11-2015, 11:14 AM
  5. Copy valule from one column and then paste only blank cell to other worksheet
    By tantcu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-16-2013, 12:42 PM
  6. [SOLVED] If statement that copies text from a separate worksheet, or if blank, leaves cell blank.
    By barleycorn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-22-2012, 12:30 PM
  7. If cell is not blank, copy row to worksheet.
    By echo313 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-31-2011, 05:51 PM

Tags for this Thread

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