N/A Error

jsam050274

New Member
Joined
Jul 17, 2008
Messages
2
Hi,

I have the following formula in a workbook. This pulls data from a small table into a larger table. I am getting N/A errors when the date is not showing in the small table so in theory there is nothing to pick up. Can someone help me to get rid of these, ideally return a "0".

=INDEX($C$62:$W$101,MATCH($A7,$A$62:$A$101,1),MATCH(C$6,$C$61:$W$61,0))


Kind Regards

John
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
On Excel 2007...
Code:
=IFERROR(
  INDEX($C$62:$W$101,MATCH($A7,$A$62:$A$101,1),
     MATCH(C$6,$C$61:$W$61,0)),0)

Otherwise:
Code:
=LOOKUP(9.99999999999999E+307,CHOOSE({1,2},
  0,
  INDEX($C$62:$W$101,MATCH($A7,$A$62:$A$101,1),
     MATCH(C$6,$C$61:$W$61,0))))


Hi,

I have the following formula in a workbook. This pulls data from a small table into a larger table. I am getting N/A errors when the date is not showing in the small table so in theory there is nothing to pick up. Can someone help me to get rid of these, ideally return a "0".

=INDEX($C$62:$W$101,MATCH($A7,$A$62:$A$101,1),MATCH(C$6,$C$61:$W$61,0))


Kind Regards

John
 
Upvote 0

Forum statistics

Threads
1,214,845
Messages
6,121,902
Members
449,053
Latest member
Guy Boot

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