+ Reply to Thread
Results 1 to 4 of 4

compare two ranges

  1. #1
    Forum Contributor
    Join Date
    04-06-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    193

    compare two ranges

    I am attaching an excel file for solving the problem

    i need a macro

    first i want to check range E = range with H, if not match then exit from the macro else

    want to check B:C with E:F
    if a value in B not in E then that unit added in Range L under head Creation
    if a value in E and not in B then that unit added in range M under head Deletion

    location
    if B:C not equal to E:f (means location change) then it come to range N:O under the head Location Whse Description

    R1, R2, R3 are the total counts of L,M,N
    Attached Files Attached Files
    Last edited by anilg0001; 08-07-2013 at 02:50 AM. Reason: title change

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: required a small macro for comparison

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    Ben Van Johnson

  3. #3
    Forum Contributor
    Join Date
    04-06-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    193

    Re: compare two ranges

    SORY MR protonLeah
    i changed the title as per ur instruction

  4. #4
    Forum Contributor
    Join Date
    04-06-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    193

    Re: compare two ranges

    Can use vlookup in a macro to solve this problem

+ 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. Comparison for best results to complex for my small brain
    By gordon.worswick in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-04-2013, 05:59 AM
  2. [SOLVED] Macro modification required (very small)
    By nur2544 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-21-2012, 01:34 PM
  3. Replies: 1
    Last Post: 05-02-2012, 05:44 AM
  4. Text Comparison - Function Required
    By mushtaque_asghar in forum Excel General
    Replies: 1
    Last Post: 07-03-2009, 06:36 AM
  5. [SOLVED] SUMPRODUCT - small correction required
    By Madiya in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-10-2006, 06:55 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