+ Reply to Thread
Results 1 to 15 of 15

Collating Information but exclude errors

  1. #1
    Registered User
    Join Date
    11-14-2011
    Location
    Bournemoth England
    MS-Off Ver
    Excel 2003
    Posts
    10

    Collating Information but exclude errors

    I to collate information, but some of the date is #N/A and this will change. I have sorted the Information so #N/A's appear at the bottom -

    Cooperation
    Curriculum Linked Activities
    Familiarisation
    Fun
    Personal Challenge
    Personal Development
    Personal State Management
    PSE
    Self Belief
    Skill Acquisition
    Support
    Training Course
    #N/A
    #N/A
    #N/A
    #N/A
    #N/A
    #N/A
    #N/A
    #N/A
    #N/A
    #N/A


    I can collate by &", "& - but i dont need the information of the #N/A - the Ammount of #N/A will vary - so figured using a countif - but its baffling me.

    Cheers in advance!

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Collating Information but exclude errors

    You get better help on your question, if you add a small excel file, without confidential information.

    Please also add, manualy, the expected result in you file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    11-14-2011
    Location
    Bournemoth England
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Collating Information but exclude errors

    So the end result I want is -

    Cooperation, Curriculum Linked Activities, Familiarization, Fun, Personal Challenge, Personal Development, Personal State Management, PSE, Self Belief, Skill Acquisition, Support, Training Course

    BUT...

    It needs to be depandant on the #N/A's as it could change too -

    Cooperation, Curriculum Linked Activities, Familiarization, Fun, Personal Challenge

    I can get it so the end result is - Cooperation, Curriculum Linked Activities, Familiarization, Fun, Personal Challenge, Personal Development, Personal State Management, PSE, Self Belief, Skill Acquisition, Support, Training Course, , , , , , ,

    But need to exclude these last commas.

    Hope that makes sense

  4. #4
    Registered User
    Join Date
    11-14-2011
    Location
    Bournemoth England
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Collating Information but exclude errors

    So sheet one is a matrix - that 1 Signifies it matches that point - Sheet 2 refers that to a Number to reflect the Lookup.

    Sheet 4 is where having the issue - (I have proberly gone the long way round it all)

    I have Sorted - I want to combine as mentioned above to give result such as -

    Cooperation, Curriculum Linked Activities, Familiarization, Fun, Personal Challenge, Personal Development, Personal State Management, PSE, Self Belief, Skill Acquisition, Support, Training Course

    Hope that abit more useful
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Collating Information but exclude errors

    Although I don't understand well enough the meaning of each sheet. I would give a shot with pivot table.

  6. #6
    Registered User
    Join Date
    11-14-2011
    Location
    Bournemoth England
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Collating Information but exclude errors

    I'll try an explain better -

    So the first sheet is the data entry - So can Put a '1' to say it matches that criteria e.g. Fun -

    The purpose of the worksheet is to collate this information.

    So on the last sheet it will have -

    Abseiling - Cooperation, Curriculum Linked Activities, Familiarization, Fun, Personal Challenge, Personal Development
    Climbing - Cooperation, Curriculum Linked Activities
    High Ropes - Cooperation, Curriculum Linked Activities, Familiarization, Fun, Personal Challenge

    I hope that makes abit more sense

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Collating Information but exclude errors

    What is the use of sheet2 ?

    Please add for the abseiling the results manualy in your file and post that file.

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,693

    Re: Collating Information but exclude errors

    =IF(ISNA(VLOOKUP(A2,Sheet3!A1:B22,2)),"",VLOOKUP(A2,Sheet3!A1:B22,2)) in Sheet4 ??

  9. #9
    Registered User
    Join Date
    11-14-2011
    Location
    Bournemoth England
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Collating Information but exclude errors

    Thanks for you help!


    Sheet one is the data entry

    Sheet 2 - converts that data entry to a numeric so that it can be used on a Vlookup to find the relevant info - e.g. Fun

    Sheet 3 is the source for the lookup

    Sheet 4 is vlookup is a "1" is on the data entry sheet.

    Sheet 5 is the results - (I have added some notes)

    I have added some notes on the workbook in read - should makes things clearer
    Attached Files Attached Files

  10. #10
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Collating Information but exclude errors

    See the attached file.

    The solution in on sheet 4.

    Allthough I suppose there will be a "nicer" way.

  11. #11
    Registered User
    Join Date
    11-14-2011
    Location
    Bournemoth England
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Collating Information but exclude errors

    Sweet Thank you just what I wanted! Just need to understand it now, so I can replicate it! Thanks for your help!

  12. #12
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Collating Information but exclude errors

    You're welcome. We appreciate the feedback!

    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

    Also thanks for the rep.

  13. #13
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Collating Information but exclude errors

    What you want to do is to concatenate the data excluding the #N/A errors.

    You can do this easily with a VBA function. Are you open to doing that?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  14. #14
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Collating Information but exclude errors

    @Tony

    I'm open to doing that.

    Kindly greetings.

    Oeldere

  15. #15
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Collating Information but exclude errors

    Copy the code at the link below and paste it into a general module:

    https://www.excelforum.com/showthread.php?p=3096647

    Then, assuming this is your data:

    Data Range
    A
    1
    2
    Cooperation
    3
    Curriculum Linked Activities
    4
    Familiarisation
    5
    Fun
    6
    Personal Challenge
    7
    Personal Development
    8
    Personal State Management
    9
    PSE
    10
    Self Belief
    11
    Skill Acquisition
    12
    Support
    13
    Training Course
    14
    #N/A
    15
    #N/A
    16
    #N/A
    17
    #N/A
    18
    #N/A
    19
    #N/A
    20
    #N/A
    21
    #N/A
    22
    #N/A
    23
    #N/A


    Enter this array formula** in C2:

    =concatall(IF(ISTEXT(A2:A23),A2:A23,""),", ")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Add EXCLUDE Option in table to Exclude from Solver
    By lbofbb in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-17-2015, 09:05 AM
  2. Replies: 8
    Last Post: 10-31-2014, 12:03 PM
  3. [SOLVED] dynamic named range drop-down list to exclude N/A errors
    By tlacloche in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-07-2014, 11:51 AM
  4. collating information
    By Back2Basics in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-04-2008, 01:46 PM
  5. Collating information in a different location
    By tom300181 in forum Excel General
    Replies: 3
    Last Post: 08-04-2005, 04:03 AM

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