Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 57
Default #n/a - how can I avoid and format it to number to include in sum

I am using vlookup but some results are #n/a. How can i avoid it so that my
sum formula will not show #n/a.

Thanks

Rechie
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 834
Default #n/a - how can I avoid and format it to number to include in sum

=IF(ISNA(vlookup_formula),"",vlookup_formula)

If you have Excel 2007

=IF(ISERROR(vlookup_formula),"")

--

HTH

Bob

"Rechie" wrote in message
...
I am using vlookup but some results are #n/a. How can i avoid it so that my
sum formula will not show #n/a.

Thanks

Rechie



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default #n/a - how can I avoid and format it to number to include in sum

"Wrap" your VLOOKUP() in an error trap for #N/A like this:

Your formula:
=VLOOKUP(A1,B1:E5,3,False)
to prevent display of #N/A
=IF(ISNA(VLOOKUP(A1,B1:E5,3,False)),"",VLOOKUP(A1, B1:E5,3,False))


"Rechie" wrote:

I am using vlookup but some results are #n/a. How can i avoid it so that my
sum formula will not show #n/a.

Thanks

Rechie

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 561
Default #n/a - how can I avoid and format it to number to include in sum

Assume your to be summed data is in range D1:D20.
In D21 try the following Array-Firmula:
{=SUM(IF(ISNA(D1:D20),0,D1:D20))}
*** NOTE:
The formula is to be confirmed with CTRL+SHIFT+ENTER rather than with simply
ENTER.
The curly brackets {} are not to be typed manually, those are entered by the
Excel, when the formula is entered as an Array formula.
Micky

והמשך/י, *א, לקרוא את השורה הבאה:
***********
אם תגובתי עזרה לחץ/י, *א, על <כן בפס האופקי התחתון!
***********
מיכאל אבידן
מ*הל פורום "אופיס" ב"תפוז"
[Microsoft" Most Valuable Professional [MVP"


"Rechie" wrote:

I am using vlookup but some results are #n/a. How can i avoid it so that my
sum formula will not show #n/a.

Thanks

Rechie

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 561
Default #n/a - how can I avoid and format it to number to include in s

It looks like: ISERROR but sounds like: IFERROR
Isn't it ?
Micky


"Bob Phillips" wrote:

=IF(ISNA(vlookup_formula),"",vlookup_formula)

If you have Excel 2007

=IF(ISERROR(vlookup_formula),"")

--

HTH

Bob

"Rechie" wrote in message
...
I am using vlookup but some results are #n/a. How can i avoid it so that my
sum formula will not show #n/a.

Thanks

Rechie



.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 834
Default #n/a - how can I avoid and format it to number to include in s

Yes that IS my ERROR

--

HTH

Bob

"????? (????) ?????" <micky-a*at*tapuz.co.il wrote in message
...
It looks like: ISERROR but sounds like: IFERROR
Isn't it ?
Micky


"Bob Phillips" wrote:

=IF(ISNA(vlookup_formula),"",vlookup_formula)

If you have Excel 2007

=IF(ISERROR(vlookup_formula),"")

--

HTH

Bob

"Rechie" wrote in message
...
I am using vlookup but some results are #n/a. How can i avoid it so that
my
sum formula will not show #n/a.

Thanks

Rechie



.



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default #n/a - how can I avoid and format it to number to include in sum

{=SUM(IF(ISNA(D1:D20),0,D1:D20))}

Another way to write that:

=SUMIF(D1:D20,"<1E100")

Or:

=SUMIF(D1:D20,"<#N/A")

--
Biff
Microsoft Excel MVP


"????? (????) ?????" <micky-a*at*tapuz.co.il wrote in message
...
Assume your to be summed data is in range D1:D20.
In D21 try the following Array-Firmula:
{=SUM(IF(ISNA(D1:D20),0,D1:D20))}
*** NOTE:
The formula is to be confirmed with CTRL+SHIFT+ENTER rather than with
simply
ENTER.
The curly brackets {} are not to be typed manually, those are entered by
the
"Excel", when the formula is entered as an Array formula.
Micky

?????/?, ??, ????? ?? ????? ????:
***********
?? ?????? ???? ???/?, ??, ?? <?? ??? ?????? ??????!
***********
????? ?????
???? ????? "?????" ?"????"
[Microsoft" Most Valuable Professional [MVP"


"Rechie" wrote:

I am using vlookup but some results are #n/a. How can i avoid it so that
my
sum formula will not show #n/a.

Thanks

Rechie



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel negative number format options don't include brackets. Why? Barrybloke Excel Discussion (Misc queries) 1 July 8th 07 08:40 PM
Avoid duplicate number entry when only start and stop numbers given. almk05 Excel Discussion (Misc queries) 1 March 26th 06 02:42 AM
avoid retype the number more than one time withen acolumn This no. already exist Excel Discussion (Misc queries) 1 April 4th 05 10:25 AM
Avoid user having to enter hours when using [mm]:ss format Lady_luck Excel Discussion (Misc queries) 3 January 4th 05 10:50 AM
Avoid user having to enter 00 hours when using [mm]:ss format Lady Luck Excel Discussion (Misc queries) 4 January 2nd 05 06:56 PM


All times are GMT +1. The time now is 04:01 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"