+ Reply to Thread
Results 1 to 8 of 8

Cells with #NA

  1. #1
    Registered User
    Join Date
    02-11-2009
    Location
    Lexington, SC
    MS-Off Ver
    Excel 2003
    Posts
    3

    Cells with #NA

    I am using the following formula to automatically fill in cells and have copied the formula to the entire column. The cells that I copied into return #NA. What can I add to this formula to cause the cells with no information to be blank.
    Hope this makes sense.

    =UPPER(VLOOKUP(A11,AGYNO!$A$1:$B$281,2))

    Thanks

  2. #2
    Forum Contributor
    Join Date
    04-21-2007
    Location
    Lima, Peru
    MS-Off Ver
    2000, 2007, 2010
    Posts
    674

    Re: Cells with #NA

    Hi

    Try the following

    Please Login or Register  to view this content.
    Regards

    Jeff

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

    Re: Cells with #NA

    Try

    =IF(ISERROR(UPPER(VLOOKUP(A11,AGYNO!$A$1:$B$281,2))),"",UPPER(VLOOKUP(A11,AGYNO!$A$1:$B$281,2))
    or use conditional formatting (See link)

    http://www.contextures.com/xlCondFormat03.html#Errors

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  4. #4
    Registered User
    Join Date
    02-11-2009
    Location
    Lexington, SC
    MS-Off Ver
    Excel 2003
    Posts
    3

    Thumbs up Re: Cells with #NA

    Thanks VBA Noob the ISERROR did the trick. I also tried the ISNA formula, but it brought back a FALSE statement.

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

    Re: Cells with #NA

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  6. #6
    Registered User
    Join Date
    05-11-2009
    Location
    Cape Town , South Africa
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Cells with #NA

    in one sheet i have a formula ='Funds Price Check'!Q30/100 . but if the cell it need to look at reads an NA i would like it to be zero. I've tried =if(isna(Funds Price Check'!Q30/100,0) but it doesn't work.
    Last edited by Liesl; 05-15-2009 at 03:43 AM. Reason: solved

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Cells with #NA

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  8. #8
    Registered User
    Join Date
    05-11-2009
    Location
    Cape Town , South Africa
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Cells with #NA

    Thanks so much! =IF(ISERROR(UPPER(VLOOKUP(A11,AGYNO!$A$1:$B$281,2))),"",UPPER(VLOOKUP(A11,AGYNO!$A$1:$B$281,2)) worked perfectly! thanks again!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1