+ Reply to Thread
Results 1 to 3 of 3

relate two worksheets automatically - question!

Hybrid View

  1. #1
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: relate two worksheets automatically - question!

    Hello,

    A Vlookup will help you with this.

    I created a dynamic range so you will never have to worry about how many rows of data you need.
    Formula: copy to clipboard
    Cod_2=OFFSET(Sheet2!$A$1,0,0,COUNTA(Sheet2!$A:$A),2)


    And then you use the VLOOKUP formula in Sheet 3
    Formula: copy to clipboard
    =IFERROR(VLOOKUP(A2,cod_2,2,FALSE),"No Data")


    I have attached a sample workbook to make it more clear.
    Attachment 263826

  2. #2
    Registered User
    Join Date
    09-08-2013
    Location
    BH, Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: relate two worksheets automatically - question!

    many thanks! it solved my 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. Relate a cell
    By fabdav in forum Excel General
    Replies: 2
    Last Post: 04-21-2011, 12:14 PM
  2. how does vba relate to vb.net?
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-22-2006, 11:30 PM
  3. [SOLVED] ADO; RELATE vs JOIN.
    By DaveO in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-13-2006, 08:15 AM
  4. How can I relate more than 7 cells with IF(...
    By pirat2104 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-30-2005, 10:40 AM
  5. Relate from one worksheet to another
    By in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-09-2005, 10:06 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