Remove #n/a from cell after vlookup

mbesspiata

Board Regular
Joined
Aug 28, 2009
Messages
100
I have a spreadsheet that workers can use a drop down in column a and by way of a vlookup function in columns b and c, it will place the unit of measure and cost per unit associated with the item entered in column A.
The problem I have is that I have copied my formulas down through 10 rows to allow for additional entries and if there is no entry, colums b and c give me the #N/A. The problem is that I have a total at the bottom which doesn't work with the #N/A in the b and c columns.
How can I get the total at the bottom to add the figures entered above while ignoring the #N/A?
9AA - Destruction of Routine, Non-Hazardous</SPAN> per ton </SPAN>$175.00</SPAN>
#N/A</SPAN>#N/A</SPAN>
#N/A</SPAN>#N/A</SPAN>
#N/A</SPAN>#N/A</SPAN>
#N/A</SPAN>#N/A</SPAN>

<TBODY>
</TBODY><COLGROUP><COL><COL><COL></COLGROUP>


thanks

Mike
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
You can also test for the existence of a value in the lookup cell:

=IF(A1,VLOOKUP(A1,...),0)

HTH,
 
Upvote 0

Forum statistics

Threads
1,214,895
Messages
6,122,128
Members
449,066
Latest member
Andyg666

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