Solved

I need to update the following formula

Posted on 2014-12-17
11
47 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
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 49

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
ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 
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 500 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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

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.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

809 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