+ Reply to Thread
Results 1 to 3 of 3

match / manipulate arrays then paste back onto sheet

  1. #1
    Forum Contributor
    Join Date
    07-13-2017
    Location
    Hong Kong
    MS-Off Ver
    MS Office 365
    Posts
    481

    match / manipulate arrays then paste back onto sheet

    Hi all,

    I am trying to consolidate unique data from 3 different excel files based on certain criteria (units bought > 0).

    To illustrate things better, I have mocked up a sample file with 3 Buy sheets that represent the 3 excel files. All of them have the same number of columns/ column names / range names etc., so there's 100% consistency. Now there's 3 people maintaining these three files and putting in the Materials they want to buy and the number of units per region as well as an "x" in the cluster section to indicate where the item should be send to.

    Now, Buyer 1 might buy Material XYZ but only for Japan and Buyer 2 also buys the exact same Material for Korea, hence the sheet "Total" should only paste the Material once and put the correct "x"s and units in each of the regions as found in these 3 files.

    Also, only columns in my range "PasteArea" should be filled with the data from the other files, every other column contains a formula and should be calculated automatically...

    Below code gives me exactly the output I need, but it is running incredibly slow as it does it cell by cell. I need someone's help to use jagged arrays or scripting dictionaries instead to manipulate the data first before pasting it back onto the sheet

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by esbencito; 03-13-2019 at 12:14 AM.

  2. #2
    Forum Contributor
    Join Date
    07-13-2017
    Location
    Hong Kong
    MS-Off Ver
    MS Office 365
    Posts
    481

    Re: match / manipulate arrays then paste back onto sheet

    Can anyone give me a starting point or tell me if this is even feasible?

  3. #3
    Forum Contributor
    Join Date
    07-13-2017
    Location
    Hong Kong
    MS-Off Ver
    MS Office 365
    Posts
    481

    Re: match / manipulate arrays then paste back onto sheet

    Are arrays the best method here? Any ideas?

+ 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. load data into array, check condition, and paste back into sheet
    By esbencito in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-18-2019, 06:46 AM
  2. Replies: 1
    Last Post: 10-06-2017, 05:02 PM
  3. Match cell value in wb1 with sheet in wb2, copy specific range back to wb1
    By Tona in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-19-2015, 06:40 AM
  4. [SOLVED] VBA to find data in Sheet 2 copy and paste back in Sheet 1
    By shiva_reshs in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-10-2014, 09:39 PM
  5. Paste Back to Filtered Sheet or Alternative?
    By coherent in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-25-2013, 08:35 AM
  6. [SOLVED] Read range into an array, work with it, then paste it back to a sheet.
    By wolis in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-18-2012, 10:07 AM
  7. Look in another sheet match & bring data back
    By gill389 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-31-2011, 01:56 PM

Tags for this Thread

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