Remove #N/A result from Index/Match/Count Formula

Valthanos

New Member
Joined
Apr 22, 2016
Messages
8
I have the below formula, which runs fine but shows #N/A in all cells after the series has ran. How do I remove the #N/A output? I have tried If/Than, If Error, Etc. but I get too many arguments error.

=(INDEX(glass2,MATCH(0,COUNTIF($D$6:D10,glass2&""),0)))

[TABLE="width: 495"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD] [/TD]
[TD]Glass Type[/TD]
[TD][/TD]
[TD]Total Sq/Ft[/TD]
[TD]Total Budget[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]3/4" clear tempered[/TD]
[TD] [/TD]
[TD]474.50[/TD]
[TD]$15,865.76[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]3/4 clear tempered - etched[/TD]
[TD] [/TD]
[TD]599.33[/TD]
[TD]$23,619.04[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]1/2" clear tempered[/TD]
[TD] [/TD]
[TD]392.00[/TD]
[TD]$7,297.90[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD="align: center"]#N/A[/TD]
[TD] [/TD]
[TD]#N/A[/TD]
[TD]#N/A[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD="align: center"]#N/A[/TD]
[TD] [/TD]
[TD]#N/A[/TD]
[TD]#N/A[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD="align: center"]#N/A[/TD]
[TD] [/TD]
[TD]#N/A[/TD]
[TD]#N/A[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
=IFERROR((INDEX(glass2,MATCH(0,COUNTIF($D$6:D10,glass2&""),0))),"")

basically

=IFERROR(<formula>,"")
 
Last edited:
Upvote 0
Try:

=IFERROR(INDEX(glass2,MATCH(0,COUNTIF($D$6:D10,glass2&""),0)),"")
 
Upvote 0

Forum statistics

Threads
1,223,270
Messages
6,171,102
Members
452,379
Latest member
IainTru

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