VLOOKUP PROBLEM

mrbeanyuk

Board Regular
Joined
Nov 30, 2005
Messages
213
Hi there.

I have a wee problem that I need resolving....

EXAMPLE

Cells A, B and C in row one have a figure in each using VLOOKUP. However, cell B has #N/A which is what I want - so no error with that.

The thing I need to resolve is in cell D I want it to add up A, B and C, but because one of the cells says #N/A it returns #N/A as the answer.

I want cell D to calculate A, B and C and if #N/A appears in any cell, ignore it.

Is this possible?

Thanks
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
just use an if statement with an ISNA check:

=IF(ISNA(A4),B4+C4,IF(ISNA(B4),A4+C4,IF(ISNA(C4),A4+B4,A4+B4+C4)))
 
Upvote 0

Forum statistics

Threads
1,215,561
Messages
6,125,538
Members
449,236
Latest member
Afua

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