Solved

I need to update the following formula

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

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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

734 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