+ Reply to Thread
Results 1 to 2 of 2

If column A's value is within the range of Column B and C then copy column's D and E7s Va

  1. #1
    Registered User
    Join Date
    05-27-2019
    Location
    japan
    MS-Off Ver
    2013
    Posts
    0

    If column A's value is within the range of Column B and C then copy column's D and E7s Va

    in this project i have to check column's A value between Column B and Column C. If columnA's values>= Columns B value or Columns A value<= Columns C value then i need to copy column d and e values and need to put into sheet1 column G and H. Column A is in sheet1 and Column B, C, D and E in sheet2.

    I am sorry with my wordings i know its difficult to understand. If someone can help me with this i would be forever grateful. Thank you



    A-----B----------C-------------D ----------------------E

    1 1 9 Dog Naruto

    11 10 19 Cat one piece

    21 20 30 Duck lo


    i want the outcome like this

    A-----------G-------------------H
    1-----------Dog---------------Naruto
    11----------cat -------------One piece
    21----------duck-------------lo
    1------------Dog-------------Naruto
    31---------------------------
    2-----------Cat -------- -one piece




    i want to do this in vba
    Last edited by getsomex; 05-27-2019 at 03:16 AM. Reason: to udenderstand

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166
    Hello getsomex,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. [SOLVED] Button to Copy Column Range with ActiveCell position, Losing formatting after 3rd column
    By xlyfe in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-16-2018, 03:42 PM
  2. VBA Excel: Copy/Paste a column range to another sheet IF column headers match
    By hwatson86 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 06-07-2016, 08:05 AM
  3. loop through range to copy row if data exists in column, then delete the column
    By wpryan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-01-2015, 05:03 PM
  4. Need VBA to copy and paste a formula in a column based in a column range
    By nateg123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-05-2015, 06:43 AM
  5. [SOLVED] Copy and paste values in column range into first empty column to the left
    By gbatz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-15-2014, 06:59 PM
  6. [SOLVED] find bold number in Column A and copy range to column C
    By joek13 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-24-2012, 10:32 AM
  7. [SOLVED] copy a range with known start column to variable end column
    By Matilda in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-02-2006, 12:00 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