Maintaining order of operations with out parentheses

tobysdhc

Board Regular
Joined
Aug 11, 2015
Messages
56
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. Web
Hello all,

I am trying to use the IFERROR formula below

=IFERROR(C15+C16+C17)/C21,NA())

Excel is using the parentheses, for the order of operations, to close the IFERROR formula. Is there a way to maintain order of operations, without parentheses?

Thanks,
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
The number of right parentheses must match the number of left parentheses.
There is a set of parentheses for the IFERROR, and one for your SUM (since you want to add all the value before dividing). You are missing a right parend, i.e.
Code:
[COLOR=#333333]=IFERROR((C15+C16+C17)/C21,NA())[/COLOR]
You could likewise use:
Code:
[COLOR=#333333]=IFERROR(SUM(C15:C17)/C21,NA())[/COLOR]
or
Code:
[COLOR=#333333]=IF(C21=0,NA(),SUM(C15:C17)/C21)[/COLOR]

You really cannot get around it without using parentheses. But why is that really a concern?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,972
Messages
6,128,014
Members
449,414
Latest member
sameri

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