Show "-" instead of #N/A

sythong

Active Member
Joined
Jun 26, 2004
Messages
324
Hi I am back again

How to make the following show "-" instead of #N/A when that
cell AF81 does not contain an entry in the named range?



=INDEX(List1,MATCH(AF81,List2,),2)

Thanks for reading this post
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Aladin

Really sorry for being a bit muddled. Please explain what I really
need to do with

What do you get with:

=SUMPRODUCT(ISERROR(List1)+0)

and with:

=SUMPRODUCT(ISERROR(List2)+0)


Also... Does

=ROWS(List1)=ROWS(List2)

yield TRUE or FALSE?

There are no sumproducts in my worksheet
 
Upvote 0
Aladin

Really sorry for being a bit muddled. Please explain what I really
need to do with

What do you get with:

=SUMPRODUCT(ISERROR(List1)+0)

and with:

=SUMPRODUCT(ISERROR(List2)+0)


Also... Does

=ROWS(List1)=ROWS(List2)

yield TRUE or FALSE?

There are no sumproducts in my worksheet

I'm trying to diagnose your #REF! problem. I'm asking you to run the above formulas whose results we can use in diagnosing the problem you have?
 
Upvote 0
Aladin

Sorry for not fully understanding what was required of me.
Will follow and revert soonest.

Thanks
 
Upvote 0
So, most obvious explanations are ruled out...

What does

=MATCH(AF81,List2,0)

return?

Please use the look up value that ends up in the #REF! value in this test.

2 different results i.e. #N/A or 157.

Aladin I really admire your resilence for coming with so many
variables to test this problem.
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,741
Members
452,940
Latest member
rootytrip

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