Formula appears correct, result populated in cell is #N/A

tnobbs

New Member
Joined
Feb 26, 2021
Messages
1
Office Version
  1. 2013
Platform
  1. Windows
HELP I'm confused...Formula Result = AT327M80 which is what I expect to see, however the cell gets populated with #N/A
=IF(O13="XYZ",(INDEX(Networks!G$2:G$1062,MATCH(1,('Input Labor'!E13=Networks!A$2:A$1062)*('Input Labor'!Q13=Networks!H$2:H$1062),0))),(D13&B13&O13))
1614319916018.png
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
=IF(O13="XYZ",(INDEX(Networks!G$2:G$1062,MATCH(1,('Input Labor'!E13=Networks!A$2:A$1062)*('Input Labor'!Q13=Networks!H$2:H$1062),0))),(D13&B13&O13))

Did you array-enter the formula: press ctrl+shift+Enter instead of just Enter?

I suspect that the fx feature treats all formulas as array-entered formulas. (Confirmed.)

But the Excel calculation engine needs help to distinguish array expressions (intended to return an array of values) from implicit intersection expressions (intended to return a single value from an array).

Example:

Book1
ABCDEFG
1
2#N/Ac3d2f2
3c3d2f2
4
5
6
7
8
9
10
Sheet1


Select A2 and B2 or hover the cursor over each cell to see the formulas. They are the same formula. The formula in A2 was normally-entered; just pressed Enter. The curly-braces around the formula in B2 indicate that it was array-entered; pressed ctrl+shift+Enter.

BTW, it might improve readability if you remove unnecessary parentheses, highlighted in red in the quoted text above.
 
Upvote 0
Did you array-enter the formula: press ctrl+shift+Enter instead of just Enter?

To clarify, select only one cell and array-enter the formula.

If you want to populate a column with similar formulas, then copy the first cell and paste into the other cells below.

Do __not__ select a column of cells and array-enter the formula. That creates a multi-cell array formula, which is unnecessary and which causes complications for editing later.
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,390
Members
448,957
Latest member
Hat4Life

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