#N/A help

coltheplumb

Well-known Member
Joined
Nov 27, 2010
Messages
731
Hi guys :) I have this vlookup formula in cell G90
=VLOOKUP(F90,$CX$13:$CY$16,2)*10
If there is nothing in cell F90 it shows a #N/A in cell G90 , is there anyway of doing something to get rid of the #N/A ??:confused:
All help appreciated:help:
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
Colin X
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hi guys :) I have this vlookup formula in cell G90
=VLOOKUP(F90,$CX$13:$CY$16,2)*10
If there is nothing in cell F90 it shows a #N/A in cell G90 , is there anyway of doing something to get rid of the #N/A ??:confused:
All help appreciated:help:
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
Colin X
One way...

=IF(F90="","",VLOOKUP(F90,$CX$13:$CY$16,2)*10)
 
Upvote 0
Hi guys :) I have this vlookup formula in cell G90
=VLOOKUP(F90,$CX$13:$CY$16,2)*10
If there is nothing in cell F90 it shows a #N/A in cell G90 , is there anyway of doing something to get rid of the #N/A ??:confused:
All help appreciated:help:
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
Colin X

The way you have set up the formula requires that $CX$13:$CY$16 is sorted on $CX$13:$CX$16 in ascending order.

If the sorting assumption is correct, the following would prevent #N/A as result:

=IF(F90 < MIN($CX$13:$CX$16), 0, VLOOKUP(F90,$CX$13:$CY$16,2,1)*10)

Otherwise, try:

On Excel 2007 or later...

=IFERROR(VLOOKUP(F90,$CX$13:$CY$16,2,0),0)*10

On all versions...

=IF(ISNUMBER(MATCH(F90,$CX$13:$CX$16,0)),VLOOKUP(F90,$CX$13:$CY$16,2,1)*10,0)

SumIf can be here appropriate...

=SUMIF($CX$13:$CX$16,F90,$CY$13:$CY$16)*10
 
Upvote 0

Forum statistics

Threads
1,224,585
Messages
6,179,703
Members
452,938
Latest member
babeneker

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