# Problem getting rid of N/A

#### thewiseguy

##### Well-known Member
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
the basic syntax to eliminate N/A is

Code:
``=IF(ISNA(originalformula),"",originalformula)``
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
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.

##### MrExcel MVP
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?

#### thewiseguy

a number.

##### MrExcel MVP
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))))``````

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.

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.

### Which adblocker are you using?

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

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