+ Reply to Thread
Results 1 to 3 of 3

return all distinct unique values to another sheet if it exists in the other worksheets.

  1. #1
    Registered User
    Join Date
    01-16-2013
    Location
    Canberra, Australia
    MS-Off Ver
    Excel 2007
    Posts
    2

    return all distinct unique values to another sheet if it exists in the other worksheets.

    I have a workbook with a number of worksheets that hold staff profile data including name, area, positiion number, Staff ID, employment type etc. One sheet per area. for example each of the following areas have a separate sheet which holds data on all their staff:
    head office
    hardware
    gardening
    haberdashery
    manchester

    what I want is another sheet in the same workbook to list all staff we have, so if a staff ID number exists in either of the two possible columns containing staff IDs in each of the other sheets then it should be listed on a separate sheet once only, even if it exists twice throughout the whole workbook. the possible columns in each sheet have the same header i.e. 'Sub ID' and 'Act ID'

    Each areas worksheet has picked up the staff ID numbers from another sheet within the same workbook using a forumula:

    Please Login or Register  to view this content.
    Thank you (first time poster, apologise if not clear).

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: return all distinct unique values to another sheet if it exists in the other worksheet

    Hi Kay and welcome to the forum

    perhaps it would be easier to help you if you uploaded a sample workbook, showing what data you are working with, a few examples of what your expected outcome would be, and how you would arrive at that (remove any confidential info if necessary).
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    01-16-2013
    Location
    Canberra, Australia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: return all distinct unique values to another sheet if it exists in the other worksheet

    This time with Attachment (Thank you FDibbins ) - please note I have modified heavily, there are many many more staff in the real one with more sheets as well.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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