+ Reply to Thread
Results 1 to 4 of 4

cross check names and return value from other sheet

  1. #1
    Registered User
    Join Date
    05-30-2008
    Posts
    14

    cross check names and return value from other sheet

    Hi again.

    Okay I have a complicated one. I have two sheets. On one I have a list of times on column a and corrisponding names on column b. The second sheet has the list of alphabetical names. I'd like the column beside it to check the name beside it and find that name in sheet one. Then it should return the value from that same row in column a.

    For example:
    Sheet 1 - cell C4 says '9am - 5pm'; beside it cell D4 says 'Peter'.
    Sheet 2 - cell A1 says 'Peter'; cell B1 finds that name in sheet 1 (D1) and checks that same row but column C - so it returns the value '9am - 5pm'.


    Is this possible.

    As always, thank you kindly.

    Florian
    Last edited by florischu; 10-04-2008 at 06:17 PM. Reason: example added

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Florian

    You can do this with functions.

    =INDEX(Sheet2!C:C,MATCH(Sheet1!A1,Sheet2!D:D,0))

    HTH

    rylo

  3. #3
    Registered User
    Join Date
    05-30-2008
    Posts
    14
    That does it, thank you.

    Except, the cell is only meant to look for the second occurance of each name. But if the name only appears once, the cell returns that value instead. I need it to return no value, or a TRUE/FALSE, #N/A or zero value instead if there is no second occurrence.

    Do-able?

  4. #4
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Got me confused. Can you attach an example file that shows your various scenarios, what should be returned for each of the scenarios, and an explanation on why that value was returned.

    rylo

+ 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. multipleSheets by week return how sheet names..
    By menor59 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-01-2008, 09:27 PM
  2. return worksheet names that do not meet criteria
    By kmfdm515 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-21-2008, 08:44 PM
  3. Copying Information to a new sheet if it meets a certain requirement
    By McBender in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-19-2007, 02:01 AM
  4. Replies: 3
    Last Post: 04-05-2007, 09:24 AM
  5. Replies: 2
    Last Post: 11-15-2006, 11:04 PM

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