Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

I need an updated excel 2007 formula

Avatar of wrt1mea
wrt1mea asked on
Microsoft OfficeMicrosoft ExcelMicrosoft Applications
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
Avatar of nutsch
Commented:
This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answers