Sumifs

Memar

Board Regular
Joined
Sep 2, 2011
Messages
76
I have used a SUMIFS function in workbook A to look up a value from a different workbook (workbook B) based on a three criteria. The formula works perfectly as long as the other workbook (B) is opened. When I close workbook A and reopen it with out opening workbook B, I get a "VALUE" until I open workbook B. I don't want to open workbook B all the time I work on workbook A. Is there a way to use the SUMIFS and get a desired value with out opening workbook B? I have tried INDEX and MATCH before, but the spreadsheet is very slow to open up ( take a minute to calculating 8 processors). What is the best function to look up a value in a long range with out slowing the speed of calculating, opening and processing a workbook?

SUMIFS formula used-
SUMIFS(workbookB!L2:L30000, WorkbookB!A2:A30000,A4,WorkbookB!B2:B30000,C2,Workbook!D2:D30000,D2)

Thanks for your help and time!
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Try

=SUMPRODUCT(WorkbookB!L2:L30000,--(WorkbookB!A2:A30000=A4),--(WorkbookB!B2:B30000=C2),--(WorkbookB!D2:D30000=D2))
 
Upvote 0
Thank you for reply. I get only zero values by using this formula.

SUMPRODUCT(WorkbookB!L2:L30000,--(WorkbookB!A2:A30000=A4),--(WorkbookB!B2:B30000=C2),--(WorkbookB!D2:D30000=D2))
 
Upvote 0
The suggested formula has been tested to work.

If you post your actual SUMIFS (the formula in Post # 1 does not seem to be the actual one), some further tweaking might be done.

Happy New Year!
 
Upvote 0
Here is the exact formula. Thank you very much!

=SUMIFS('MMM.xlsx]Sheet1'!$K$2:$K$60000,'[MMM.xlsx]Sheet1'!$B$2:$B$60000,$A$3,'[MMM.xlsx]Sheet1'!$F$2:$F$60000,$B6,'[MMM.xlsx]Sheet1'!$A$2:$A$60000,E$4)

Happy New Year!!!
 
Upvote 0
Please try the following formula -- it's bee tested to work:

=SUMPRODUCT('[MMM.xlsx]Sheet1'!$K$2:$K$60000,--('[MMM.xlsx]Sheet1'!$B$2:$B$60000=$A$3),--('[MMM.xlsx]Sheet1'!$F$2:$F$60000=$B6),--('[MMM.xlsx]Sheet1'!$A$2:$A$60000=E$4))
 
Upvote 0

Forum statistics

Threads
1,224,747
Messages
6,180,719
Members
452,995
Latest member
isldboy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top