+ Reply to Thread
Results 1 to 15 of 15

Extract unique values records across multiple sheets

  1. #1
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Extract unique values records across multiple sheets

    Hi guys

    Thanks for looking. I have attached a workbook where I have manually produced the desired output. This isn't very efficient and I thought that someone may already have something similar to what I need!

    In A2 of the Summary ws I would like to achieve a unique list of Party id's from Col A of the ws' "Paywall", "Leads Website" and "Newsletter".

    Some Party id's may appear in multiple ws' in which case I'd only like them to appear once in the "Summary" ws.

    Many thanks for looking

    Cheers
    Attached Files Attached Files
    Last edited by Blake 7; 03-10-2015 at 07:13 AM.
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Extract unique values records across multiple sheets

    Hi Blake 7,
    try
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Extract unique values records across multiple sheets

    Hi Nilem - спасибо. I'll try it now and post back спасибо once again!

  4. #4
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Extract unique values records across multiple sheets

    you're пожалуйста

  5. #5
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Extract unique values records across multiple sheets

    Он работал - спасибо за вашу помощь..

    That worked perfectly and in seconds. Many thanks for your time. Very kind of you.

  6. #6
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Extract unique values records across multiple sheets

    Hi Nilem, many thanks for responding to my pm and for your help.

    I have attached the WB with the question as it makes more sense there!
    Attached Files Attached Files

  7. #7
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Extract unique values records across multiple sheets

    Hi Darren,
    try
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Extract unique values records across multiple sheets

    Hi Nilem, sorry for the delay in responding... I have to go for another meeting now but in 10 mins i'll try it and post back to let you know how it went..


    Thank you so much for looking at this and for your pm. Most kind

  9. #9
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Extract unique values records across multiple sheets

    WOW! that is amazing!! you have saved me a lot of time! incredible!!! thank you so much

  10. #10
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: Extract unique values records across multiple sheets

    EDIT NOTE: Sunday 15.03.2013: Important corrections to Green Comment notes on “Match On Error Pair” Technique, base on learning’s in Thread: http://www.excelforum.com/excel-new-...err-clear.html


    Quote Originally Posted by Blake 7 View Post
    ......
    In A2 of the Summary ws I would like to achieve a unique list of Party id's from Col A of the ws' "Paywall", "Leads Website" and "Newsletter".

    ......
    Hi Blake 7,
    . I was attempting my “Beginner’s” solution to your problem as the Profi did his already
    . But as I find Threads where more than one solution is given extremely helpful in my Learning of VBA, I thought I would include it anyway. I guessed at the time that you actually wanted finally to produce a Summary Sheet and was working on just such a solution. Nilem’s final brilliant solution confirmed that. I expect I will be taking some time to understand his code. It is clearly a fast Profi Solution.

    . Here is my code, which appears to give the same results as Nilem’s

    Please Login or Register  to view this content.
    . Basically this code produces an additional Sheet with all data in it. It then makes a another Summary Sheet and copies only Once Rows to it from the Full Sheet with a specific party ID

    . Here is my File.
    https://app.box.com/s/7m4euu5er49h6gev70nb0whlqwee8hty
    But I am sure Nilem’s solution is the one to go with.

    Alan
    Attached Files Attached Files
    Last edited by Doc.AElstein; 03-15-2015 at 08:55 AM. Reason: corrections to Green Comment notes on “Match On Error Pair” Technique,
    '_- Google first, like this _ site:ExcelForum.com Gamut
    Use Code Tags: Highlight code; click on the # icon above,
    Post screenshots COPYABLE to a Spredsheet; NOT IMAGES PLEASE
    http://www.excelforum.com/the-water-...ml#post4109080
    https://app.box.com/s/gjpa8mk8ko4vkwcke3ig2w8z2wkfvrtv
    http://excelmatters.com/excel-forums/ ( Scrolll down to bottom )

  11. #11
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Extract unique values records across multiple sheets

    Hi Alan - your response is much appreciated, and by the sound of it you also achieved some satisfaction! i'm at home now and with the children so i dont have time to play with it! but at 9 am tomorrow i'll be giving it a whirl. Yes Nilem looks like a master of VBA but this takes time I guess!! I am far far behind you my friend!! All the best and i'll be in touch tomorrow!

  12. #12
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Extract unique values records across multiple sheets

    Hi Nilem, and thanks.

    My question is...!!

    If i wanted to add another ws to be included in the summary do i need to amend the code or just add a ws with the same column headings??

    I appreciate that you are busy and may not have the time/inclination to answer beings that you have already helped me so much but thought it worth asking!

    FYI I have uploaded the WB so you can see why i needed what I did! -- see cols H:L of ws Final ,,, this is what your code helped me to achieve! I can now see one one row. which products a customer has engaged with!!! now I will give engagement scores!!! yeyyy!

    Thanks to you!!
    Attached Files Attached Files

  13. #13
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Extract unique values records across multiple sheets

    Hi Blake 7,

    the structure of your file should be: worksheet "Summary" and the other sheets, all of which will be included in the "Summary" sheet. If it is suitable for you, then do not need to change the code.
    Otherwise, see the code in the attached file
    Attached Files Attached Files

  14. #14
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Extract unique values records across multiple sheets

    Perfect - this is just what i needed as I needed to add another sheet! excellent -- many thanks again.

  15. #15
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Extract unique values records across multiple sheets

    Hi N, I just added another sheet and it worked great. Thank you. Really nice of you to upload a file too containing the code with instructions. Really helpful!!!

+ 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. combining unique records with different column info from multiple sheets
    By BethaW in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-18-2015, 03:08 PM
  2. [SOLVED] Extract Unique Text Values based on Multiple Criteria
    By Kattenhove in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-26-2014, 07:59 AM
  3. Extract unique records from table
    By shawnvon in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-13-2014, 10:43 AM
  4. How to find unique records from multiple sheets
    By Mike Nelson in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-20-2013, 08:38 AM
  5. [SOLVED] Extract Unique Values from Multiple Lists
    By sskgintl in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-27-2013, 06:46 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