Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

I need to update the following formula

Posted on 2014-12-17
11
Medium Priority
?
53 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 53

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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

609 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