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
 

Some videos you may like

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201
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
 

jsam050274

New Member
Joined
Jul 17, 2008
Messages
2
Many Thanks,

I used the first option and all is fine.

Many Thanks again for the help,

Regards

John
 

Watch MrExcel Video

Forum statistics

Threads
1,123,158
Messages
5,600,054
Members
414,357
Latest member
Gemma_R

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
Top