+ Reply to Thread
Results 1 to 9 of 9

Having option buttons fill in data conditionally

  1. #1
    Registered User
    Join Date
    11-05-2010
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2010
    Posts
    47

    Having option buttons fill in data conditionally

    So I've developing an SSQ questionnaire for a piece of research I'm doing. When it's all done the participant will be able to enter in their data and in theory the choices selected using the option buttons should drop the data directly into the appropriate cell. Now theres 40 participant and each does a total of 8 SSQs, so the wait I'd like to set this up is on the first sheet "SSQ Data Entry", have the experimenter be able to enter the appropriate matching values in Session #, SSQ, and Particpant #, and then have the button option data fill in the corresponding area in either sheet 1 or sheet 2. Any idea how to enable this in a macro?

    I've provided an attachment with the excel file if anyone wants to look at it directly.

    Thank you.
    Attached Files Attached Files
    Last edited by cowboy713; 12-10-2010 at 06:06 PM.

  2. #2
    Registered User
    Join Date
    11-05-2010
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Having option buttons fill in data conditionally

    anyone who can help?

  3. #3
    Registered User
    Join Date
    11-05-2010
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Having option buttons fill in data conditionally

    I can set it up to fill in an area and then just transpose the values over the appropriate columns but can't figure out a way to set up and if statement correctly to insert the button responses based on the if statement.

    Also, anyone know how to change the values being generated by the buttons? I've tried switching between the form control and active X control and can't seem to figure this out, I need the buttons to generate 0,1,2,3 and they only want to generate 1,2,3,4. Tried to do a cell reference with a -1 to the sum of the cells and that was unsuccessful as well...

  4. #4
    Registered User
    Join Date
    11-05-2010
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Having option buttons fill in data conditionally

    morning bump

  5. #5
    Valued Forum Contributor
    Join Date
    02-04-2009
    Location
    Texas
    MS-Off Ver
    Excel 2016
    Posts
    667

    Re: Having option buttons fill in data conditionally

    Also, anyone know how to change the values being generated by the buttons?
    Use Radio Buttons - It will put a value in selected cell.

  6. #6
    Valued Forum Contributor
    Join Date
    02-04-2009
    Location
    Texas
    MS-Off Ver
    Excel 2016
    Posts
    667

    Re: Having option buttons fill in data conditionally

    Use Group Box to group the Radio Buttons - then you will get a value for each row.
    Then maybe a Command button on the Page Named Enter Values - with a macro assigned :
    If Session # is ""
    Else ...

  7. #7
    Registered User
    Join Date
    11-05-2010
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Having option buttons fill in data conditionally

    Aren't radio buttons named "Option Buttons" in excel?

  8. #8
    Registered User
    Join Date
    11-05-2010
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2010
    Posts
    47

    SOLVED Re: Having option buttons fill in data conditionally

    It was working a little goofy, used an index and a copied data row but its good now
    Last edited by cowboy713; 12-10-2010 at 06:02 PM. Reason: [SOLVED]

  9. #9
    Valued Forum Contributor
    Join Date
    02-04-2009
    Location
    Texas
    MS-Off Ver
    Excel 2016
    Posts
    667

    Re: Having option buttons fill in data conditionally

    How about add a column that is =Option Button results-1?

+ 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