+ Reply to Thread
Results 1 to 7 of 7

Macro to search same digit in J2

  1. #1
    Forum Contributor
    Join Date
    11-08-2017
    Location
    London
    MS-Off Ver
    Office 2007
    Posts
    122

    Macro to search same digit in J2

    Hi

    Need some help with a macro to do the following -I have 2 sheets namely sheet 1 and sheet 2.
    On sheet 1 J2 -O2 have variable data as it changes the whole time.I need a macro that will look at J2's value in the example its a 7 then go down in the column until it find the same value in the example 7 then go 1 line up and copy the range to sheet 2 J2 -as per example.Please note J2-O2 is variable data and changes constantly but J2 is the search value that must be searched going down -find the value then go one up and copy that data to sheet2

    Your help will be appreciated and rep given for assistance.
    Attached Files Attached Files
    Last edited by JohnGreen2; 01-21-2019 at 11:33 AM.

  2. #2
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: Macro to search same digit in J2

    no sample attached

  3. #3
    Forum Contributor
    Join Date
    11-08-2017
    Location
    London
    MS-Off Ver
    Office 2007
    Posts
    122

    Re: Macro to search same digit in J2

    Quote Originally Posted by nigelog View Post
    no sample attached
    Attached sorry

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,101

    Re: Macro to search same digit in J2

    How about
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    11-08-2017
    Location
    London
    MS-Off Ver
    Office 2007
    Posts
    122

    Re: Macro to search same digit in J2

    Quote Originally Posted by Fluff13 View Post
    How about
    Please Login or Register  to view this content.
    You aced it working perfectly thank you very much for this macro -rep given !!!!!!!!

  6. #6
    Forum Contributor
    Join Date
    11-08-2017
    Location
    London
    MS-Off Ver
    Office 2007
    Posts
    122

    Re: Macro to search same digit in J2

    Solved by Fluff13 thanks Fluff13

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,101

    Re: Macro to search same digit in J2

    You're welcome & thanks for the feedback

+ 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] Macro to convert WBS single digit numbers to double digit numbers
    By LeanAccountant in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 06-09-2018, 05:25 AM
  2. Macro to identify 3-digit and 4-digit numbers as valid dates
    By gojakie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-16-2015, 08:16 AM
  3. [SOLVED] LOTTERY FILTER#4, Find if 1 Digit Sum of 2 Digit or 3 Digit, Single Cell w/ dash
    By david gonzalez in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-08-2014, 12:57 AM
  4. [SOLVED] Search for 3 digit number in a four digit number
    By Jerry HKA in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 11-01-2012, 11:39 PM
  5. [SOLVED] macro to extract 9 digit numbers as well as alpha numberic 9 digit numbers from txt file
    By Raju Radhakrishnan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-13-2012, 10:15 AM
  6. Search for 3 digit number and its rumble combination
    By tjc0ol in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-06-2011, 09:16 AM
  7. Macro reads 3 digit #'s but not 4 digit #'s
    By PJenkins in forum Excel General
    Replies: 3
    Last Post: 03-17-2007, 12:49 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