+ Reply to Thread
Results 1 to 4 of 4

VBA to provide a MATCH Function from different sheets

  1. #1
    Registered User
    Join Date
    04-26-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    18

    Post VBA to provide a MATCH Function from different sheets

    Hi all,

    I am currently facing a problem which I have had no luck in resolving on my own, so all help provided will be much appreciated.

    1) I need to match Sheet1 columns D-J cell contents (numerical values) to a column A in Sheet2

    2) If the values match I then need to replace the cell contents of the corresponding cell in Column B in Sheet2 with the value from Column C in Sheet1

    E.g. To aid understanding

    Sheet 1:
    Column C
    Catagory 1
    Catagory 2
    Catagory 3
    ect

    Columns D-J
    1.1
    1.3
    22.5
    10.6
    ect

    Sheet 2
    Column A
    1.1
    1.3
    10.6
    22.5
    ect

    Column B
    Catagory 1
    Catagory 2
    Catagory 3
    ect

    I have currently done something similar to provide custom conditinal formatting please see formula below for reference:
    =ISNA(MATCH(D2:J2,Sheet2!$A:$A,0)) - RED
    =MATCH(D2:J2,Sheet2!$A:$A,0)<>0 - GREEN

    Many Thanks,

    H

  2. #2
    Forum Contributor LokeshKumar's Avatar
    Join Date
    03-31-2015
    Location
    India
    MS-Off Ver
    All, mostly 2010 now..
    Posts
    471

    Re: VBA to provide a MATCH Function from different sheets

    can you upload the workbook?
    Lokesh Kumar
    Stay Hungry.. Stay Foolish..
    _________________________________________________________
    Please Click STAR to Add Reputation if my/someone's answer helped!

  3. #3
    Registered User
    Join Date
    04-26-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: VBA to provide a MATCH Function from different sheets

    Hi,

    Thanks for your reply,

    Please see attached for a example workbook....I ahd to delete some sensitive information so the column letetrs are now slightly different.

    let me know if you need further explanation of the problem.

    H
    Attached Files Attached Files
    Last edited by hemal89; 07-08-2015 at 09:39 AM.

  4. #4
    Forum Contributor LokeshKumar's Avatar
    Join Date
    03-31-2015
    Location
    India
    MS-Off Ver
    All, mostly 2010 now..
    Posts
    471

    Re: VBA to provide a MATCH Function from different sheets

    Hi
    Sorry for late reply.. use this:-
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Example Workbook1.xlsx

+ 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. Match values from 2 different worksheets provide sum
    By joshag in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-12-2014, 03:46 PM
  2. [SOLVED] Provide the value usning Index and Match formula
    By Vikas_k in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-17-2014, 09:34 AM
  3. Replies: 13
    Last Post: 07-05-2013, 07:01 AM
  4. Provide output of Multiple criteria match
    By mromano in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-31-2011, 11:40 PM
  5. Provide a match from 2 cells to give a result from another
    By leefarrell in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-09-2006, 08:34 AM

Tags for this Thread

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