+ Reply to Thread
Results 1 to 2 of 2

criteria based data move data between spreadsheets using SUMIF

  1. #1
    Registered User
    Join Date
    08-25-2013
    Location
    Plano, TX
    MS-Off Ver
    Excel 2010
    Posts
    1

    criteria based data move data between spreadsheets using SUMIF

    example spreadsheet is attached.
    Data in col A and col b are concatenated in col AL in both MstrRollUp and data2 tab (done to create a more complex search criteria). What I am trying to do, and was able to do in older versions of Excel, is use SUMIF 'Range' and 'Criteria' arguements to find a match between spreadsheets and then use the 'SUM Range' arguement to move data between the two spreadsheets. In the attached example, based on positive search result, I want to move the contents of tab 'data2', col Z to tab 'MstrRollUp', col AC. I have attached a 10 row data sample. In reality, the data exists in two different workbooks of differing size and I wnat to move 5800 'hits' out of a 28000 row workbook.

    I have used SUMIF this way before. I found that SUMIF did not care if the data was alpha or numeric. If the receiving cell was empty the result of the 'SUM Range' arguement populated the receiving cell with the data found in relation to the positive match. In 2010 the receiving cell now contains, '0'.

    I am very coachable and proof beyond any doubt that you can teach an old dog new tricks.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: criteria based data move data between spreadsheets using SUMIF

    I think this is the formula you are looking for (in 1st tab cell AC2):

    =LOOKUP(AO2,data2!AL$2:AL$10,data2!Z$2:Z$10)


    Edit: I see now that this returns 2 errors, but I cannot figure out for the life of it where they are coming from...
    Last edited by L-Drr; 08-25-2013 at 02:49 PM.
    When I say semicolon, u say comma!

+ 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. Move data to specific worksheet based on Column A criteria.
    By forestminuet in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-07-2013, 01:44 PM
  2. Find Duplicates & Move Data Based on its criteria
    By ryanparrish1986 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-28-2013, 08:44 AM
  3. I need to move data from main worksheet into multiple worksheets based on a criteria
    By ksenia81 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2012, 05:45 PM
  4. [SOLVED] Move data from SHEET1 to SHEET2 based on Selected criteria...like an adv filter
    By gspivey79 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-03-2012, 02:06 PM
  5. Replies: 2
    Last Post: 03-23-2012, 02:52 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