How to get rid of NA results in array formulas

Arjen Bakker

New Member
Joined
Sep 27, 2017
Messages
19
Hello together,

is there a way to avoid "NA" results in array formulas ?
I know I could refer to the array formula in another cell but that's not very elegant.

Thanks so much.
Arjen
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
You could wrap your formula with IFERROR or IFNA depending on your version of Excel.

=INDEX(....)

becomes

=IFERROR(INDEX(....),"No match")

or

=IFERROR(INDEX(....),"")
 
Upvote 0
You could wrap your formula with IFERROR or IFNA depending on your version of Excel.

=INDEX(....)

becomes

=IFERROR(INDEX(....),"No match")

or

=IFERROR(INDEX(....),"")

Hi Eric,
Maybe I was not clear: [TABLE="width: 44"]
<colgroup><col width="58" style="width: 44pt; mso-width-source: userset; mso-width-alt: 2121;"> <tbody>[TR]
[TD="class: xl74, width: 58, bgcolor: transparent"] ={INDEX$A$2:$N$209;MATCH(1;($A$2:$A$209=O$1)*($B$2:$B$209=$N138);0);6)}

results in "NA"
cannot edit the formula without loosing
the brackets
unfortunately I can't say cheers at the moment.
I'll do that tomorrow
Thanks again ... Arjen
[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
The brackets are just an indicator that this is an array formula. Select the cell with the formula, and press F2. You should see the formula in the formula bar without the {}. Edit the formula as I specified (use a semicolon instead of a comma, since that's how you have your regional settings), then press Control+Shift+Enter when done. The {} will reappear around the whole formula.
 
Last edited:
Upvote 0
Hi Eric,
Maybe I was not clear: [TABLE="width: 44"]
<tbody>[TR]
[TD="class: xl74, width: 58, bgcolor: transparent"]={INDEX($A$2:$N$209;MATCH(1;($A$2:$A$209=O$1)*($B$2:$B$209=$N138);0);6)}

results in "NA"
cannot edit the formula without loosing
the brackets
unfortunately I can't say cheers at the moment.
I'll do that tomorrow
Thanks again ... Arjen

[/TD]
[/TR]
</tbody>[/TABLE]

Hi,

There's also a missing Bracket in your formula, or maybe it's just a typo in your posting. FYI
 
Upvote 0
The brackets are just an indicator that this is an array formula. Select the cell with the formula, and press F2. You should see the formula in the formula bar without the {}. Edit the formula as I specified (use a semicolon instead of a comma, since that's how you have your regional settings), then press Control+Shift+Enter when done. The {} will reappear around the whole formula.



great !

Thanks a lot
I' ll drink a beer on you tomorrow !
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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