#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

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Richard Schollar

MrExcel MVP
Joined
Apr 19, 2005
Messages
23,707
=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
 

scobad

Board Regular
Joined
Feb 7, 2005
Messages
164
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?
 

crobertson

New Member
Joined
Nov 14, 2005
Messages
32
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!
 

Brian from Maui

MrExcel MVP
Joined
Feb 16, 2002
Messages
8,459

ADVERTISEMENT

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")
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
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.
 

scobad

Board Regular
Joined
Feb 7, 2005
Messages
164

ADVERTISEMENT

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?
 

scobad

Board Regular
Joined
Feb 7, 2005
Messages
164
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..
 

scobad

Board Regular
Joined
Feb 7, 2005
Messages
164
=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...
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,632
Messages
5,832,774
Members
430,167
Latest member
Gogogoben

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
Top