#N/A - - Can someo help me get this fixed?

scobad

Board Regular
Joined
Feb 7, 2005
Messages
164
Formula: =VLOOKUP(E2:E9000,Taken10!$A2:$H$900,7,FALSE)

If it is #N/A

I would like it to return o (zero)

I am trying to sum ytd hours for a earning. and The N/A is messing me up
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
=IF(ISNA(VLOOKUP(E2,Taken10!$A2:$H$900,7,FALSE)),"",VLOOKUP(E2,Taken10!$A2:$H$900,7,FALSE))

Best regards

Richard

Edit: I noticed you were using a range (E2:E900) rather than a single cell, so I modified the Vlookup
 
Upvote 0
Almost

Now - it returns a BLANK?

When I sum that row, a few columns over - It returns #VALUE

That is whay I was thinking of puting a ZERO in there?
 
Upvote 0
Try this

=IF(ISNA(VLOOKUP(E2,Taken10!$A2:$H$900,7,FALSE)),"0",VLOOKUP(E2,Taken10!$A2:$H$900,7,FALSE))


Let me know if this helps!
 
Upvote 0
Re: Almost

scobad said:
Now - it returns a BLANK?

When I sum that row, a few columns over - It returns #VALUE

That is whay I was thinking of puting a ZERO in there?

To sum with #N/A in your range

=SUMIF(A1:A10,"<>#N/A")
 
Upvote 0
scobad said:
Formula: =VLOOKUP(E2:E9000,Taken10!$A2:$H$900,7,FALSE)

If it is #N/A

I would like it to return o (zero)

I am trying to sum ytd hours for a earning. and The N/A is messing me up

Keep the results of

=VLOOKUP(E2,Taken10!$A$2:$H$900,7,0)

as is if you can and invoke:

=SUMIF(Range,"<>#N/A")

for summing, a setup that is a lot cheaper.
 
Upvote 0
I like this - but...it does not return 0

=IF(ISNA(VLOOKUP(E2,Taken10!$A2:$H$900,7,FALSE)),"0",VLOOKUP(E2,Taken10!$A2:$H$900,7,FALSE))



I would like that cell to actual have a ZERO in it? then my sum across would work?
 
Upvote 0
As I copied this down - All the ones that had values are gone:

So - In Column N I would like to report a ZERO if is unfound
Than I can sum the ROW..
 
Upvote 0
=IF(ISNA(VLOOKUP(E2,Taken10!$A2:$H$900,7,FALSE)),"0",VLOOKUP(E2,Taken10!$A2:$H$900,7,FALSE))


That is what I am using....Not working...
 
Upvote 0

Forum statistics

Threads
1,214,724
Messages
6,121,152
Members
449,012
Latest member
LuBurt

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