+ Reply to Thread
Results 1 to 6 of 6

Formula to 'Not include' a value

  1. #1
    Registered User
    Join Date
    10-17-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    7

    Formula to 'Not include' a value

    Hi all,
    I am struggling with a formula which I'm sure is easy when you know! I have to update progress in a large spreadsheet each week (sample attached) and so I have put in a Variance column (E) to alert me of any progress change.
    Can someone please help me to exclude the #N/A in the Variance column?
    In the original spreadsheet, Column C has a vlookup to another tab to pull in the progress and Column D is a value only paste from the previous week's Activity % Complete (Column C).
    I have tried a nested IF statement based on the D column value "#N/A", but no success.
    Many thanks
    Last edited by AusVivienne; 11-19-2012 at 10:45 PM. Reason: Forgot to attach!

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,317

    Re: Formula to 'Not include' a value

    =IFERROR(VLOOKUP( .... ),"")


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Formula to 'Not include' a value

    not sure what you're formula looks like (like you said, no attachment lol), but try putting you're formula in an iferror() function...

    =iferror(you're-formula,"")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,317

    Re: Formula to 'Not include' a value

    Thanks for the rep.



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


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    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

  5. #5
    Registered User
    Join Date
    10-17-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Formula to 'Not include' a value

    Thanks for all your help, I got bogged down trying to edit my reply and attach the sample spreadsheet. All sorted now thanks to wonderful help. I like the shortcut via the Thread Tools - much better.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,317

    Re: Formula to 'Not include' a value

    You're welcome.

+ 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