+ Reply to Thread
Results 1 to 9 of 9

VBA uniques from multiple columns then manipulate data

  1. #1
    Registered User
    Join Date
    03-30-2016
    Location
    New York
    MS-Off Ver
    MS OFFICE 2013
    Posts
    14

    VBA uniques from multiple columns then manipulate data

    Hello folks,
    I am always glad to be here. I have learned so much from you guys.
    Today, I am bringing a project and I need a big help. FILE IS ATTACHED.

    I need an excel or vba macro to do this.

    Consolidate the list of items in columns (A, C, E…;Z) Always skip 1 column since Date column follows the securities
    Consolidate all securities in 1 column, removing duplicates.

    The big issue is that the security list change on daily basis, new addition, removal etc

    The result should be 1 columns for all securities and several columns for the dates and corresponding rates: 1 for all securities and the second for dates.

    Thanks million.
    Elf.
    Attached Files Attached Files

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: VBA uniques from multiple columns then manipulate data

    Hi elfina

    Welcome to the Forum!!!

    This Code in the attached appears to work for GOAL-1. CTRL + x will fire the Code.
    I'll have to think on GOAL-2.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    03-30-2016
    Location
    New York
    MS-Off Ver
    MS OFFICE 2013
    Posts
    14

    Re: VBA uniques from multiple columns then manipulate data

    jaslake

    Works like magic for Goal-1. Thank you so much.
    I was able to edit further to adapt to my needs.
    Thanks again,
    Elf

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: VBA uniques from multiple columns then manipulate data

    Hi Elf


    Glad it works for Goal-1. This concerns me a bit as I'm working on Goal-2...Goal-2 is dependent on Goal-1...what adaptations were required?

    I was able to edit further to adapt to my needs.

  5. #5
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: VBA uniques from multiple columns then manipulate data

    Hi Elf

    Code has been added in the attached to accommodate Goal-2.

    For the initial set up of Goal-2, run Goal_1 Code first...CTRL + x
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    03-30-2016
    Location
    New York
    MS-Off Ver
    MS OFFICE 2013
    Posts
    14

    Re: VBA uniques from multiple columns then manipulate data

    jaslake

    Not a big concern, its only formatting updates. it will not create any issues on current and/or further addition of coding.
    Thanks again,
    Elf

  7. #7
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: VBA uniques from multiple columns then manipulate data

    Hi Elf

    I don't know what this means...
    its only formatting updates. it will not create any issues on current and/or further addition of coding
    Please post an example so I can SEE what you're referring to. Include Code in the example so I can recreate the issue.

  8. #8
    Registered User
    Join Date
    03-30-2016
    Location
    New York
    MS-Off Ver
    MS OFFICE 2013
    Posts
    14

    Re: VBA uniques from multiple columns then manipulate data

    Jaslake - sorry for late reply, business trip.
    I meant to say I did some minor changes to your original code. The changes won't affect further addition. I was saying this in case you are building Gaol-2 from your original code.
    Thanks again,
    Elf.

  9. #9
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: VBA uniques from multiple columns then manipulate data

    Hi Elf

    As long as it works for you.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. [SOLVED] Match non-exact text and manipulate data to different rows and columns
    By ast58 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-19-2015, 08:42 PM
  2. Replies: 0
    Last Post: 11-12-2012, 03:09 PM
  3. Replies: 2
    Last Post: 05-08-2012, 07:17 PM
  4. Manipulate data between multiple worksheets
    By beacon in forum Excel General
    Replies: 3
    Last Post: 10-27-2007, 01:06 PM
  5. Replies: 20
    Last Post: 04-04-2007, 05:36 PM
  6. Count uniques, 2 columns
    By krozar in forum Excel General
    Replies: 4
    Last Post: 11-16-2006, 04:48 PM
  7. Counting Uniques - multiple criteria
    By Martin Just in forum Excel General
    Replies: 2
    Last Post: 01-12-2005, 07:06 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