+ Reply to Thread
Results 1 to 7 of 7

Copying Unique values from multiple sheets

  1. #1
    Forum Contributor
    Join Date
    11-02-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    353

    Copying Unique values from multiple sheets

    Hi all,
    I am trying to put together a report (huge report) and I'm working on it bit by bit.
    I will most likely be here asking for help for awhile, I hope you guys can accomodate me.
    Meantime here's what I want to do:

    I have Sheets, AAA, BBB, CCC, DDD and EEE
    Each sheets have identical structure (heading etc.).
    On my column I contains thousands of names, What I am hoping to do is to have a macro
    that will read each sheets (column I) and identify the unique values.
    These values should be copied and pasted at Sheet XXX starting from Cell B9 all the way down.

    Appreciate any help. Thanks so much.
    Last edited by Andrew.Trevayne; 02-11-2017 at 11:57 AM.

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Copying Unique values from multiple sheets

    Try this code
    Please Login or Register  to view this content.
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Copying Unique values from multiple sheets

    Search the forum for Scripting.Dictionary You'll get a lot of answers to your question.
    Otherwise post an example file with some dummy data to test.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  4. #4
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Copying Unique values from multiple sheets

    @ Yasser

    Slightly shorter version.

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    11-02-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    353

    Re: Copying Unique values from multiple sheets

    Quote Originally Posted by YasserKhalil View Post
    Try this code
    Please Login or Register  to view this content.
    You're a star!
    Unbelievable! Thank you so much for your help. ^^

  6. #6
    Forum Contributor
    Join Date
    11-02-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    353

    Re: Copying Unique values from multiple sheets

    Sorry I had to ask again, can these macro be modified so it will paste horizontally?
    Say I want the same data posted to Sheet XXX (B9) all the way to the right.

  7. #7
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Copying Unique values from multiple sheets

    Like this.

    Please Login or Register  to view this content.

+ 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. Pulling a list of unique values from multiple sheets
    By Azn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-21-2015, 02:50 PM
  2. [SOLVED] Extract unique values records across multiple sheets
    By Blake 7 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 03-12-2015, 08:57 AM
  3. [SOLVED] Needing to count unique values across multiple sheets
    By TheTubaGeek in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 06-10-2014, 09:50 AM
  4. Search unique values in multiple sheets
    By Luc Bosman in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-21-2014, 03:17 PM
  5. [SOLVED] Copying multiple unique values into one spreadsheet (Transposing the data)
    By Ardiko in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2013, 03:02 AM
  6. Replies: 8
    Last Post: 07-13-2012, 06:00 AM
  7. Unique values on multiple sheets
    By kadams99 in forum Excel General
    Replies: 5
    Last Post: 11-18-2011, 08:31 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