+ Reply to Thread
Results 1 to 2 of 2

Copy lines from data to sheet based on cell value

  1. #1
    Forum Contributor
    Join Date
    02-12-2018
    Location
    Clearwater, FL
    MS-Off Ver
    MS 365
    Posts
    214

    Copy lines from data to sheet based on cell value

    I have a Sheet called "ART Control" where someone can add data to a table called ART_TRIAGE. I would like to have a table or list that will search through that table & if the value in A1 = the value in column K:K in my table, then copy that entire line over to that sheet starting at row 3. I have a macro that emails the entire sheet to the location & it clears the sheet. Basically I only want the lines in table to be for this month only which is column A in the table. I have attached my sheet for your reference. I greatly appreciate any help that you can provide!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    02-04-2009
    Location
    Texas
    MS-Off Ver
    Excel 2016
    Posts
    665

    Re: Copy lines from data to sheet based on cell value

    Vlookup($A1,Art_Triage!$K$3:$Z$200,2,False)
    you could use this - Adjust the range to math what is on Sheet Art_Triage paste it into you rows adjusting ,2, for the column you want
    If it does not find A1 it will return 0
    You can avoid the 0 by: if(countif(Art_Triage!$K$3:$K$200,$A1)>0,Vlookup($A1,Art_Triage!$K$3:$Z$200,2,False),"")

+ 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 copy the data into new sheet with cell based file name.
    By anwitha in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-30-2018, 01:40 AM
  2. Copy row data from one sheet to another based on cell input
    By sludeking in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-17-2018, 12:48 PM
  3. Exctract lines in sheet to another sheet based on text/names in cell
    By Generalist in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 01-12-2016, 08:32 AM
  4. [SOLVED] Copy paste data one to multiple sheet based on cell value to sheet name
    By kannan1847 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-15-2015, 12:54 AM
  5. [SOLVED] Macro to Copy Data from one Sheet A to Sheet B based on value in cell on sheet A
    By scass in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-11-2012, 07:21 PM
  6. How to copy data from a sheet based on a cell value?
    By Bill Williams in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-27-2011, 01:27 AM
  7. Copy Multiple lines of data by Part # to New sheet
    By dzap79 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-28-2009, 03:33 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