Results 1 to 3 of 3

Help to copy value data if conditions are meet - This's new thread

Threaded View

  1. #1
    Forum Contributor
    Join Date
    10-29-2017
    Location
    US
    MS-Off Ver
    2013
    Posts
    142

    Help to copy value data if conditions are meet - This's new thread

    Hi all

    My workbook have 04 sheets("data_new, data_old, higher, lower).
    Now I want to have code to do that:
    with sheets("data_old")
     y =21 to lastcolumn
     r = 3 to lastrow
    End with
    
    with sheet(higher) or sheets(lower)
    x = 2 to lastrow
    if .cells(x,"B").value = sheets("data_old").cells(2, y) and .cells(x,"A").value = sheets("data_old").cells(r, "C") then
       .cells(x,"D").value = sheets("data_old").cells(r, y).value
    Please see with my workbook attachments file
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Copy and paste if cells meet certain conditions
    By dw_22801 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-23-2017, 06:00 PM
  2. If conditions meet, transfer data from sheet to another with its date
    By jamewoong in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-27-2015, 12:11 AM
  3. Copy rows that meet conditions from one sheet to another sheet
    By nilamani in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-27-2014, 05:00 PM
  4. Want to copy Data that meet criteria from one Datsheet to another
    By Brenton_Petersen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-20-2014, 07:35 AM
  5. Replies: 6
    Last Post: 09-03-2011, 09:59 PM
  6. Copy data if criteria meet in Col C
    By stevewilk in forum Excel General
    Replies: 3
    Last Post: 02-06-2009, 07:43 PM
  7. [SOLVED] counting cells in a data range that meet 3 specific conditions
    By bekah7 in forum Excel General
    Replies: 3
    Last Post: 10-01-2005, 02:05 AM

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