troubleshooting Question

I need an updated excel 2007 formula

Avatar of wrt1mea
wrt1mea asked on
Microsoft ExcelMicrosoft ApplicationsMicrosoft Office
8 Comments1 Solution235 ViewsLast Modified:
I am using the following formula:

=SUM(IFERROR(INDEX('[Report1.xls]Sheet1!$AX$14:$AX$1000,MATCH(B8,'[Report1.xls]Sheet1!$P$14:$P$1000,0)),0),(IFERROR(INDEX('[Report1.xls]Sheet2!$AX$14:$AX$1000,MATCH(B8,'[Report1.xls]Sheet2'!$P$14:$P$1000,0)),0)))

It works just like I need it to. However, the problem I am having on the production sheet is that since it references an accounting code and returns the percentage, there are some situations where that accounting code is used more than once and it returns a percentage value for the sum of the percentages. What would be a simple way to add to the formula IF the value returned is greater than 100% (or 1), it gets subtracted out?

For example: the above formula returns 188%. It should only be 88%

The above formula returns 200%. It should only be 100%
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros