+ Reply to Thread
Results 1 to 2 of 2

Macro to compare columns and insert codes, according ranges

  1. #1
    Registered User
    Join Date
    03-16-2012
    Location
    Bulgaria
    MS-Off Ver
    Excel 2007
    Posts
    3

    Macro to compare columns and insert codes, according ranges

    Hello,

    I have two sheets. Sheet1 contains two columns B and C. Column B contains names of goods. Column C contains prices.
    Sheet 2 contains three columns. Column A contains the codes. Column B contains names of goods. Column C contains prices.
    I want to compare column B (sheet1) with column B (sheet2) and column C (sheet1) with column C (sheet2), as if the price in column C (sheet1) is in the range +- 10 of column C (sheet2). Then to insert codes in column A (sheet1), where it finds match with names and codes according to the range +-10. The codes in column A (sheet2) are different of the same names, so I want to compare not only the name, but and the price in column C in the range +-10.

    You can see the attached file.

    Thanks in advance!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    03-16-2012
    Location
    Bulgaria
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Macro to compare columns and insert codes, according ranges

    Any ideas?

+ 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. Compare two columns and insert codes, where it finds match with names
    By marina_lk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-07-2013, 08:44 PM
  2. Replies: 0
    Last Post: 06-14-2013, 01:36 PM
  3. [SOLVED] macro compare 2 ranges but insert row in one range..
    By feroguz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-27-2012, 02:19 PM
  4. How to compare two pair columns and insert value from another column
    By dareme in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-27-2010, 01:08 AM
  5. Replies: 2
    Last Post: 10-14-2005, 10: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