+ Reply to Thread
Results 1 to 15 of 15

separate questions and answers of a test

  1. #1
    Registered User
    Join Date
    09-05-2012
    Location
    Türkiye
    MS-Off Ver
    Excel 2013
    Posts
    80

    separate questions and answers of a test

    I want to separate questions and choices of a test.little sample of file is
    http://studyenglishgrammar.net/test.xlsx

  2. #2
    Registered User
    Join Date
    09-05-2012
    Location
    Türkiye
    MS-Off Ver
    Excel 2013
    Posts
    80

    Re: separate questions and answers of a test

    Don Guillett in google group advice the formula below.but it did not work on my sheet.can anyone improve it.


    Please Login or Register  to view this content.
    Last edited by Cutter; 09-08-2012 at 05:53 AM. Reason: Added code tags

  3. #3
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: separate questions and answers of a test

    hi, zeroist, please check attachment, press Run button
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    09-05-2012
    Location
    Türkiye
    MS-Off Ver
    Excel 2013
    Posts
    80

    Re: separate questions and answers of a test

    great work.thank you very much. but what if we have 5 choices.
    can you again check the new file
    test_.xlsm

  5. #5
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: separate questions and answers of a test

    please check attachment
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    09-05-2012
    Location
    Türkiye
    MS-Off Ver
    Excel 2013
    Posts
    80

    Re: separate questions and answers of a test

    it has been working fine till that file.

    there has to be 10 rows for 10 question but there 11 rows

    10th row has an error

    test2.xlsm
    Last edited by zeroist; 09-07-2012 at 01:30 PM.

  7. #7
    Registered User
    Join Date
    09-05-2012
    Location
    Türkiye
    MS-Off Ver
    Excel 2013
    Posts
    80

    Re: separate questions and answers of a test

    and also for big files as

    test1.xlsx

  8. #8
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: separate questions and answers of a test

    please check attachment, it would be very hard to achieve error free result with that type of unpredictable database data though it can be minimized, I joined both files into one.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    09-05-2012
    Location
    Türkiye
    MS-Off Ver
    Excel 2013
    Posts
    80

    Re: separate questions and answers of a test

    for that file,questions are ok but choices gave error
    choices problem.xlsm



    Quote Originally Posted by watersev View Post
    please check attachment, it would be very hard to achieve error free result with that type of unpredictable database data though it can be minimized, I joined both files into one.

  10. #10
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: separate questions and answers of a test

    @ zeroist

    Welcome to the forum.

    Please notice that code tags have been added to your post(s). The forum rules require them so please keep that in mind and add them yourself whenever showing code in any of your future posts. To see instructions for applying them, click on the Forum Rules button at top of the page and read Rule #3.
    Thanks.

  11. #11
    Registered User
    Join Date
    09-05-2012
    Location
    Türkiye
    MS-Off Ver
    Excel 2013
    Posts
    80

    Re: separate questions and answers of a test

    Hi Cutter, I noticed it. I Will use code tags next time

  12. #12
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: separate questions and answers of a test

    please check attachment
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    09-05-2012
    Location
    Türkiye
    MS-Off Ver
    Excel 2013
    Posts
    80

    Re: separate questions and answers of a test

    within 100 questions only one question gave error.I attached that question
    one question.xlsm

  14. #14
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: separate questions and answers of a test

    that's where you will have to correct error manually I'm affraid

  15. #15
    Registered User
    Join Date
    09-05-2012
    Location
    Türkiye
    MS-Off Ver
    Excel 2013
    Posts
    80

    Re: separate questions and answers of a test

    dear watersev ,
    I will use this macro for a long time.I am afraid next time I will have more errors.so that I want to have a more developed macro.I want to have what excel can give me.if this is what excel exactly give me,that means this is end.but I belive excel can do more.
    Thank you very much who contribute this macro and more.

+ 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