If isna vlookup

Dare

New Member
Joined
Mar 27, 2009
Messages
14
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.

Thanks in advance.

Ben
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
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.

Thanks in advance.

Ben

Care to post the formula you have?
 
Upvote 0
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 :eek:
 
Upvote 0
How about ?

=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)))
 
Upvote 0
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)))
 
Upvote 0
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 :eek:

Wouldn't

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

suffice?
 
Upvote 0

Forum statistics

Threads
1,214,812
Messages
6,121,699
Members
449,048
Latest member
81jamesacct

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