+ Reply to Thread
Results 1 to 7 of 7

Copy data from 1 table to another if cell is filled

  1. #1
    Registered User
    Join Date
    06-17-2022
    Location
    Sydney, Australia
    MS-Off Ver
    365
    Posts
    28

    Copy data from 1 table to another if cell is filled

    Hi All,
    Im trying to get specific Row data from table 1 to table 2 IF column H on table 1 has been completed

    Please point me in the right direction
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Copy data from 1 table to another if cell is filled

    I3=COUNTIF($H$3:$H3,"<>"&"")*1

    B15=INDEX($A$2:$I$10,MATCH($A15,$I$2:$I$10,0),MATCH(B$14,$A$2:$J$2,0)) and drag across.

    See the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    06-17-2022
    Location
    Sydney, Australia
    MS-Off Ver
    365
    Posts
    28

    Re: Copy data from 1 table to another if cell is filled

    This is excellent.
    But is there a way to have the COUNTIF column skip a value of 0?

    Seems to be including a value of 0 and i dont want this?

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Copy data from 1 table to another if cell is filled

    Explain more.

    Since in your file there are no items with a zero, in table 2.

  5. #5
    Registered User
    Join Date
    06-17-2022
    Location
    Sydney, Australia
    MS-Off Ver
    365
    Posts
    28

    Re: Copy data from 1 table to another if cell is filled

    I changed the COUNTIF to reference the length column instead of the description

    With Table 2 - when i filter it to only show lengths with a value greater than 0 the item column is not uniform (1,2,3,4,5,6 etc)

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Copy data from 1 table to another if cell is filled

    I3 =if(or($d3="",$d3=0),"",countif($h$3:$h3,"<>"&"")*1)

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Copy data from 1 table to another if cell is filled

    The data is inconsistent. Why is ther PB04 in row 7, there is no other data in that row.

+ 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. Replies: 3
    Last Post: 11-26-2021, 07:10 AM
  2. Replies: 3
    Last Post: 08-07-2021, 03:42 PM
  3. [SOLVED] Copy cell above to blank cells below till last filled cell of other column
    By abhinavbinkar in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-31-2018, 05:59 AM
  4. Cell values to be filled down in horizontal table
    By Shamz41 in forum Excel General
    Replies: 2
    Last Post: 05-15-2017, 02:10 AM
  5. Replies: 6
    Last Post: 03-02-2017, 06:17 AM
  6. copy data when one cell is filled in
    By franlauwers in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-11-2015, 03:16 PM
  7. [SOLVED] Code to copy everything below a cell that is filled
    By russwongg in forum Excel General
    Replies: 2
    Last Post: 08-06-2015, 06:25 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