# If isna vlookup

#### Dare

##### New Member
Hi All,

I need some help please. (I will get my head round excel one day)

I'm using a vlookup to find a number and then use another vlookup to find another number, and then add them up. So far so good.

My problem is when i get a N/A for a number. How do i get N/A to = zero and then add the number found.

Ben

### Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

##### MrExcel MVP
Hi All,

I need some help please. (I will get my head round excel one day)

I'm using a vlookup to find a number and then use another vlookup to find another number, and then add them up. So far so good.

My problem is when i get a N/A for a number. How do i get N/A to = zero and then add the number found.

Ben

Care to post the formula you have?

#### Dare

##### New Member
Sorry.

=VLOOKUP("W900999N Total",A12:E295,3,0)+VLOOKUP("W850225N Total",A12:E295,3,0)

If W900999N or W850225N is N/A i just want the number that is found.

Thanks

#### Swaroon

##### Active Member

=IF(ISERROR(VLOOKUP("W900999N Total",A12:E295,3,0)=TRUE),0,VLOOKUP("W900999N Total",A12:E295,3,0)+IF(ISERROR(+VLOOKUP("W850225N Total",A12:E295,3,0)=TRUE),0,VLOOKUP("W850225N Total",A12:E295,3,0)))

#### Swaroon

##### Active Member
Missed off a couple of brackets

=(IF(ISERROR(VLOOKUP("W900999N Total",A12:E295,3,0)=TRUE),0,VLOOKUP("W900999N Total",A12:E295,3,0)))+(+IF(ISERROR(+VLOOKUP("W850225N Total",A12:E295,3,0)=TRUE),0,VLOOKUP("W850225N Total",A12:E295,3,0)))

#### Dare

Thanks !!

Works great !

##### MrExcel MVP
Sorry.

=VLOOKUP("W900999N Total",A12:E295,3,0)+VLOOKUP("W850225N Total",A12:E295,3,0)

If W900999N or W850225N is N/A i just want the number that is found.

Thanks

Wouldn't

=SUM(SUMIF(\$A\$12:\$A\$295,{"W900999N Total","W850225N Total"},\$C\$12:\$C\$295))

suffice?

#### Dare

##### New Member
Yep that works to.

Thanks !

Replies
10
Views
316
Replies
3
Views
493
Replies
7
Views
335
Replies
8
Views
262
Replies
7
Views
410

1,195,702
Messages
6,011,200
Members
441,594
Latest member
AVO

### 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.

### Which adblocker are you using?

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

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