Problem getting rid of N/A

thewiseguy

Well-known Member
Joined
May 23, 2005
Messages
818
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

I can't figure out the configuration for the "IFNA" formula to rid this example of its "N/A" value. Can anyone help?

=(INDEX(FORMULA2!$I$58:$I$93,MATCH(AO5,IF(FORMULA2!$B$58:$B$93=AP5,FORMULA2!$A$58:$A$93),0)))
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
the basic syntax to eliminate N/A is

Code:
=IF(ISNA(originalformula),"",originalformula)
so for your example
Code:
=IF(ISNA((INDEX(FORMULA2!$I$58:$I$93,MATCH(AO5,IF(FORMULA2!$B$58:$B$93=AP5,FORMULA2!$A$58:$A$93),0)))),"",(INDEX(FORMULA2!$I$58:$I$93,MATCH(AO5,IF(FORMULA2!$B$58:$B$93=AP5,FORMULA2!$A$58:$A$93),0))))
 

thewiseguy

Well-known Member
Joined
May 23, 2005
Messages
818
Office Version
  1. 365
Platform
  1. Windows
thanks Jon. I think you helped me out on this last time. I must have tried it 20 times on the INDEX function to no avail. Hopefully I can get it now.
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
Hi everyone,

I can't figure out the configuration for the "IFNA" formula to rid this example of its "N/A" value. Can anyone help?

=(INDEX(FORMULA2!$I$58:$I$93,MATCH(AO5,IF(FORMULA2!$B$58:$B$93=AP5,FORMULA2!$A$58:$A$93),0)))

When successful, what does this formula return - a number or text?
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
a number.

Control+shift+enter...

Code:
=LOOKUP(9.99999999999999E+307,
     CHOOSE({1,2},
       0,
       INDEX(FORMULA2!$I$58:$I$93,
          MATCH(AO5,IF(FORMULA2!$B$58:$B$93=AP5,
                                 FORMULA2!$A$58:$A$93),0))))
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,673
Messages
5,838,707
Members
430,566
Latest member
ChanchalSingh

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
Top