Index Match not following Order of Operations?

Jambi46n2

Active Member
Joined
May 24, 2016
Messages
260
Office Version
  1. 365
Platform
  1. Windows
Hello,

I have two formulas that calculate the exact same numbers, however I'm getting two different results.

First one is as follows:
Code:
=('CONBUD - SUBS'!AF7-'CONBUD - SUBS'!BV7)*('CONBUD 1'!BA9/'CONBUD - SUBS'!BH7)

Translates to:
=(5727010-5703134.04249506)*(63710728.16/5727010)

Answer:
[TABLE="width: 275"]
<tbody>[TR]
  [TD="class: xl67, width: 275"]265,611 [/TD]
[/TR]
</tbody>[/TABLE]

The above answer is correct.

Now when I apply the exact same problem with an Index match as follows:

Code:
=INDEX($C7:$ACQ7,0,MATCH(ACS2,$C$2:$ACQ$2,0))
-
INDEX($C7:$ACQ7,0,MATCH(ACT2,$C$2:$ACQ$2,0))
*
INDEX('CONBUD 1'!N9:EO9,0,MATCH('CONBUD - SUBS'!ACS2,'CONBUD 1'!N1:EO1,0))
/
INDEX($C7:$ACQ7,0,MATCH(ACS2,$C$2:$ACQ$2,0))

which translates to:

=5727010
-
5703134.04249506
*
63710728.16
/
5727010

Answer being:
[TABLE="width: 275"]
<tbody>[TR]
  [TD="class: xl69, width: 275"]                                                                  (57,718,108)[/TD]
[/TR]
</tbody>[/TABLE]

The above answer here is incorrect. Any ideas on why the exact same problem is providing different answers?

Thank you much in advance.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Hi,

PEMDAS, you're missing parentheses:

=(INDEX($C7:$ACQ7,0,MATCH(ACS2,$C$2:$ACQ$2,0))-INDEX($C7:$ACQ7,0,MATCH(ACT2,$C$2:$ACQ$2,0)))*(INDEX('CONBUD 1'!N9:EO9,0,MATCH('CONBUD - SUBS'!ACS2,'CONBUD 1'!N1:EO1,0))/INDEX($C7:$ACQ7,0,MATCH(ACS2,$C$2:$ACQ$2,0)))
 
Upvote 0
Thank you for the prompt response!

Through some trial and error I was also able to get the correct answer by using SUM with before INDEX like so:

=SUM(INDEX($C7:$ACQ7,0,MATCH(ACS2,$C$2:$ACQ$2,0))
-
INDEX($C7:$ACQ7,0,MATCH(ACT2,$C$2:$ACQ$2,0)))
*
SUM(INDEX('CONBUD 1'!N9:EO9,0,MATCH('CONBUD - SUBS'!ACS2,'CONBUD 1'!N1:EO1,0))
/
INDEX($C7:$ACQ7,0,MATCH(ACS2,$C$2:$ACQ$2,0)))

I appreciate you!
 
Upvote 0
You Don't Need the SUM function at all. You just need the Brackets like I show you in Post # 2.
Take Out the SUM but leave the brackets in.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top