+ Reply to Thread
Results 1 to 5 of 5

Repost - Copying data to 'transfer page' with multiple matches

  1. #1
    Registered User
    Join Date
    03-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    31

    Repost - Copying data to 'transfer page' with multiple matches

    This thread was closed last night due to an incorrect error on the moderators behalf. This is a SEPARATE question to my other post, albeit, for the same excel spreadsheet.

    ***********************
    Hello,

    I'm in the process of compiling a Non Conformance Register in Excel that can be exported to Word for a report that can be generated for clients. I have already built this in Microsoft Access, but my limited knowledge of coding has broken the database, and the last three weeks that I've spent looking at it has been to no avail, so I am trying something new, and possibly easier - at least for the rest of my company to use.

    Now. I've got the worksheet linking the data to the transfer page properly - however, this only works if there is one line relative to the NCR. An NCR works like this:

    1 - NCR
    2 - Root Cause of NCR
    3 - Corrective Action of NCR (immediate correction)
    4 - Preventative Action of NCR (long term)

    Any NCR may have a number of root causes, or one root cause, but a number of corrective or preventative actions assigned to it, and/or accountable & responsible people to fix it.

    For this occassion only - If you look at NCR-0045 as my example (in the spreadsheet, 'Data'). I can easily bring back the first line, but I need to bring back ONLY the cells that are populated beneath it, and if empty - to leave blank.

    Again, I can work out how to obtain the first line of information, I just can't work out how to obtain the secondary, third or fourth lines that correspond to the initial NCR number.

    As this information is sensitive, all data available has been changed - so please excuse the ABC etc etc.

    Any help would be greatly appreciated!

    Pip

    NCR-CODING TEST.xlsm

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Repost - Copying data to 'transfer page' with multiple matches

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    03-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: Repost - Copying data to 'transfer page' with multiple matches

    No, not solved in the sense of the question/query itself. No one has been able to help me. What I've done is compile a pivot table which obviously extracts the data.
    That said, I have another query in which I am needing help to refresh/update the pivot table based upon the drop down on the Control Page.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,737

    Re: Repost - Copying data to 'transfer page' with multiple matches

    Put this formula in cell AN2 of the Data sheet:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and copy it down to the bottom of your data (or beyond).

    Then in the Transfer sheet you can have this formula in AN2:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Put this formula in A2 of the Transfer sheet:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    then copy it across into B2:AM2. You will need to set up the appropriate format for dates etc., and then you can copy all the formulae on row 2 down as far as you think you need them.

    Then you can just choose your NCR number in D7 of the Control sheet and the display on the Transfer sheet will automatically change.

    Hope this helps.

    Pete
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: Repost - Copying data to 'transfer page' with multiple matches

    Thanks Pete_UK!! Perfect!!

+ 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