+ Reply to Thread
Results 1 to 6 of 6

Collating data from a weird data entry form

  1. #1
    Registered User
    Join Date
    04-01-2019
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    3

    Collating data from a weird data entry form

    Hi Guys,
    I'm new here. I've seen the posts and am confident that I'll find my solution here.

    I've been tasked to translate data from user inputs into a table.

    The user inputs are fixed and cannot be changed (Because it will disrupt the users workflow)

    To ask.JPG

    The bigger green box is a drop-down lists. The Red boxes are user inputs. This data entry form is a way for us to track defect types from our raw materials.

    How it works
    Our guys would enter the material number and the batch number at the left-most red rectangle,
    then they would choose, from a drop-down list, the material type (Big green box) which would dictate the defect type that are available to them (small green box & also a drop)
    And then they would enter the quantity of defected raw material that share the same defect at the bottom (red rectangle)


    My task
    I need to break it down on another tab so that it looks like this:

    End Goal.JPG

    Its something along the lines of transposing, but not quite as its not a perfect array.

    I'm not sure of SUMPRODUCT would do the trick and my only experience with VBA is the record function...

    Any help would be greatly greatly appreciated!

  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,776

    Re: Collating data from a weird data entry form

    Looks like a VBA solution is required here. Should be relatively straightforward.


    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    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
    Registered User
    Join Date
    04-01-2019
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    3

    Re: Collating data from a weird data entry form

    Thanks a lot for offering to help! :D

    I've uploaded a desensitized file, it has macro in it already!


    Yeah, I figured that I will not be able to get around this issue without the use of Macros.
    Attached Files Attached Files

  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,776

    Re: Collating data from a weird data entry form

    OK, try this. Copy and paste into a standard module.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    04-01-2019
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    3

    Re: Collating data from a weird data entry form

    My gosh! It works!! thanks a million!!

    I will be slowly studying this VBA code....
    Last edited by Supervaluemeal; 04-08-2019 at 02:52 PM.

  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,776

    Re: Collating data from a weird data entry form

    You're welcome.



    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


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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. Replies: 3
    Last Post: 09-24-2013, 11:01 AM
  2. Need A data entry form to save the data in several work sheets
    By nilesh_urkude in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-01-2013, 12:25 AM
  3. Replies: 1
    Last Post: 11-13-2012, 02:06 PM
  4. Excel data entry form - how to make it respect data validation?
    By SueJB in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-08-2012, 02:32 AM
  5. User Form Data entry trying to check that Data is entered right
    By CityMPLSEmpolyee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-06-2012, 01:23 PM
  6. Replies: 17
    Last Post: 05-19-2009, 11:34 AM
  7. Replies: 1
    Last Post: 04-15-2009, 02:17 PM
  8. Data Entry Form (similar to default Excel Data>Form)
    By tonydm in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-11-2005, 02:59 PM

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