+ Reply to Thread
Results 1 to 5 of 5

formula for Sum Total of two different workbooks in excel

  1. #1
    Registered User
    Join Date
    04-06-2013
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    10

    formula for Sum Total of two different workbooks in excel

    We have two different workbooks (Master & Slave) both the workbooks have one unique column i.e ID. Slave workbook has duplicates ID along with Amount figure. We want to get the sum total of those duplicates ID's amount and single entry amount should also be reflected on our Master workbook amount column.
    eg

    Slave Workbook

    ID Amount
    766 800
    566 900
    766 1000
    675 200
    566 100

    Master Workbook

    ID Amount
    766
    566
    675

  2. #2
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111

    Re: formula for Sum Total of two different workbooks in excel

    G'day and welcome to the forum,

    Use the SUMIF formula

    Eg
    Please Login or Register  to view this content.
    'MasterWorkbook'!A1 = 766
    Last edited by ratcat; 04-06-2013 at 10:53 PM. Reason: Wrap code around the formula
    Have I made you happy ??? If yes, please make me happy by pressing the http://www.excelforum.com/images/buttons/reputation-40b.png Add Reputation button in my post.
    Please don't forget to do the same to other contributors of this forum.

    Thanks
    I don't void confusion, I create it

  3. #3
    Registered User
    Join Date
    04-06-2013
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: formula for Sum Total of two different workbooks in excel

    Oh! it actually worked. Thank u so much ratcat.

  4. #4
    Registered User
    Join Date
    04-06-2013
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: formula for Sum Total of two different workbooks in excel

    Actually the formula you gave works in worksheets but not in workbook which i realized later. Please provide me with workbook formula...... and if we try to put the formula in workbook it every time for each row it asks to select the workbook ie master & slave

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: formula for Sum Total of two different workbooks in excel

    Try with SUMPRODUCT, that works with closed workbooks..

    =SUMPRODUCT('SlaveWorkbook'!$A$1:$A$200='MasterWorkbook'!A1)*('SlaveWorkbook'!$B$1:$B$200))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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