Need Help With Nesting an IFNA Statement

CERipkenJr

New Member
Joined
May 22, 2017
Messages
9
Hi there, I have this formula currently, but want to nest an IFNA statement so that if there is an #N/A returned in the cell, that it displays a "-" instead:

=INDEX('Critical Dates Export'!$AB$2:$AB$99,MATCH(A6,'Critical Dates Export'!$L$2:$L$99,0))

I'm having difficulty with the syntax and where to put it. Any pointers are greatly appreciated. :)
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Try this.

=IFNA(INDEX('Critical Dates Export'!$AB$2:$AB$99,MATCH(A6,'Critical Dates Export'!$L$2:$L$99,0)), "-")
 
Upvote 0
One of three ways:

=IFERROR(INDEX('Critical Dates Export'!$AB$2:$AB$99,MATCH(A6,'Critical Dates Export'!$L$2:$L$99,0)),"-")

Or

=IF(INDEX('Critical Dates Export'!$AB$2:$AB$99,MATCH(A6,'Critical Dates Export'!$L$2:$L$99,0))="#N/A","-",INDEX('Critical Dates Export'!$AB$2:$AB$99,MATCH(A6,'Critical Dates Export'!$L$2:$L$99,0)))

Or

=IFNA(INDEX('Critical Dates Export'!$AB$2:$AB$99,MATCH(A6,'Critical Dates Export'!$L$2:$L$99,0)),"-") compliments of Norie xD
 
Last edited:
Upvote 0
Seriously? I post this and it's answered in 2 minutes. Y'all are freaking amazing. How is it that I got the index & match down, but this IFNA statement was putting a pretzel in my head - this was such an easy fix and I feel like a total dope. In any event THANK YOU.
 
Upvote 0

Forum statistics

Threads
1,214,981
Messages
6,122,566
Members
449,089
Latest member
Motoracer88

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