+ Reply to Thread
Results 1 to 4 of 4

Sum range accross files with index match

  1. #1
    Registered User
    Join Date
    03-07-2018
    Location
    Copenhagen
    MS-Off Ver
    Excel 2016
    Posts
    2

    Sum range accross files with index match

    Hello

    I need to sum a range of data depending on current month accross two files. Hence I cannot use sumif/sumproduct.

    In the attached picture I need a formula in cell B9 that sums row 4 from jan-17 to current month (cell B8) ((3+3+9) = 15)

    Note that my data i row 3 and 4 in my real problem is in another file, so i need to use index to prevent that I have to open the data document when i update my month in B8.
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,178

    Re: Sum range accross files with index match

    Try

    =SUMPRODUCT(([in1.xlsx]Sheet1!$B4:$M4)*([in1.xlsx]Sheet1!$B$3:$M$3<=B8))

    In1.xlsx is the source data

  3. #3
    Registered User
    Join Date
    03-07-2018
    Location
    Copenhagen
    MS-Off Ver
    Excel 2016
    Posts
    2

    Re: Sum range accross files with index match

    But sumproduct formulas doesn't work accross files?

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Sum range accross files with index match

    Quote Originally Posted by BjarkeSK View Post
    But sumproduct formulas doesn't work accross files?
    What makes you think that? SUMPRODUCT does indeed work on closed workbooks. INDEX does not.

+ 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] INDEX/MATCH using two files
    By Mr.rE in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 07-31-2017, 04:15 PM
  2. index-match between two huge files
    By is2_egypt in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-15-2016, 09:59 AM
  3. Index/Match accross multplie Sheets
    By pauldaddyadams in forum Excel General
    Replies: 2
    Last Post: 12-07-2015, 12:32 PM
  4. [SOLVED] Index Match accross two sheets with two crieteria searching in multiple columns
    By EmmatheDancer in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-09-2015, 11:56 AM
  5. Match Index accross two workbook with certain range of column
    By ahmsuza in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-03-2015, 12:42 AM
  6. [SOLVED] Index and match accross multiple sheets
    By pauldaddyadams in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 03-01-2013, 12:35 PM
  7. Index/Match from 2 sources of files
    By rickyilas in forum Excel General
    Replies: 1
    Last Post: 06-26-2012, 05:49 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