ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   #n/a response while using the match/index? (https://www.excelbanter.com/excel-discussion-misc-queries/145286-n-response-while-using-match-index.html)

Greg B

#n/a response while using the match/index?
 
Good afternoon
I am trying to use a match index formula to pull up serial numbers. The
problem I am having is that if it doesn't find a match, it is providing an
#n/a error. This is of course affecting other formulas.

The formula is: =INDEX('Server Inv Refresh'!B10:B950,MATCH('Asset
Inventory Sheet'!AK10,'Server Inv Refresh'!O10:O950,FALSE))

Any help I would appreciate it.

Thank you





JE McGimpsey

#n/a response while using the match/index?
 
One way:

=if(ISNA(MATCH(...)), "", INDEX(...))

In article ,
Greg B <Greg wrote:

Good afternoon
I am trying to use a match index formula to pull up serial numbers. The
problem I am having is that if it doesn't find a match, it is providing an
#n/a error. This is of course affecting other formulas.

The formula is: =INDEX('Server Inv Refresh'!B10:B950,MATCH('Asset
Inventory Sheet'!AK10,'Server Inv Refresh'!O10:O950,FALSE))

Any help I would appreciate it.

Thank you


T. Valko

#n/a response while using the match/index?
 
What do you want returned when a match isn't found?

This will leave the cell blank:

=IF(ISNA(MATCH('Asset Inventory Sheet'!AK10,'Server Inv
Refresh'!O10:O950,0)),"",INDEX('Server Inv Refresh'!B10:B950,MATCH('Asset
Inventory Sheet'!AK10,'Server Inv Refresh'!O10:O950,0)))

Biff

"Greg B" <Greg wrote in message
...
Good afternoon
I am trying to use a match index formula to pull up serial numbers. The
problem I am having is that if it doesn't find a match, it is providing an
#n/a error. This is of course affecting other formulas.

The formula is: =INDEX('Server Inv Refresh'!B10:B950,MATCH('Asset
Inventory Sheet'!AK10,'Server Inv Refresh'!O10:O950,FALSE))

Any help I would appreciate it.

Thank you








All times are GMT +1. The time now is 10:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com