?
Solved

I need to update the following formula

Posted on 2014-12-17
11
Medium Priority
?
52 Views
Last Modified: 2015-01-08
I need to update the SUMIFS formula to a Sumproduct becuase users do not want to have to open the workbook for the data to update.

=SUMIFS('C:\SOFT\[MPA.xls]Activity'!$N$1:$N$25000,'C:\SOFT\[MPA.xls]Activity'!$D$1:$D$25000,TEXT($A2,"0"),'C:\SOFT\[MPA.xls]Activity'!$L$1:$L$25000,"10001")
0
Comment
Question by:wrt1mea
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
11 Comments
 
LVL 29

Expert Comment

by:leonstryker
ID: 40504851
I do not think that would solve your issue. Formulas will not update unless the source workbook is open as well.
0
 
LVL 1

Author Comment

by:wrt1mea
ID: 40504865
Sumproducts will, I use them all the time. SUMIFS require the workbook to be open.
0
 
LVL 52

Expert Comment

by:Rgonzo1971
ID: 40505025
Hi,


pls try

=SUMPRODUCT('C:\SOFT\[MPA.xls]Activity'!$N$1:$N$25000,('C:\SOFT\[MPA.xls]Activity'!$D$1:$D$25000=TEXT($A2,"0")),('C:\SOFT\[MPA.xls]Activity'!$L$1:$L$25000="10001"))

Regards
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:wrt1mea
ID: 40505207
RGONZO...

I tried your formula and it is returning zero for all my codes when I can gaurantee you there are is financial data there.

I have tried some other variations of the sumproduct formula and aren't getting any values to return.

The data sheet that I am searching is an export out of an Oracle database in .xls format. I am wondering if we need to convert the other areas in the sumproduct formula you provided into text, or try removing the one that is there now???
0
 
LVL 23

Accepted Solution

by:
Danny Child earned 2000 total points
ID: 40506925
Give this a spin...

=SUMPRODUCT(--('C:\Soft\[MPA.xls]Activity'!$D:$D=$A$2),--('C:\Soft\[MPA.xls]Activity'!$L:$L=10001),--('C:\Soft\[MPA.xls]Activity'!$N:$N))
0
 
LVL 23

Expert Comment

by:Danny Child
ID: 40506929
but my version doesn't include your TEXT function, which seems to break it a bit.

Is this essential?  any chance of some example sheets?
0
 
LVL 23

Expert Comment

by:Danny Child
ID: 40506942
but to go back to one of the initial points, the sumproduct WON'T update until you use Data tab.. Edit Links.. Update Values button.

is this acceptable to your users?
- will check on this later, but gotta go for now...
0
 
LVL 1

Author Comment

by:wrt1mea
ID: 40507040
DanCH99

When I try your formula it returns a #VALUE! error...

I am not sure if the TEXT Function is essential, but it referencing the same sheet of data on other reports, it is in my other formulas and they work great....not sure why I am having my butt kicked on this....

Using the update values button is acceptable...

Thank you for your help.

I am going to work on providing an example....
0
 
LVL 23

Expert Comment

by:Danny Child
ID: 40507373
it's still working for me.  I think perhaps SUMPRODUCT may not like a mixed data set (text, numbers, dates, etc...), but hard to say without some examples.
0
 
LVL 23

Expert Comment

by:Danny Child
ID: 40507378
sumproduct
0
 
LVL 1

Author Closing Comment

by:wrt1mea
ID: 40538931
Thanks!!!!!!!!!!!!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question